parisc: Fix fall-through warnings in fpudispatch.c
authorHelge Deller <deller@gmx.de>
Wed, 31 Jul 2019 14:16:43 +0000 (16:16 +0200)
committerHelge Deller <deller@gmx.de>
Wed, 31 Jul 2019 14:16:43 +0000 (16:16 +0200)
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>
arch/parisc/math-emu/Makefile

index b6c4b254901abb3874d7d51f244a9d9c468e6604..55c1396580a4b051c2b2efa6bbf9173a4966d152 100644 (file)
@@ -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