* [PATCH] lkdtm: remove duplicated include of init.h
@ 2021-06-28 12:35 Wan Jiabing
2021-06-28 20:55 ` Kees Cook
0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-06-28 12:35 UTC (permalink / raw)
To: Kees Cook, Arnd Bergmann, Greg Kroah-Hartman, linux-kernel; +Cc: Wan Jiabing
Fix following checkincludes.pl warning:
./drivers/misc/lkdtm/core.c
26 #include <linux/init.h>
29 #include <linux/init.h>
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
drivers/misc/lkdtm/core.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/misc/lkdtm/core.c b/drivers/misc/lkdtm/core.c
index 9dda87c6b54a..c9a0ad6d5d72 100644
--- a/drivers/misc/lkdtm/core.c
+++ b/drivers/misc/lkdtm/core.c
@@ -26,7 +26,6 @@
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/debugfs.h>
-#include <linux/init.h>
#define DEFAULT_COUNT 10
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] lkdtm: remove duplicated include of init.h
2021-06-28 12:35 [PATCH] lkdtm: remove duplicated include of init.h Wan Jiabing
@ 2021-06-28 20:55 ` Kees Cook
0 siblings, 0 replies; 2+ messages in thread
From: Kees Cook @ 2021-06-28 20:55 UTC (permalink / raw)
To: Wan Jiabing; +Cc: Arnd Bergmann, Greg Kroah-Hartman, linux-kernel
On Mon, Jun 28, 2021 at 08:35:12PM +0800, Wan Jiabing wrote:
> Fix following checkincludes.pl warning:
> ./drivers/misc/lkdtm/core.c
> 26 #include <linux/init.h>
> 29 #include <linux/init.h>
>
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Whoops! Thank you. :)
Acked-by: Kees Cook <keescook@chromium.org>
-Kees
> ---
> drivers/misc/lkdtm/core.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/misc/lkdtm/core.c b/drivers/misc/lkdtm/core.c
> index 9dda87c6b54a..c9a0ad6d5d72 100644
> --- a/drivers/misc/lkdtm/core.c
> +++ b/drivers/misc/lkdtm/core.c
> @@ -26,7 +26,6 @@
> #include <linux/init.h>
> #include <linux/slab.h>
> #include <linux/debugfs.h>
> -#include <linux/init.h>
>
> #define DEFAULT_COUNT 10
>
> --
> 2.20.1
>
--
Kees Cook
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-28 20:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-28 12:35 [PATCH] lkdtm: remove duplicated include of init.h Wan Jiabing
2021-06-28 20:55 ` Kees Cook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).