]> Git Repo - linux.git/commit
lib/siphash.c: mark expected switch fall-throughs
authorStephen Rothwell <[email protected]>
Tue, 16 Apr 2019 07:27:20 +0000 (17:27 +1000)
committerGreg Kroah-Hartman <[email protected]>
Thu, 25 Apr 2019 17:47:24 +0000 (19:47 +0200)
commitba2e544075c282a5bb21df7752efad3b42d6077b
treefc81c9eb298ff422f10d5686756e3a807675b663
parentae0c2d725512f32a0d1a25f0cf2f07616d33a72e
lib/siphash.c: mark expected switch fall-throughs

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

This patch aims to suppress up to 18 missing-break-in-switch false
positives on some architectures.

Cc: Gustavo A. R. Silva <[email protected]>
Cc: Kees Cook <[email protected]>
Signed-off-by: Stephen Rothwell <[email protected]>
Reviewed-by: Jason A. Donenfeld <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
lib/siphash.c
This page took 0.06636 seconds and 4 git commands to generate.