diff options
author | Guenter Roeck <linux@roeck-us.net> | 2018-05-15 06:50:47 -0700 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-05-16 19:21:41 -0500 |
commit | 0bb0a1149e6fb6d8cfdcbcb2dc54d9a7b37db718 (patch) | |
tree | ea2d6144aea670a579300f70a5925396eab1c560 /arch/powerpc/include/asm/kvm_book3s.h | |
parent | 530621b79f9e884db5ae4fa44cab020da76b0d0c (diff) |
signal/mips: Report FPE_FLTUNK for undiagnosed floating point exceptions
Most mips builds fail with
arch/mips/kernel/traps.c: In function ‘force_fcr31_sig’:
arch/mips/kernel/traps.c:732:2: error:
‘si_code’ may be used uninitialized in this function
Fix the problem by initializing si_code with FPE_FLTUNK (undiagnosed
floating point exception).
Fixes: f43a54a0d916 ("signal/mips: Use force_sig_fault where appropriate")
Cc: linux-mips@linux-mips.org
Cc: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_book3s.h')
0 files changed, 0 insertions, 0 deletions