[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202106281355.3FEE09E@keescook>
Date: Mon, 28 Jun 2021 13:55:56 -0700
From: Kees Cook <keescook@...omium.org>
To: Wan Jiabing <wanjiabing@...o.com>
Cc: Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] lkdtm: remove duplicated include of init.h
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@...o.com>
Whoops! Thank you. :)
Acked-by: Kees Cook <keescook@...omium.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
Powered by blists - more mailing lists