|
| From: | Richard Henderson |
| Subject: | Re: [PATCH 6/7] hw: Simplify using sysbus_init_irqs() [automatic] |
| Date: | Wed, 31 May 2023 20:11:31 -0700 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
On 5/31/23 15:33, Philippe Mathieu-Daudé wrote:
Change created mechanically using the following coccinelle
semantic patch:
@@
expression array;
identifier i;
expression sbd, count;
@@
- for (i = 0; i < count; i++) {
- sysbus_init_irq(sbd, &array[i]);
- }
+ sysbus_init_irqs(sbd, array, count);
Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
---
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
| [Prev in Thread] | Current Thread | [Next in Thread] |