mips/signal: In force_fcr31_sig return in the impossible case
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 8 Aug 2017 18:52:28 +0000 (13:52 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 17 Aug 2017 22:31:27 +0000 (17:31 -0500)
commit20229305afdc0e49b3af2204ab848d6bddcb9fc3
tree23414a4c94b65dd04740e4bf39dd16b593223162
parentcc731525f26af85a1c3537da41e0abd1d35e0bdb
mips/signal: In force_fcr31_sig return in the impossible case

In a recent discussion Maciej Rozycki reported that this case is
impossible.

Handle the impossible case by just returning instead of trying to
handle it.  This makes static analysis simpler as it means nothing
needs to consider the impossible case after the return statement.

As the code no longer has to deal with this case remove FPE_FIXME from
the mips siginfo.h

Cc: "Maciej W. Rozycki" <macro@imgtec.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Link: http://lkml.kernel.org/r/20170718140651.15973-4-ebiederm@xmission.com
Ref: ea1b75cf9138 ("signal/mips: Document a conflict with SI_USER with SIGFPE")
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
arch/mips/include/uapi/asm/siginfo.h
arch/mips/kernel/traps.c