Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp551984rwb; Tue, 29 Nov 2022 02:10:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf4GCciAXjm/nuVvdgKYdVTkjeEfSg5ThAhoFtmBUW/ClJJEQsnpkOEzgjeOMZ40kv/narY/ X-Received: by 2002:a17:906:ca18:b0:781:c97c:84d1 with SMTP id jt24-20020a170906ca1800b00781c97c84d1mr46920630ejb.147.1669716634482; Tue, 29 Nov 2022 02:10:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669716634; cv=none; d=google.com; s=arc-20160816; b=CDmVoBr+zSD8jU5l7pTpiK0y8mGAsbm2xeTInrVhLaGpHpJwfEZvsM+BQp+Ho6lyc6 5LVGNjqaZz6hLwhCiVX8/9VbnA5lxr/hR6lR5sCS/vfzNJH2DIo15qOlmBw8LCbj30Mf yhX/F3RNpfsW1nBGd71QG0w5ScBRupSftTbAqjbIqCvmsL+oDrP95iRjmgNAfx7+0S6s 7VvhcVJ6BkAf5pmStkIWG5AZTxiz5w3MDkQWlqaplH4afs80lMJxxbollK+Y1u7DzEY+ iRzk891PByIONIGq5aiSyyAHKZfdJjtVk04wTrgi+qkxnD7L+xk1vmqWAKrSKycGunCQ 08aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature:dkim-filter; bh=W7/cBOhC6ZWzKLNByGDtoOjb1UE7rlpyI0vm5uWvnSw=; b=DkbPj62Goo8wV/uxosCW3BA/HrcMLVLXhgb4Z1GX48hHC9Z63JwDgt++ctxmPHpJOn Y4PhZlqtMwmKtWw2m4qUXtIOyfwXgspUCs3X4+0YAIfURMfKH54mWlIuM+f24nry3u/3 t6xXYM1+XCQ1KZsaDSz2Kb67iEV/aMGFNzZ4658Cj11lgB0RKTfArAP6zRjaBUWLPQs5 g3oRvtXbIT/inhmM7GmolNrtt5NJQlysoCGWT3GM5qNpQaD0qAqm9CJK8maNMlb2Jxms s204rQu20Dr8BIuLA+MRi7ab8uG/EQtP0ipk/KIAkaBvqX415KTTAFN0xsRkprgGCFCG 1x9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=xVQmEFZ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z9-20020a05640235c900b0045caa1628c6si1238854edc.216.2022.11.29.02.10.12; Tue, 29 Nov 2022 02:10:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=xVQmEFZ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231531AbiK2JeU (ORCPT + 84 others); Tue, 29 Nov 2022 04:34:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229774AbiK2JeT (ORCPT ); Tue, 29 Nov 2022 04:34:19 -0500 Received: from conssluserg-01.nifty.com (conssluserg-01.nifty.com [210.131.2.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24DC82AE2B for ; Tue, 29 Nov 2022 01:34:17 -0800 (PST) Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) (authenticated) by conssluserg-01.nifty.com with ESMTP id 2AT9Xvnv018526 for ; Tue, 29 Nov 2022 18:33:58 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 2AT9Xvnv018526 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1669714438; bh=W7/cBOhC6ZWzKLNByGDtoOjb1UE7rlpyI0vm5uWvnSw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=xVQmEFZ1CE9o3mHpfyU7Q+Ga+U8knXckkKGGpOLb/IMTb3Pq5j40cX2JZGWtePMtv LJ/6uv1ZyZtlYT4A1tLP2TQi7vUr/Mh7yJTQVrTZ9QQmsYK2JjqabOpHK++rNGXIy8 fQWTIqVvpGcPthYl9m7iucm5qqFiSi9466FoCNZod759lFHpJU/AFK3sP52RjlvXmJ V2GTEvMwhP7tOhhyZG1Ilcr9XnqOvPQTyfvZ6L/lIWu3ZHKHoNhmsgM3J+tr0yJpeJ hR2PB0sEYSTfg8qGivjnm1T/kNjwQsIx87ChVX3I1jolT35Xho+tvi8/+4yfg288O4 DhlErQTSCiVgw== X-Nifty-SrcIP: [209.85.167.171] Received: by mail-oi1-f171.google.com with SMTP id s206so14552921oie.3 for ; Tue, 29 Nov 2022 01:33:58 -0800 (PST) X-Gm-Message-State: ANoB5pmnYmvgV0lB4JnMCWtF6usQpnzhQ0KLoB85z/qF0PSuUX6LQVJI klyi4/azWieyJVu8jWHRfRQvLrm73GUW0gVxUTg= X-Received: by 2002:a05:6808:3009:b0:354:94a6:a721 with SMTP id ay9-20020a056808300900b0035494a6a721mr17933150oib.194.1669714437267; Tue, 29 Nov 2022 01:33:57 -0800 (PST) MIME-Version: 1.0 References: <20221126051002.123199-1-linux@weissschuh.net> <20221126051002.123199-3-linux@weissschuh.net> In-Reply-To: From: Masahiro Yamada Date: Tue, 29 Nov 2022 18:33:21 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/3] init/version.c: remove #include To: =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= Cc: Luis Chamberlain , Russ Weight , Greg Kroah-Hartman , "Rafael J. Wysocki" , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Michael Ellerman , Nicholas Piggin Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 27, 2022 at 7:18 AM Masahiro Yamada wrot= e: > > On Sat, Nov 26, 2022 at 2:10 PM Thomas Wei=C3=9Fschuh wrote: > > > > Commit 2df8220cc511 ("kbuild: build init/built-in.a just once") moved > > the usage of the define UTS_VERSION to the file version-timestamp.c. > > With s/UTS_VERSION/UTS_RELEASE/, > > > Reviewed-by: Masahiro Yamada > > > > > version-timestamp.c in turn is included from version.c but already > > includes utsversion.h itself properly. > > > > The unneeded include of utsversion.h from version.c can be dropped. > > > > Fixes: 2df8220cc511 ("kbuild: build init/built-in.a just once") > > Signed-off-by: Thomas Wei=C3=9Fschuh > > --- > > init/version.c | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/init/version.c b/init/version.c > > index 01d4ab05f0ba..f117921811b4 100644 > > --- a/init/version.c > > +++ b/init/version.c > > @@ -15,7 +15,6 @@ > > #include > > #include > > #include > > -#include > > #include > > > > static int __init early_hostname(char *arg) > > -- > > 2.38.1 > > > > > -- > Best Regards > Masahiro Yamada This patch is so confusing because the subject is also wrong. I fixed up the commit description: init/version.c: remove #include Commit 2df8220cc511 ("kbuild: build init/built-in.a just once") moved the usage of the define UTS_RELEASE to the file version-timestamp.c. version-timestamp.c in turn is included from version.c but already includes utsrelease.h itself properly. The unneeded include of utsrelease.h from version.c can be dropped. Fixes: 2df8220cc511 ("kbuild: build init/built-in.a just once") Signed-off-by: Thomas Wei=C3=9Fschuh Signed-off-by: Masahiro Yamada Applied to linux-kbuild. Thanks. --=20 Best Regards Masahiro Yamada