From: Stephen Rothwell Date: Mon, 26 Nov 2018 06:59:40 +0000 (+1100) Subject: sparc: suppress the implicit-fallthrough warning X-Git-Tag: v5.4-rc1~2118^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f6f8c1c09c224076a6c9ca3d97c24b81698f98f8;p=platform%2Fkernel%2Flinux-rpi.git sparc: suppress the implicit-fallthrough warning sparc builds with -Werror Signed-off-by: Stephen Rothwell Signed-off-by: David S. Miller --- diff --git a/arch/sparc/kernel/signal_64.c b/arch/sparc/kernel/signal_64.c index e9de180..ca70787 100644 --- a/arch/sparc/kernel/signal_64.c +++ b/arch/sparc/kernel/signal_64.c @@ -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;