qemu/hw/ppc
Philippe Mathieu-Daudé 2198f5f0f2 hw: Simplify memory_region_init_ram() calls
Mechanical change using the following coccinelle script:

@@
expression mr, owner, arg3, arg4, errp;
@@
-   memory_region_init_ram(mr, owner, arg3, arg4, &errp);
    if (
-       errp
+       !memory_region_init_ram(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>
Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au> # aspeed
Reviewed-by: Gavin Shan <gshan@redhat.com>
Message-Id: <20231120213301.24349-21-philmd@linaro.org>
2024-01-05 16:20:15 +01:00
..
amigaone.c ppc/amigaone: Allow running AmigaOS without firmware image 2023-11-30 22:13:00 +10:00
e500-ccsr.h
e500.c hw: Simplify accesses to the CPUState::'start-powered-off' property 2024-01-05 16:20:15 +01:00
e500.h
e500plat.c
fdt.c
fw_cfg.c
Kconfig hw/ppc/Kconfig: Imply VFIO_PCI 2023-12-19 19:03:38 +01:00
mac_newworld.c
mac_oldworld.c
meson.build configure, meson: rename targetos to host_os 2023-12-31 09:11:29 +01:00
mpc8544_guts.c
mpc8544ds.c
pef.c migration: simplify blockers 2023-10-20 08:51:41 +02:00
pegasos2.c vt82c686 machines: Support machine-default audiodev with fallback 2023-10-03 10:29:40 +02:00
pnv_bmc.c
pnv_core.c
pnv_homer.c
pnv_i2c.c ppc/pnv: Fix PNV I2C invalid status after reset 2023-11-21 08:39:58 +01:00
pnv_lpc.c
pnv_occ.c
pnv_pnor.c
pnv_psi.c
pnv_sbe.c
pnv_xscom.c hw/ppc/pnv_xscom: Do not use SysBus API to map local MMIO region 2023-10-19 23:13:28 +02:00
pnv.c ppc/pnv: PNV I2C engines assigned incorrect XSCOM addresses 2023-11-21 08:39:58 +01:00
ppc4xx_devs.c
ppc4xx_pci.c hw/ppc: Constify VMState 2023-12-30 07:38:06 +11:00
ppc4xx_sdram.c
ppc405_boards.c
ppc405_uc.c
ppc405.h
ppc440_bamboo.c ppc/{bamboo, virtex_ml507}: Remove useless dependency on ppc405.h header 2023-10-21 15:00:22 +03:00
ppc440_pcix.c hw/pci: modify pci_setup_iommu() to set PCIIOMMUOps 2023-11-03 09:20:31 +01:00
ppc440_uc.c hw/ppc/ppc440_uc: Remove dead l2sram_update_mappings() 2023-10-21 15:00:22 +03:00
ppc440.h
ppc_booke.c
ppc.c hw/ppc: Constify VMState 2023-12-30 07:38:06 +11:00
ppce500_spin.c
prep_systemio.c hw/ppc: Constify VMState 2023-12-30 07:38:06 +11:00
prep.c
rs6000_mc.c hw: Simplify memory_region_init_ram() calls 2024-01-05 16:20:15 +01:00
sam460ex.c
spapr_caps.c hw/ppc: Constify VMState 2023-12-30 07:38:06 +11:00
spapr_cpu_core.c hw/ppc/spapr_cpu_core: Access QDev properties with proper API 2024-01-05 16:20:15 +01:00
spapr_drc.c hw/ppc: Constify VMState 2023-12-30 07:38:06 +11:00
spapr_events.c migration: simplify blockers 2023-10-20 08:51:41 +02:00
spapr_hcall.c hw/ppc/spapr_hcall: Remove unused 'exec/exec-all.h' included header 2023-12-20 10:29:23 +01:00
spapr_iommu.c hw/ppc: Constify VMState 2023-12-30 07:38:06 +11:00
spapr_irq.c
spapr_nested.c
spapr_numa.c
spapr_nvdimm.c hw/ppc: Constify VMState 2023-12-30 07:38:06 +11:00
spapr_ovec.c hw/ppc: Constify VMState 2023-12-30 07:38:06 +11:00
spapr_pci_vfio.c hw/ppc/Kconfig: Imply VFIO_PCI 2023-12-19 19:03:38 +01:00
spapr_pci.c hw/ppc: Constify VMState 2023-12-30 07:38:06 +11:00
spapr_rng.c
spapr_rtas_ddw.c
spapr_rtas.c ppc: qtest already exports qtest_rtas_call() 2023-11-07 15:49:41 -03:00
spapr_rtc.c hw/ppc: Constify VMState 2023-12-30 07:38:06 +11:00
spapr_softmmu.c
spapr_tpm_proxy.c
spapr_vio.c hw/ppc: Constify VMState 2023-12-30 07:38:06 +11:00
spapr_vof.c
spapr.c hw/ppc: Constify VMState 2023-12-30 07:38:06 +11:00
trace-events
trace.h
virtex_ml507.c ppc/{bamboo, virtex_ml507}: Remove useless dependency on ppc405.h header 2023-10-21 15:00:22 +03:00
vof.c