From: zhong jiang <zhongjiang@huawei.com>
To: Baoquan He <bhe@redhat.com>
Cc: <akpm@linux-foundation.org>, <ebiederm@xmission.com>,
<kexec@lists.infradead.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCHv2] kernel: kexec_file: remove some duplicated include file
Date: Fri, 21 Sep 2018 11:07:52 +0800 [thread overview]
Message-ID: <5BA46088.6090408@huawei.com> (raw)
In-Reply-To: <20180921030213.GR2555@MiWiFi-R3L-srv>
On 2018/9/21 11:02, Baoquan He wrote:
> On 09/21/18 at 10:48am, zhong jiang wrote:
>> We include kexec.h and slab.h twice in kexec_file.c. It's unnecessary.
>> hence just remove them.
>>
>> Signed-off-by: zhong jiang <zhongjiang@huawei.com>
>
> ACK
Thanks :-)
>> ---
>> kernel/kexec_file.c | 2 --
>> 1 file changed, 2 deletions(-)
>>
>> diff --git a/kernel/kexec_file.c b/kernel/kexec_file.c
>> index c6a3b68..35cf0ad 100644
>> --- a/kernel/kexec_file.c
>> +++ b/kernel/kexec_file.c
>> @@ -25,8 +25,6 @@
>> #include <linux/elf.h>
>> #include <linux/elfcore.h>
>> #include <linux/kernel.h>
>> -#include <linux/kexec.h>
>> -#include <linux/slab.h>
>> #include <linux/syscalls.h>
>> #include <linux/vmalloc.h>
>> #include "kexec_internal.h"
>> --
>> 1.7.12.4
>>
> .
>
next prev parent reply other threads:[~2018-09-21 3:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-21 2:48 [PATCHv2] kernel: kexec_file: remove some duplicated include file zhong jiang
2018-09-21 3:02 ` Baoquan He
2018-09-21 3:07 ` zhong jiang [this message]
2018-09-21 5:21 ` Bhupesh Sharma
2018-09-21 5:33 ` zhong jiang
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=5BA46088.6090408@huawei.com \
--to=zhongjiang@huawei.com \
--cc=akpm@linux-foundation.org \
--cc=bhe@redhat.com \
--cc=ebiederm@xmission.com \
--cc=kexec@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).