Openwrt/target/linux
Jonas Gorski cf304f5a5e kernel: mips_disable_fpu: initialize fault_addr in fpu_emulator_cop1Handler
Code calling fpu_emulator_cop1Handler will pass on fault_addr, making gcc
complain about it not being initialized when the FPU emulator is disabled.

Fixes:

arch/mips/kernel/traps.c: In function 'do_fpe':
arch/mips/kernel/traps.c:864:22: error: 'fault_addr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  process_fpemu_return(sig, fault_addr, fcr31);
                      ^
arch/mips/kernel/traps.c: In function 'do_ri':
arch/mips/kernel/traps.c:806:22: error: 'fault_addr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  process_fpemu_return(sig, fault_addr, fcr31);
                      ^
arch/mips/kernel/traps.c:763:15: note: 'fault_addr' was declared here
  void __user *fault_addr;
               ^
arch/mips/kernel/traps.c: In function 'do_cpu':
arch/mips/kernel/traps.c:1421:28: error: 'fault_addr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   if (!process_fpemu_return(sig, fault_addr, fcr31) && !err)
                            ^
cc1: all warnings being treated as errors
make[7]: *** [arch/mips/kernel/traps.o] Error 1

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46184
2015-07-05 21:31:54 +00:00
..
adm5120
adm8668
ar7
ar71xx ar71xx: make 902-unaligned_access_hacks.patch apply again 2015-07-03 16:47:44 +00:00
arm64
at91 at91: add Device Tree based board detection 2015-07-04 01:25:15 +00:00
ath25
au1000
bcm53xx kernel: update 3.18 to 3.18.17 2015-06-30 23:26:09 +00:00
brcm47xx brcm47xx: add support for kernel 4.1 2015-07-03 23:18:33 +00:00
brcm63xx brcm63xx: use IRQCHIP_DECLARE instead of self-baked version 2015-07-05 21:31:52 +00:00
brcm2708 kernel: update 3.18 to 3.18.17 2015-06-30 23:26:09 +00:00
cns3xxx kernel: update 3.18 to 3.18.17 2015-06-30 23:26:09 +00:00
gemini
generic kernel: mips_disable_fpu: initialize fault_addr in fpu_emulator_cop1Handler 2015-07-05 21:31:54 +00:00
imx6
ipq806x
ixp4xx
kirkwood
lantiq kernel: update 3.18 to 3.18.17 2015-06-30 23:26:09 +00:00
malta
mcs814x
mpc85xx
mvebu
mxs
netlogic
octeon
omap
omap24xx
orion
oxnas kernel: update 4.0 to 4.0.7 2015-06-30 23:26:13 +00:00
ppc40x
ppc44x
pxa
ramips kernel: update 3.18 to 3.18.17 2015-06-30 23:26:09 +00:00
rb532
realview
sunxi
uml
x86
xburst
Makefile