qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 37/55] sysbus: Drop useless OBJECT() in sysbus_init_child_obj


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 37/55] sysbus: Drop useless OBJECT() in sysbus_init_child_obj() calls
Date: Wed, 20 May 2020 14:02:08 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 5/19/20 4:55 PM, Markus Armbruster wrote:
OBJECT(child) expands to ((Object *)(child)).  sysbus_init_child_obj()
parameter @child is void *.  Pass child instead of OBJECT(child).

Signed-off-by: Markus Armbruster <address@hidden>
---
  hw/arm/allwinner-a10.c  |  4 ++--
  hw/arm/aspeed_ast2600.c | 40 +++++++++++++++++-----------------------
  hw/arm/aspeed_soc.c     | 35 +++++++++++++++--------------------
  hw/arm/nrf51_soc.c      |  2 +-
  hw/mips/boston.c        |  4 ++--
  hw/mips/mips_malta.c    |  2 +-
  6 files changed, 38 insertions(+), 49 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]