From: Stephen Rothwell Date: Mon, 26 Nov 2018 06:59:40 +0000 (+1100) Subject: sparc: suppress the implicit-fallthrough warning X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f6f8c1c09c224076a6c9ca3d97c24b81698f98f8;p=openwrt%2Fstaging%2Fblogic.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 e9de1803a22e..ca70787efd8e 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;