Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp107992imm; Thu, 20 Sep 2018 19:29:41 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbflSVhxUg8ZnpJKgvehN/nzbPvlKr0JWDHAPJljzW9vSBd5DM//jv8aYrLwPCMx4BG19ai X-Received: by 2002:a63:d447:: with SMTP id i7-v6mr27276110pgj.132.1537496981328; Thu, 20 Sep 2018 19:29:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537496981; cv=none; d=google.com; s=arc-20160816; b=A0RW+eYvBdceFRvz6TJahBDj6MpnVxDxP2heELcreySlpEri5uQS02/i02qGTeFGDs pmh5N7n7N3MmHnUjRQ7QvmiOAUrLmTsMp9ItYLm/rdbK4nyZARz4NehiPtdkNJx7DaKX +8L3bobuWhqHhp31THDPnzG3HFPdRsipwJx/JGiz+QKAseQksjwaIo7v3Nc+lMLXdlgS e2FDewJ3tISNtrtLhGBazVWbMOZJJhCo9/z/e1trY7Cu6c+webEoLUHCIVWsjVm0JuzN jZbskuCCZr1xEcDAB1H2CI9krLJzsOwQMhBRwxGPy2I4deG6cKzbCUkTZF1jukkFwArN Rk2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :references:subject:cc:to:mime-version:user-agent:from:date :message-id; bh=vrzqCNrl5aUcKteCYHUW27vN4Q7G16nXKJ7iw3LDZrw=; b=S6IoLK/LZMGNkfweaTIeE6ypdU6llhvPX8swn+IlaPQVSJeVDHco0fYGcR5Kq/grFa 8CHbbYBLN+/toypUiiWi+DT8G7pHfDBg74GakM1UdMx24a9RWSAz2upisAoHPcn7nEZA UiRTGsSVBGJbTHqbeBYxW4VnTr3iZkVQp/1shnPRUIQwl1hpZD0Vk5uegaHI6MeJowwK cXw4Sw0hNj33ZkuE+jgmilA31OoahP8rbNwDSAWRtOnh5M4tCCwgUow3aJrQyAP1/qSm T4r/VmGLbFz5rXZ/CrFzQEKji7F8scAuQVFW7trp/y4lHrNezzL7MiKzVWEShUbFs0PI 6vYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 85-v6si26672135pgh.381.2018.09.20.19.29.25; Thu, 20 Sep 2018 19:29:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388833AbeIUIOJ (ORCPT + 99 others); Fri, 21 Sep 2018 04:14:09 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:13087 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725828AbeIUIOJ (ORCPT ); Fri, 21 Sep 2018 04:14:09 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id CFEE457C6FE8D; Fri, 21 Sep 2018 10:27:29 +0800 (CST) Received: from [127.0.0.1] (10.177.29.68) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.399.0; Fri, 21 Sep 2018 10:27:28 +0800 Message-ID: <5BA4570F.6050700@huawei.com> Date: Fri, 21 Sep 2018 10:27:27 +0800 From: zhong jiang User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Baoquan He CC: , , Subject: Re: [PATCH] kernel: kexec_file: remove some duplicated include file References: <1537420323-30658-1-git-send-email-zhongjiang@huawei.com> <20180921021524.GP2555@MiWiFi-R3L-srv> In-Reply-To: <20180921021524.GP2555@MiWiFi-R3L-srv> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.29.68] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/9/21 10:15, Baoquan He wrote: > On 09/20/18 at 01:12pm, zhong jiang wrote: >> kexec.h and slab.h have duplicated include. hence just remove >> redundant file. > They have duplicated include, why do you remove both of them? because we include the kexec.h and slab.h twice in kexec_file.c. It's unnecessary. Thanks, zhong jiang >> Signed-off-by: zhong jiang >> --- >> 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 >> #include >> #include >> -#include >> -#include >> #include >> #include >> #include "kexec_internal.h" >> -- >> 1.7.12.4 >> >> >> _______________________________________________ >> kexec mailing list >> kexec@lists.infradead.org >> http://lists.infradead.org/mailman/listinfo/kexec > . >