lkml.org 
[lkml]   [2021]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@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

\
 
 \ /
  Last update: 2021-06-28 22:56    [W:0.051 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site