[PATCH v2] net: rxrpc: mark expected switch fall-throughs
David Miller
davem at davemloft.net
Tue Oct 24 02:27:51 PDT 2017
From: "Gustavo A. R. Silva" <garsilva at embeddedor.com>
Date: Thu, 19 Oct 2017 16:54:48 -0500
> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
> where we are expecting to fall through.
>
> Signed-off-by: Gustavo A. R. Silva <garsilva at embeddedor.com>
> ---
> This code was tested by compilation only (GCC 7.2.0 was used).
> Please, verify if the actual intention of the code is to fall through.
>
> Changes in v2:
> Start every "Fall through" comment with capital 'F'.
> Put back blank lines.
Applied.
More information about the linux-afs
mailing list