sparc: suppress the implicit-fallthrough warning
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 26 Nov 2018 06:59:40 +0000 (17:59 +1100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Nov 2018 23:44:26 +0000 (15:44 -0800)
sparc builds with -Werror

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/signal_64.c

index e9de1803a22e004adbb3d6b541ad552f71626e7d..ca70787efd8e05de3d4ec8a3f9a8040bfb4c4844 100644 (file)
@@ -533,6 +533,7 @@ static void do_signal(struct pt_regs *regs, unsigned long orig_i0)
                                regs->tpc -= 4;
                                regs->tnpc -= 4;
                                pt_regs_clear_syscall(regs);
+                               /* fall through */
                        case ERESTART_RESTARTBLOCK:
                                regs->u_regs[UREG_G1] = __NR_restart_syscall;
                                regs->tpc -= 4;