diff mbox series

crypto: qce - Fix inconsistent indenting

Message ID 1621590292-71009-1-git-send-email-jiapeng.chong@linux.alibaba.com
State Accepted
Commit e5764377aa54b32bfcb651f8188729e7b35e7a7c
Headers show
Series crypto: qce - Fix inconsistent indenting | expand

Commit Message

Jiapeng Chong May 21, 2021, 9:44 a.m. UTC
Eliminate the follow smatch warning:

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

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 drivers/crypto/qce/aead.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Herbert Xu May 28, 2021, 7:27 a.m. UTC | #1
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 <abaci@linux.alibaba.com>

> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>

> ---

>  drivers/crypto/qce/aead.c | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)


Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
diff mbox series

Patch

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;
 		}
 	}