2023-12-15 08:55:09

by Wang Jinchao

[permalink] [raw]
Subject: [PATCH] crash_core: remove duplicated including of kexec.h

remove second include of linux/kexec.h

Signed-off-by: Wang Jinchao <[email protected]>
---
kernel/crash_core.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/kernel/crash_core.c b/kernel/crash_core.c
index efe87d501c8c..d72985222b16 100644
--- a/kernel/crash_core.c
+++ b/kernel/crash_core.c
@@ -13,7 +13,6 @@
#include <linux/memory.h>
#include <linux/cpuhotplug.h>
#include <linux/memblock.h>
-#include <linux/kexec.h>
#include <linux/kmemleak.h>

#include <asm/page.h>
--
2.40.0



2023-12-15 09:11:32

by Baoquan He

[permalink] [raw]
Subject: Re: [PATCH] crash_core: remove duplicated including of kexec.h

On 12/15/23 at 04:54pm, Wang Jinchao wrote:
> remove second include of linux/kexec.h

Good catch.

Acked-by: Baoquan He <[email protected]>

>
> Signed-off-by: Wang Jinchao <[email protected]>
> ---
> kernel/crash_core.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/kernel/crash_core.c b/kernel/crash_core.c
> index efe87d501c8c..d72985222b16 100644
> --- a/kernel/crash_core.c
> +++ b/kernel/crash_core.c
> @@ -13,7 +13,6 @@
> #include <linux/memory.h>
> #include <linux/cpuhotplug.h>
> #include <linux/memblock.h>
> -#include <linux/kexec.h>
> #include <linux/kmemleak.h>
>
> #include <asm/page.h>
> --
> 2.40.0
>
>
> _______________________________________________
> kexec mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/kexec
>