|
From: | Manos Pitsidianakis |
Subject: | Re: [PATCH-for-9.0 21/25] hw/arm: Simplify memory_region_init_rom() calls |
Date: | Wed, 22 Nov 2023 09:43:44 +0200 |
User-agent: | meli 0.8.2 |
On Mon, 20 Nov 2023 23:32, Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
Mechanical change using the following coccinelle script: @@ expression mr, owner, arg3, arg4, errp; @@ - memory_region_init_rom(mr, owner, arg3, arg4, &errp); if ( - errp + !memory_region_init_rom(mr, owner, arg3, arg4, &errp) ) { ... return; } and removing the local Error variable. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> ---
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
[Prev in Thread] | Current Thread | [Next in Thread] |