android_kernel_oneplus_msm8998/arch/mips/math-emu
Aleksandar Markovic fcc1a32d69 FROMLIST: MIPS: math-emu: Mark fall throughs in switch statements with a comment
Mark intentional fall throughs in switch statements with a consistent
comment.

In most of the cases, a new comment line containing text "fall through"
is inserted. In some of the cases, existing comment contained a variation
of the text "fall through" (for example, "FALL THROUGH" or "drop through").
In such cases, the existing comment is modified to contain "fall through".
Lastly, in two cases, code segments were described in comments as "fall
througs", but were in reality "breaks out" of switch statement. In such
cases, existing comments are accordingly modified.

Apart from making code easier to follow and debug, this change enables
some static code analysers to interpret newly inserted comments as their
annotations (and, therefore, not issue warnings of type "fall through in
switch statement", which is desireable, since marked fallthroughs are
intentional).

Signed-off-by: Aleksandar Markovic <aleksandar.markovic@mips.com>
(cherry picked from: https://patchwork.linux-mips.org/patch/17588/)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-02-05 08:58:37 -08:00
..
cp1emu.c FROMLIST: MIPS: math-emu: Mark fall throughs in switch statements with a comment 2018-02-05 08:58:37 -08:00
dp_2008class.c MIPS: math-emu: Add support for the MIPS R6 CLASS FPU instruction 2015-09-03 12:08:14 +02:00
dp_add.c FROMLIST: MIPS: math-emu: Mark fall throughs in switch statements with a comment 2018-02-05 08:58:37 -08:00
dp_cmp.c MIPS: math-emu: Remove redundant code from NaN comparison 2015-04-08 01:09:38 +02:00
dp_div.c FROMLIST: MIPS: math-emu: Mark fall throughs in switch statements with a comment 2018-02-05 08:58:37 -08:00
dp_fint.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_flong.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_fmax.c FROMLIST: MIPS: math-emu: Mark fall throughs in switch statements with a comment 2018-02-05 08:58:37 -08:00
dp_fmin.c FROMLIST: MIPS: math-emu: Mark fall throughs in switch statements with a comment 2018-02-05 08:58:37 -08:00
dp_fsp.c MIPS: math-emu: Reinstate sNaN quieting handlers 2015-04-08 01:09:31 +02:00
dp_maddf.c FROMLIST: MIPS: math-emu: Mark fall throughs in switch statements with a comment 2018-02-05 08:58:37 -08:00
dp_mul.c FROMLIST: MIPS: math-emu: Mark fall throughs in switch statements with a comment 2018-02-05 08:58:37 -08:00
dp_rint.c BACKPORT: MIPS: math-emu: RINT.<D|S>: Fix several problems by reimplementation 2018-02-05 08:58:33 -08:00
dp_simple.c UPSTREAM: MIPS: math-emu: Add IEEE Std 754-2008 ABS.fmt and NEG.fmt emulation 2018-02-05 08:58:30 -08:00
dp_sqrt.c FROMLIST: MIPS: math-emu: Mark fall throughs in switch statements with a comment 2018-02-05 08:58:37 -08:00
dp_sub.c FROMLIST: MIPS: math-emu: Mark fall throughs in switch statements with a comment 2018-02-05 08:58:37 -08:00
dp_tint.c UPSTREAM: MIPS: math-emu: Add IEEE Std 754-2008 NaN encoding emulation 2018-02-05 08:58:30 -08:00
dp_tlong.c UPSTREAM: MIPS: math-emu: Add IEEE Std 754-2008 NaN encoding emulation 2018-02-05 08:58:30 -08:00
dsemul.c UPSTREAM: MIPS: Fix delay slot emulation count in debugfs 2018-02-05 08:58:29 -08:00
ieee754.c UPSTREAM: MIPS: math-emu: Add IEEE Std 754-2008 NaN encoding emulation 2018-02-05 08:58:30 -08:00
ieee754.h UPSTREAM: MIPS: math-emu: Use preferred flavor of unsigned integer declarations 2018-02-05 08:58:34 -08:00
ieee754d.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
ieee754dp.c UPSTREAM: MIPS: math-emu: Always propagate sNaN payload in quieting 2018-02-05 08:58:30 -08:00
ieee754dp.h FROMLIST: MIPS: math-emu: Avoid definition duplication for macro DPXMULT() 2018-02-05 08:58:37 -08:00
ieee754int.h UPSTREAM: MIPS: math-emu: Use preferred flavor of unsigned integer declarations 2018-02-05 08:58:34 -08:00
ieee754sp.c UPSTREAM: MIPS: math-emu: Use preferred flavor of unsigned integer declarations 2018-02-05 08:58:34 -08:00
ieee754sp.h UPSTREAM: MIPS: math-emu: Use preferred flavor of unsigned integer declarations 2018-02-05 08:58:34 -08:00
Makefile BACKPORT: MIPS: math-emu: RINT.<D|S>: Fix several problems by reimplementation 2018-02-05 08:58:33 -08:00
me-debugfs.c UPSTREAM: MIPS: math-emu: Add FP emu debugfs stats for individual instructions 2018-02-05 08:58:33 -08:00
sp_2008class.c MIPS: math-emu: Add support for the MIPS R6 CLASS FPU instruction 2015-09-03 12:08:14 +02:00
sp_add.c FROMLIST: MIPS: math-emu: Mark fall throughs in switch statements with a comment 2018-02-05 08:58:37 -08:00
sp_cmp.c MIPS: math-emu: Remove redundant code from NaN comparison 2015-04-08 01:09:38 +02:00
sp_div.c FROMLIST: MIPS: math-emu: Mark fall throughs in switch statements with a comment 2018-02-05 08:58:37 -08:00
sp_fdp.c FROMLIST: MIPS: math-emu: Mark fall throughs in switch statements with a comment 2018-02-05 08:58:37 -08:00
sp_fint.c UPSTREAM: MIPS: math-emu: Use preferred flavor of unsigned integer declarations 2018-02-05 08:58:34 -08:00
sp_flong.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
sp_fmax.c FROMLIST: MIPS: math-emu: Mark fall throughs in switch statements with a comment 2018-02-05 08:58:37 -08:00
sp_fmin.c FROMLIST: MIPS: math-emu: Mark fall throughs in switch statements with a comment 2018-02-05 08:58:37 -08:00
sp_maddf.c FROMLIST: MIPS: math-emu: Mark fall throughs in switch statements with a comment 2018-02-05 08:58:37 -08:00
sp_mul.c FROMLIST: MIPS: math-emu: Mark fall throughs in switch statements with a comment 2018-02-05 08:58:37 -08:00
sp_rint.c BACKPORT: MIPS: math-emu: RINT.<D|S>: Fix several problems by reimplementation 2018-02-05 08:58:33 -08:00
sp_simple.c UPSTREAM: MIPS: math-emu: Add IEEE Std 754-2008 ABS.fmt and NEG.fmt emulation 2018-02-05 08:58:30 -08:00
sp_sqrt.c FROMLIST: MIPS: math-emu: Avoid multiple assignment 2018-02-05 08:58:37 -08:00
sp_sub.c FROMLIST: MIPS: math-emu: Mark fall throughs in switch statements with a comment 2018-02-05 08:58:37 -08:00
sp_tint.c UPSTREAM: MIPS: math-emu: Add IEEE Std 754-2008 NaN encoding emulation 2018-02-05 08:58:30 -08:00
sp_tlong.c FROMLIST: MIPS: math-emu: Remove an unnecessary header inclusion 2018-02-05 08:58:37 -08:00