summaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2019-07-31 16:16:43 +0200
committerHelge Deller <deller@gmx.de>2019-07-31 16:16:43 +0200
commit73b886724747ea5fa599ada988fe0a30edcc2e00 (patch)
tree2cf070425fc0ea4e586abc7ddd311ddc92862d37 /arch/parisc
parentparisc: Mark expected switch fall-throughs in fault.c (diff)
downloadlinux-73b886724747ea5fa599ada988fe0a30edcc2e00.tar.xz
linux-73b886724747ea5fa599ada988fe0a30edcc2e00.zip
parisc: Fix fall-through warnings in fpudispatch.c
In fpudispatch.c we see a lot of fall-through warnings, but for this file we prefer to not mark the switches and instead keep it in it's original state as it's copied from HP-UX. Fixes: a035d552a93b ("Makefile: Globally enable fall-through warning") Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/math-emu/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/parisc/math-emu/Makefile b/arch/parisc/math-emu/Makefile
index b6c4b254901a..55c1396580a4 100644
--- a/arch/parisc/math-emu/Makefile
+++ b/arch/parisc/math-emu/Makefile
@@ -18,3 +18,4 @@ obj-y := frnd.o driver.o decode_exc.o fpudispatch.o denormal.o \
# other very old or stripped-down PA-RISC CPUs -- not currently supported
obj-$(CONFIG_MATH_EMULATION) += unimplemented-math-emulation.o
+CFLAGS_REMOVE_fpudispatch.o = -Wimplicit-fallthrough=3