qemu/hw/ppc
Stefan Weil 9a39970df7 spapr: Fix compiler warnings for some versions of gcc
i686-w64-mingw32-gcc (GCC) 4.6.3 from Debian wheezy reports these warnings:

hw/ppc/spapr_hcall.c:188:1: warning:
 control reaches end of non-void function [-Wreturn-type]

hw/ppc/spapr_pci.c:454:1: warning:
 control reaches end of non-void function [-Wreturn-type]

Both warnings are fixed by using g_assert_not_reached instead of assert.
A second line with assert(0) in spapr_pci.c which did not raise a compiler
warning was modified, too, because g_assert_not_reached documents the
purpose of that statement and is not removed in release builds.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
2013-07-11 18:51:23 +02:00
..
e500-ccsr.h ppc: do not use ../ in include files 2013-03-01 13:57:33 +01:00
e500.c QOM CPUState refactorings 2013-07-10 10:54:16 -05:00
e500.h PPC: e500: Select MPIC v4.2 on ppce500 platform 2013-01-25 22:02:56 +01:00
e500plat.c PPC: e500: advertise 4.2 MPIC only if KVM supports EPR 2013-04-26 23:02:40 +02:00
mac_newworld.c pci,misc enhancements 2013-07-08 08:00:23 -05:00
mac_oldworld.c pci,misc enhancements 2013-07-08 08:00:23 -05:00
mac.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
Makefile.objs hw: move NVRAM interfaces to hw/nvram/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
mpc8544_guts.c cpu: Replace cpu_single_env with CPUState current_cpu 2013-07-09 21:20:28 +02:00
mpc8544ds.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
ppc4xx_devs.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
ppc4xx_pci.c hw/p*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
ppc405_boards.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
ppc405_uc.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
ppc405.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
ppc440_bamboo.c pci: Add root bus parameter to pci_nic_init() 2013-07-07 23:10:57 +03:00
ppc_booke.c booke_ppc: limit booke timer to max when timeout overflow 2013-07-01 01:11:16 +02:00
ppc.c intc/openpic: Build openpic only once 2013-07-09 21:33:02 +02:00
ppce500_spin.c hw/p*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
prep.c cpu: Make first_cpu and next_cpu CPUState 2013-07-09 21:32:54 +02:00
spapr_events.c spapr-rtas: add CPU argument to RTAS calls 2013-07-01 01:11:16 +02:00
spapr_hcall.c spapr: Fix compiler warnings for some versions of gcc 2013-07-11 18:51:23 +02:00
spapr_iommu.c spapr_iommu: pass device to spapr_tce_new_table and use it to set owner 2013-07-04 17:42:47 +02:00
spapr_pci.c spapr: Fix compiler warnings for some versions of gcc 2013-07-11 18:51:23 +02:00
spapr_rtas.c spapr-rtas: add CPU argument to RTAS calls 2013-07-01 01:11:16 +02:00
spapr_vio.c spapr_iommu: pass device to spapr_tce_new_table and use it to set owner 2013-07-04 17:42:47 +02:00
spapr.c QOM CPUState refactorings 2013-07-10 10:54:16 -05:00
virtex_ml507.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
xics.c spapr-rtas: add CPU argument to RTAS calls 2013-07-01 01:11:16 +02:00