summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/sp_cmp.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki2015-04-04 00:24:35 +0200
committerRalf Baechle2015-04-08 01:08:58 +0200
commitb844bc781b7bb4fa49c0a26f998d9ba10ecc3742 (patch)
treecd1fcdd842a267d0173ab0caca84ac0136867ef0 /arch/mips/math-emu/sp_cmp.c
parentMIPS: Correct the comment for and reformat `movf_func' (diff)
downloadkernel-qcow2-linux-b844bc781b7bb4fa49c0a26f998d9ba10ecc3742.tar.gz
kernel-qcow2-linux-b844bc781b7bb4fa49c0a26f998d9ba10ecc3742.tar.xz
kernel-qcow2-linux-b844bc781b7bb4fa49c0a26f998d9ba10ecc3742.zip
MIPS: math-emu: Fix oversize lines in comparisons
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9676/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/sp_cmp.c')
-rw-r--r--arch/mips/math-emu/sp_cmp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/math-emu/sp_cmp.c b/arch/mips/math-emu/sp_cmp.c
index addbccb2f556..5caf088af0d7 100644
--- a/arch/mips/math-emu/sp_cmp.c
+++ b/arch/mips/math-emu/sp_cmp.c
@@ -36,7 +36,8 @@ int ieee754sp_cmp(union ieee754sp x, union ieee754sp y, int cmp, int sig)
ieee754_clearcx(); /* Even clear inexact flag here */
if (ieee754sp_isnan(x) || ieee754sp_isnan(y)) {
- if (sig || xc == IEEE754_CLASS_SNAN || yc == IEEE754_CLASS_SNAN)
+ if (sig ||
+ xc == IEEE754_CLASS_SNAN || yc == IEEE754_CLASS_SNAN)
ieee754_setcx(IEEE754_INVALID_OPERATION);
if (cmp & IEEE754_CUN)
return 1;