|
From: | Richard Henderson |
Subject: | Re: [PATCH 1/9] hw/sysbus: Use sizeof(BusState) in main_system_bus_create() |
Date: | Sun, 26 Jan 2025 13:42:42 -0800 |
User-agent: | Mozilla Thunderbird |
On 1/25/25 10:13, Philippe Mathieu-Daudé wrote:
Rather than using the obscure system_bus_info.instance_size, directly use sizeof(BusState). Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- hw/core/sysbus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Nice. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |