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
..
2015-04-11 10:28:06 +00:00
2015-05-28 13:45:33 +00:00
2015-05-27 14:57:38 +00:00
2015-03-13 03:02:34 +00:00
2015-06-30 23:26:09 +00:00
2015-06-30 23:26:09 +00:00
2015-06-30 23:26:09 +00:00
2015-05-29 11:28:33 +00:00
2015-05-21 19:32:46 +00:00
2015-06-19 11:12:43 +00:00
2015-06-30 23:26:09 +00:00
2015-05-21 19:32:46 +00:00
2015-06-17 09:54:55 +00:00
2015-06-17 09:54:55 +00:00
2015-05-29 11:28:20 +00:00
2015-05-27 15:34:30 +00:00
2015-04-28 13:31:08 +00:00
2015-06-30 23:26:13 +00:00
2015-04-12 20:48:13 +00:00
2015-06-30 23:26:09 +00:00
2015-05-21 19:32:46 +00:00
2015-03-28 13:20:52 +00:00
2015-05-28 12:25:45 +00:00