2021-06-16 05:59:05

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] crypto: sl3516 - Fix duplicate included linux/io.h

Clean up the following includecheck warning:

./drivers/crypto/gemini/sl3516-ce-cipher.c: linux/io.h is included more
than once.

No functional change.

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
---
drivers/crypto/gemini/sl3516-ce-cipher.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/crypto/gemini/sl3516-ce-cipher.c b/drivers/crypto/gemini/sl3516-ce-cipher.c
index 0b34a49..b41c2f5 100644
--- a/drivers/crypto/gemini/sl3516-ce-cipher.c
+++ b/drivers/crypto/gemini/sl3516-ce-cipher.c
@@ -12,7 +12,6 @@
#include <linux/dma-mapping.h>
#include <linux/delay.h>
#include <linux/io.h>
-#include <linux/io.h>
#include <linux/pm_runtime.h>
#include <crypto/scatterwalk.h>
#include <crypto/internal/skcipher.h>
--
1.8.3.1


2021-06-17 07:01:11

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: sl3516 - Fix duplicate included linux/io.h

On Wed, Jun 16, 2021 at 01:58:02PM +0800, Jiapeng Chong wrote:
> Clean up the following includecheck warning:
>
> ./drivers/crypto/gemini/sl3516-ce-cipher.c: linux/io.h is included more
> than once.
>
> No functional change.
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Jiapeng Chong <[email protected]>
> ---
> drivers/crypto/gemini/sl3516-ce-cipher.c | 1 -
> 1 file changed, 1 deletion(-)

There is already an identical patch from [email protected] in the
queue fixing this.

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