Commit 07642a07 authored by Tyler Olivieri's avatar Tyler Olivieri Committed by Greg Kroah-Hartman

staging: ccree: fix switch case indentation

Patch to fix following checkpatch error:
ERROR: switch and case should be at the same indent
Signed-off-by: default avatarTyler Olivieri <sleepingzucchini@gmail.com>
Acked-by: default avatarGilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9c0d8723
...@@ -1177,12 +1177,12 @@ static int ssi_xcbc_setkey(struct crypto_ahash *ahash, ...@@ -1177,12 +1177,12 @@ static int ssi_xcbc_setkey(struct crypto_ahash *ahash,
CHECK_AND_RETURN_UPON_FIPS_ERROR(); CHECK_AND_RETURN_UPON_FIPS_ERROR();
switch (keylen) { switch (keylen) {
case AES_KEYSIZE_128: case AES_KEYSIZE_128:
case AES_KEYSIZE_192: case AES_KEYSIZE_192:
case AES_KEYSIZE_256: case AES_KEYSIZE_256:
break; break;
default: default:
return -EINVAL; return -EINVAL;
} }
ctx->key_params.keylen = keylen; ctx->key_params.keylen = keylen;
...@@ -1265,12 +1265,12 @@ static int ssi_cmac_setkey(struct crypto_ahash *ahash, ...@@ -1265,12 +1265,12 @@ static int ssi_cmac_setkey(struct crypto_ahash *ahash,
ctx->is_hmac = true; ctx->is_hmac = true;
switch (keylen) { switch (keylen) {
case AES_KEYSIZE_128: case AES_KEYSIZE_128:
case AES_KEYSIZE_192: case AES_KEYSIZE_192:
case AES_KEYSIZE_256: case AES_KEYSIZE_256:
break; break;
default: default:
return -EINVAL; return -EINVAL;
} }
ctx->key_params.keylen = keylen; ctx->key_params.keylen = keylen;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment