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é <phi...@linaro.org>
---
  hw/core/sysbus.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Nice.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>


r~

Reply via email to