[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1711281448520.1723@nanos>
Date: Tue, 28 Nov 2017 14:49:44 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: "Gustavo A. R. Silva" <garsilva@...eddedor.com>
cc: Ingo Molnar <mingo@...hat.com>, "H. Peter Anvin" <hpa@...or.com>,
x86@...nel.org, linux-kernel@...r.kernel.org,
Kees Cook <keescook@...omium.org>
Subject: Re: [PATCH] x86/syscalls: Mark expected switch fall-throughs
On Mon, 27 Nov 2017, Gustavo A. R. Silva wrote:
> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
> where we are expecting to fall through.
> case 0:
> if (!n--) break;
> *args++ = regs->bx;
> + /* fall through */
And these gazillions of pointless comments help enabling of
-Wimplicit-fallthrough in which way?
Thanks,
tglx
Powered by blists - more mailing lists