Re: [PATCH] x86/syscalls: Mark expected switch fall-throughs

From: Thomas Gleixner
Date: Tue Nov 28 2017 - 08:50:04 EST


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