[PATCH v2][next] afs: Fix fall-through warnings for Clang

Jeffrey E Altman jaltman at auristor.com
Thu Apr 22 00:03:47 BST 2021


On 4/20/2021 5:16 PM, Gustavo A. R. Silva (gustavoars at kernel.org) wrote:
> In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
> warnings by explicitly adding multiple fallthrough pseudo-keywords
> in places where the code is intended to fall through to the next
> case.
> 
> Link: https://github.com/KSPP/linux/issues/115
> Signed-off-by: Gustavo A. R. Silva <gustavoars at kernel.org>
> ---
> Changes in v2:
>   - Place blank line after the fallthrough markings, not before.
>     Link: https://lore.kernel.org/linux-hardening/748935.1606147853@warthog.procyon.org.uk/

This change looks good to me.

Reviewed-by: Jeffrey Altman <jaltman at auristor.com>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: jaltman.vcf
Type: text/x-vcard
Size: 271 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-afs/attachments/20210421/205ccdd6/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-afs/attachments/20210421/205ccdd6/attachment.sig>


More information about the linux-afs mailing list