From: Helge Deller <deller@gmx.de>
Date: Wed, 31 Jul 2019 14:16:00 +0000 (+0200)
Subject: parisc: Mark expected switch fall-throughs in fault.c
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=12d1402ce35a900b4273893b885ddf35dbea0571;p=openwrt%2Fstaging%2Fblogic.git

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")
Signed-off-by: Helge Deller <deller@gmx.de>
---

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)) {