Re: [PATCH] signal: Mark expected switch fall-throughs

2018-10-16 Thread Gustavo A. R. Silva
On 10/15/18 11:29 PM, Kees Cook wrote: > On Sat, Oct 13, 2018 at 4:48 AM, Gustavo A. R. Silva > wrote: >> In preparation to enabling -Wimplicit-fallthrough, mark switch cases >> where we are expecting to fall through. >> >> Signed-off-by: Gustavo A. R. Silva > > Yes, please. :) I love every s

Re: [PATCH] signal: Mark expected switch fall-throughs

2018-10-15 Thread Michael Ellerman
[ Cc += ebied...@xmission.com ] "Gustavo A. R. Silva" writes: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Signed-off-by: Gustavo A. R. Silva > --- > include/linux/signal.h | 6 ++ > 1 file changed, 6 insertions(+) The

Re: [PATCH] signal: Mark expected switch fall-throughs

2018-10-15 Thread Kees Cook
On Sat, Oct 13, 2018 at 4:48 AM, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Signed-off-by: Gustavo A. R. Silva Yes, please. :) I love every step closer we get to being able to use -Wimplicit-fall

[PATCH] signal: Mark expected switch fall-throughs

2018-10-13 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva --- include/linux/signal.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/linux/signal.h b/include/linux/signal.h index 200ed96..f428