summaryrefslogtreecommitdiff
path: root/arch/parisc/mm/fault.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2019-07-31 16:16:00 +0200
committerHelge Deller <deller@gmx.de>2019-07-31 16:16:00 +0200
commit12d1402ce35a900b4273893b885ddf35dbea0571 (patch)
treeb9c5ffbd0ad48fdf5dac6ff096a59e2d77cdf9cf /arch/parisc/mm/fault.c
parent4010b622f1d2a6112244101f38225eaee20c07f2 (diff)
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>
Diffstat (limited to 'arch/parisc/mm/fault.c')
-rw-r--r--arch/parisc/mm/fault.c1
1 files changed, 1 insertions, 0 deletions
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)) {