Skip to content

Commit 5fc194e

Browse files
GustavoARSilvaherbertx
authored andcommitted
crypto: talitos - fix missing break in switch statement
Add missing break statement in order to prevent the code from falling through to case CRYPTO_ALG_TYPE_AHASH. Fixes: aeb4c13 ("crypto: talitos - Convert to new AEAD interface") Cc: [email protected] Reported-by: kbuild test robot <[email protected]> Signed-off-by: Gustavo A. R. Silva <[email protected]> Reviewed-by: Christophe Leroy <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 9575d1a commit 5fc194e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/crypto/talitos.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3116,6 +3116,7 @@ static int talitos_remove(struct platform_device *ofdev)
31163116
break;
31173117
case CRYPTO_ALG_TYPE_AEAD:
31183118
crypto_unregister_aead(&t_alg->algt.alg.aead);
3119+
break;
31193120
case CRYPTO_ALG_TYPE_AHASH:
31203121
crypto_unregister_ahash(&t_alg->algt.alg.hash);
31213122
break;

0 commit comments

Comments
 (0)