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 <arm...@redhat.com>
---
  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é <phi...@redhat.com>


Reply via email to