2021-05-21 11:19:23

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] crypto: qce - Fix inconsistent indenting

Eliminate the follow smatch warning:

drivers/crypto/qce/aead.c:85 qce_aead_done() warn: inconsistent
indenting.

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
---
drivers/crypto/qce/aead.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/qce/aead.c b/drivers/crypto/qce/aead.c
index 6d06a19..213d3a1 100644
--- a/drivers/crypto/qce/aead.c
+++ b/drivers/crypto/qce/aead.c
@@ -82,7 +82,7 @@ static void qce_aead_done(void *data)
ret = memcmp(result_buf->auth_iv, tag, ctx->authsize);
if (ret) {
pr_err("Bad message error\n");
- error = -EBADMSG;
+ error = -EBADMSG;
}
}

--
1.8.3.1


2021-05-28 07:44:43

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: qce - Fix inconsistent indenting

On Fri, May 21, 2021 at 05:44:52PM +0800, Jiapeng Chong wrote:
> Eliminate the follow smatch warning:
>
> drivers/crypto/qce/aead.c:85 qce_aead_done() warn: inconsistent
> indenting.
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Jiapeng Chong <[email protected]>
> ---
> drivers/crypto/qce/aead.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied. Thanks.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt