summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-08-15 00:12:03 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2024-08-24 21:36:07 +0800
commitc76c9ec333432088a1c6f52650c149530fc5df5d (patch)
treefaf7de43a6d3ad1a50e0ebb80dd9ed91a08b8616
parent5d22d37aa8b93efaad797faf80db40ea59453481 (diff)
crypto: spacc - Add a new line in spacc_open()
Put the break statement should be on its own line. Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--drivers/crypto/dwc-spacc/spacc_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/crypto/dwc-spacc/spacc_core.c b/drivers/crypto/dwc-spacc/spacc_core.c
index b7630f559973..b9e0d3227f81 100644
--- a/drivers/crypto/dwc-spacc/spacc_core.c
+++ b/drivers/crypto/dwc-spacc/spacc_core.c
@@ -1904,7 +1904,8 @@ int spacc_open(struct spacc_device *spacc, int enc, int hash, int ctxid,
ctrl |= SPACC_CTRL_SET(SPACC_CTRL_HASH_ALG,
H_SHAKE256);
ctrl |= SPACC_CTRL_SET(SPACC_CTRL_HASH_MODE,
- HM_SHAKE_KMAC); break;
+ HM_SHAKE_KMAC);
+ break;
case CRYPTO_MODE_MAC_KMACXOF128:
ctrl |= SPACC_CTRL_SET(SPACC_CTRL_HASH_ALG,
H_SHAKE128);