Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp112211imm; Thu, 20 Sep 2018 19:35:55 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZvmnXl1qWoWmPfNHfwiz1+SRkar7z2ROO0YOwt3QcG3ajQ9IALNzMXqnjjxCxWvgfjBCaw X-Received: by 2002:a63:eb53:: with SMTP id b19-v6mr39255809pgk.371.1537497355790; Thu, 20 Sep 2018 19:35:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537497355; cv=none; d=google.com; s=arc-20160816; b=NOcxbUWRGsD5dQ+LnBzPVVgjISOhD7hMm/UsgtkVACl3bU9SHxVJbhYYZohLnlp4Q+ rDoxDAtx5suwYqyttesgfCqd5ea96keU7Q6drQElLcu0aRtfDTuKgLZ8KADdxu/sIxMW Ri48m9EWjgX5VylJUzpaT+9QBGAAg3m822yNSQdYMa2QZMfLZ5Hhr40M3jwhwRrTd4zw ekacSlieMXJE5MPnd9n7G50zHUhx0CBd9+3IJX+Y1k7f8Nhh0bxO/91cisHyGe0ptJXJ igp6pC9YisLlajoxTuGgFveTeDP/ZpEOsDsWcIuSUPgVjSoIidbiVgaQ22ylnYy/DY65 fYKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=woFdnQV1E2CVgynimzKiRMurmOnEW5mSSl2pFHMGYvA=; b=O7AEz4uPGr4cBmf+VsTnjAHBCaeZkCdWaw43OfCNFtIqMdE2ouzqi3pJCaR4Bwue49 eiB5JqrzmwYeTZdglAiCHt+t99izCeJZJxeOkkI5hesXcA7Ro7OWcS0aSN6v1IgVAELt 8XOmzz3wmmSf1iBTnO51FZ0HLDBpjWjZZ1BmDVtuH8nwiQfx7giXickio6Z4s3PZuwuo SIOJXJRpjaNy7y32dzfoRY7Yv0BEfKWP+pjSUiCqFtqbpEIj3gQoD643vewxJidVWTNN E2pig1lPNUE1JtQVx5At76eG9pECRTuqibu95xD0I1RTbEcRtbGh9ZIK114DgT5Ml4VG Ihew== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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.35.38; Thu, 20 Sep 2018 19:35:55 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388721AbeIUIWK (ORCPT + 99 others); Fri, 21 Sep 2018 04:22:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57520 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727141AbeIUIWK (ORCPT ); Fri, 21 Sep 2018 04:22:10 -0400 Received: from smtp.corp.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 44A10308624E; Fri, 21 Sep 2018 02:35:33 +0000 (UTC) Received: from localhost (ovpn-8-16.pek2.redhat.com [10.72.8.16]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 97E78DAA82; Fri, 21 Sep 2018 02:35:32 +0000 (UTC) Date: Fri, 21 Sep 2018 10:35:29 +0800 From: Baoquan He To: zhong jiang Cc: ebiederm@xmission.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] kernel: kexec_file: remove some duplicated include file Message-ID: <20180921023529.GQ2555@MiWiFi-R3L-srv> References: <1537420323-30658-1-git-send-email-zhongjiang@huawei.com> <20180921021524.GP2555@MiWiFi-R3L-srv> <5BA4570F.6050700@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5BA4570F.6050700@huawei.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.27 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Fri, 21 Sep 2018 02:35:33 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/21/18 at 10:27am, zhong jiang wrote: > 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. OK, Could you rewrite the log with this? The old log makes me think kexec.h and slab.h themselves have duplicated include. > > 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 > > . > > > >