crash: Remove duplicate included header
Subsystems (3)
PATCH RESEND 1/1 crash: Remove duplicate included header
Remove duplicate included header file linux/kexec.h
Acked-by Baoquan He <[email protected]>
Signed-off-by Thorsten Blum <[email protected]>
--- kernel/crash_reserve.c | 1 - 1 file changed, 1 deletion(-)
kernel/crash_reserve.c +0 -1
@@ -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
Hi,
Quoted 7 lines · Thorsten Blum
Remove duplicate included header file
linux/kexec.hAcked-by Baoquan He <[email protected]>Signed-off-by Thorsten Blum <[email protected]>--- 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@@ -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