Skip to contentSkip to conversation

parisc: Mark expected switch fall-throughs in fault.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: Mark expected switch fall-throughs in fault.c

Fix a fall-through warning in fault.c.

Fixes a035d552a93b ("Makefile: Globally enable fall-through warning")
arch/parisc/mm/fault.c +1 -0
index 6dd4669ce7a5..adbd5e2144a3 100644
@@ -66,6 +66,7 @@ parisc_acctyp(unsigned long code, unsigned int inst)
 	case 0x30000000: /* coproc2 */
 		if (bit22set(inst))
 			return VM_WRITE;
+		/* fall through */
 
 	case 0x0: /* indexed/memory management */
 		if (bit22set(inst)) {