[RESEND PATCH] crash: Remove duplicate included header

Baoquan He bhe at redhat.com
Wed Jul 3 04:24:09 PDT 2024


Hi,

On 07/03/24 at 11:35am, Thorsten Blum wrote:
> Remove duplicate included header file linux/kexec.h
> 
> Acked-by: Baoquan He <bhe at redhat.com>
> Signed-off-by: Thorsten Blum <thorsten.blum at toblux.com>
> ---
>  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 <haowenchao22 at gmail.com>
Date:   Thu Jun 6 17:14:27 2024 +0800

    crash: remove header files which are included more than once

> 
> diff --git a/kernel/crash_reserve.c b/kernel/crash_reserve.c
> index 5b2722a93a48..d3b4cd12bdd1 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.45.2
> 




More information about the kexec mailing list