Skip to contentSkip to conversation

parisc: Fix fall-through warnings in fpudispatch.c

PATCH New Helge Deller 1 participant 1 message Jul 31, 2019 PA-RISC architecture

lore
Share & tools
lore

Helge Deller

author maintainer
#0 lore raw

PATCH 1/1 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")
arch/parisc/math-emu/Makefile +1 -0
index b6c4b254901a..55c1396580a4 100644
@@ -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