2023-09-15 06:10:01

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] crash_core: Remove duplicated include in crash_core.c

./kernel/crash_core.c: linux/kexec.h is included more than once.

Signed-off-by: Yang Li <[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 1a77d466eaed..90fc1b636ba0 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.20.1.7.g153144c


2023-09-20 11:55:20

by Simon Horman

[permalink] [raw]
Subject: Re: [PATCH -next] crash_core: Remove duplicated include in crash_core.c

On Fri, Sep 15, 2023 at 01:58:44PM +0800, Yang Li wrote:
> ./kernel/crash_core.c: linux/kexec.h is included more than once.
>
> Signed-off-by: Yang Li <[email protected]>

FWIIW, this seems to have been added recently, by

926f75c8a5ab ("Add linux-next specific files for 20230920")

Reviewed-by: Simon Horman <[email protected]>