From: Baoquan He <bhe@redhat.com>
To: Wenchao Hao <haowenchao22@gmail.com>,
Andrew Morton <akpm@linux-foundation.org>
Cc: Vivek Goyal <vgoyal@redhat.com>, Dave Young <dyoung@redhat.com>,
kexec@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] crash: Remove header files which are included more than once
Date: Fri, 7 Jun 2024 14:26:18 +0800 [thread overview]
Message-ID: <ZmKoCreQLlXdKR7V@MiWiFi-R3L-srv> (raw)
In-Reply-To: <20240606091427.3512314-1-haowenchao22@gmail.com>
On 06/06/24 at 05:14pm, Wenchao Hao wrote:
> Following warning is reported, so remove these duplicated header
> including:
>
> ./kernel/crash_reserve.c: linux/kexec.h is included more than once.
>
> This is just a clean code, no logic changed.
>
> Signed-off-by: Wenchao Hao <haowenchao22@gmail.com>
> ---
> kernel/crash_reserve.c | 1 -
> 1 file changed, 1 deletion(-)
I remember someone posted patch to clean this up. Anyway,
Acked-by: Baoquan He <bhe@redhat.com>
>
> 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.38.1
>
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
prev parent reply other threads:[~2024-06-07 6:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-06 9:14 [PATCH] crash: Remove header files which are included more than once Wenchao Hao
2024-06-07 6:26 ` Baoquan He [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZmKoCreQLlXdKR7V@MiWiFi-R3L-srv \
--to=bhe@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=dyoung@redhat.com \
--cc=haowenchao22@gmail.com \
--cc=kexec@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=vgoyal@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox