]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
crypto: ccree - Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:34:56 +0000 (12:34 -0600)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Nov 2020 06:13:46 +0000 (17:13 +1100)
commitabc6146aba40ea3b8996773e6ad0e60fd70f7a3f
tree4ad0df55cfc7d04ab72ad9a51b75ede267c6a010
parentad6d66bcac77e5145eb67449f8354ed0f936258c
crypto: ccree - Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly adding multiple break statements instead of
letting the code fall through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Acked-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_cipher.c