Re: [Qemu-devel] [PATCH v2] spapr: Fix compiler warnings for some versions of gcc

2013-07-02 Thread Alexander Graf
On 06/29/2013 03:47 PM, Stefan Weil wrote: 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 [-

Re: [Qemu-devel] [PATCH v2] spapr: Fix compiler warnings for some versions of gcc

2013-07-01 Thread Paolo Bonzini
Il 29/06/2013 15:47, Stefan Weil ha scritto: > 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

Re: [Qemu-devel] [PATCH v2] spapr: Fix compiler warnings for some versions of gcc

2013-06-29 Thread David Gibson
On Sat, Jun 29, 2013 at 03:47:26PM +0200, Stefan Weil wrote: > 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

[Qemu-devel] [PATCH v2] spapr: Fix compiler warnings for some versions of gcc

2013-06-29 Thread Stefan Weil
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