diff mbox series

parisc: Mark expected switch fall-throughs in fault.c

Message ID 20190731154953.GB21186@ls3530.fritz.box (mailing list archive)
State Accepted, archived
Headers show
Series parisc: Mark expected switch fall-throughs in fault.c | expand

Commit Message

Helge Deller July 31, 2019, 3:49 p.m. UTC
Fix a fall-through warning in fault.c.

Fixes: a035d552a93b ("Makefile: Globally enable fall-through warning")
Signed-off-by: Helge Deller <deller@gmx.de>
diff mbox series

Patch

diff --git a/arch/parisc/mm/fault.c b/arch/parisc/mm/fault.c
index 6dd4669ce7a5..adbd5e2144a3 100644
--- a/arch/parisc/mm/fault.c
+++ b/arch/parisc/mm/fault.c
@@ -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)) {