Skip to contentSkip to conversation

crash: Remove duplicate included header

PATCH RESEND In review Thorsten Blum 2 participants 2 messages Jul 3, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 crash: Remove duplicate included header

Remove duplicate included header file linux/kexec.h

---
 kernel/crash_reserve.c | 1 -
 1 file changed, 1 deletion(-)
kernel/crash_reserve.c +0 -1
index 5b2722a93a48..d3b4cd12bdd1 100644
@@ -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>
Signature · 1 line
2.45.2
#1 lore raw

Hi,

Quoted 7 lines · Thorsten Blum

Remove duplicate included header file linux/kexec.h

---
 kernel/crash_reserve.c | 1 -
 1 file changed, 1 deletion(-)

Thanks for catching this, while,

It has been fixed by below patch in next tree:

commit 5eb1911a8c63f0e10a5f746f52fcc3c9bbfbc710

Author: Wenchao Hao <[email protected]>
Date:   Thu Jun 6 17:14:27 2024 +0800

crash: remove header files which are included more than once

Quoted 16 lines
kernel/crash_reserve.c +0 -1
index 5b2722a93a48..d3b4cd12bdd1 100644
@@ -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>
Signature · 1 line
2.45.2