Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] kexec: Remove duplicated include in crash_reserve.c
@ 2024-01-26  0:44 Yang Li
  2024-01-26 11:19 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2024-01-26  0:44 UTC (permalink / raw)
  To: bhe, vgoyal, dyoung; +Cc: kexec, linux-kernel, Yang Li

The header files kexec.h is included twice in crash_reserve.c,
so one inclusion can be removed.

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 kernel/crash_reserve.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/crash_reserve.c b/kernel/crash_reserve.c
index bbb6c3cb00e4..db8bdf47a2c0 100644
--- a/kernel/crash_reserve.c
+++ b/kernel/crash_reserve.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


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] kexec: Remove duplicated include in crash_reserve.c
  2024-01-26  0:44 [PATCH -next] kexec: Remove duplicated include in crash_reserve.c Yang Li
@ 2024-01-26 11:19 ` Simon Horman
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2024-01-26 11:19 UTC (permalink / raw)
  To: Yang Li; +Cc: bhe, vgoyal, dyoung, kexec, linux-kernel

On Fri, Jan 26, 2024 at 08:44:49AM +0800, Yang Li wrote:
> The header files kexec.h is included twice in crash_reserve.c,
> so one inclusion can be removed.
> 
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

Reviewed-by: Simon Horman <horms@kernel.org>


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-26 11:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-26  0:44 [PATCH -next] kexec: Remove duplicated include in crash_reserve.c Yang Li
2024-01-26 11:19 ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox