Message ID | 20221126051002.123199-2-linux@weissschuh.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp4464537wrr; Fri, 25 Nov 2022 21:13:00 -0800 (PST) X-Google-Smtp-Source: AA0mqf7Sc0CMppMdanFnSIewe2pWCaPOgcqcBeZFa+UQrFnGyPo+N37VJRzPf4D4gM3ltYocCzcv X-Received: by 2002:a17:906:2e96:b0:7ad:8f76:17c7 with SMTP id o22-20020a1709062e9600b007ad8f7617c7mr24039420eji.315.1669439580476; Fri, 25 Nov 2022 21:13:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669439580; cv=none; d=google.com; s=arc-20160816; b=snBiM0t1rA6WQbnygc/GA3k/kWKtk2hQlQ4pUMW1/cbU0ILblB/d/OGSLDW4rZi9yU EgFH4mi4f9RIj8qs/ECSoqklRqdyEn3HFPHX6NQck0c9glsnUTvsKiFRqZYBbYkrw8m/ bPkXiY1GwlkZ+vr9oE7rWjtbaU3KSZp8arW1Km6DV5iAAbQsnOZd3ot5oIFl+E6oWQtB Qb6r3EeVVp45K3sPf/mhcETg806pw+/pnG4Z+jwYZEMJRojO5pPdZgPXtJug/1PwYyZP WEbSLrYWIoOadUQuzeeLHi5rhwIUYh9Upuo8f19vj1ehkNas3Slk+ufB+pfPfzrOWLil iXBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:dkim-signature :from; bh=/ZGSONfusNpOOWhRxZLB/dIGkSnHoh5YHMFqiklUb0Q=; b=Qz6UjtX6gMzcofVtPOvFPBmesRCpcDaeRRakRLklnwFUddiBmodzcmt79yalCecf6t zJwSf1zf366tfWPJNO3rq5EMNakOCOxGgHwIqooAjSxdhgudvcNz+1UOFuqpdSrAxI09 r7H1fnnHzmPZ8rhzyAhUMtIl0x+cjPgLEw8Ccmy6i5GxCu7vVyyFXCSO25UWMkXRqPqa EvAn0visRvk/3QC6N5jt3HnloqS0nM7Pa+ivkavW90xnmkZgb/K0FqW722exuqBA7dOy z39bBWRkzgGd1qUzsKvSLpyDt33ZM4jfFyi4+ZpU7AcGZjf9YQ2A5TkpjSoMyW6bMAm/ 0kew== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=KEDJviVm; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc38-20020a17090716a600b007ae9abf1990si5697378ejc.352.2022.11.25.21.12.37; Fri, 25 Nov 2022 21:13:00 -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=fail header.i=@weissschuh.net header.s=mail header.b=KEDJviVm; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230125AbiKZFKh (ORCPT <rfc822;zxc52fgh@gmail.com> + 99 others); Sat, 26 Nov 2022 00:10:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbiKZFKa (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 26 Nov 2022 00:10:30 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65E0E30F43 for <linux-kernel@vger.kernel.org>; Fri, 25 Nov 2022 21:10:29 -0800 (PST) From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <linux@weissschuh.net> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1669439427; bh=XbTFOdNwEbWCIbMTsixNKHLPlvR9YwQ8MRhGh7pfdfU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KEDJviVmcGIoAZ29qGUwhmhoiEhAX4R99+RJOa0pX3LwziRnhS14JR7qWiRMhagC7 RTbfctuyrS3IPQo/sVTKDw81mG+becR4zmDCNMYB9N3A1rBeX7DfUOjIcZZ8S/LfTH 86xGSlJQ5wkJEljiuHPDwnUDFfi7aGL7tQWlpjH8= To: Luis Chamberlain <mcgrof@kernel.org>, Russ Weight <russell.h.weight@intel.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "Rafael J. Wysocki" <rafael@kernel.org>, linuxppc-dev@lists.ozlabs.org Cc: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <linux@weissschuh.net>, Masahiro Yamada <masahiroy@kernel.org>, linux-kernel@vger.kernel.org, Michael Ellerman <mpe@ellerman.id.au>, Nicholas Piggin <npiggin@gmail.com> Subject: [PATCH 2/3] powerpc/book3e: remove #include <generated/utsrelease.h> Date: Sat, 26 Nov 2022 06:10:00 +0100 Message-Id: <20221126051002.123199-2-linux@weissschuh.net> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221126051002.123199-1-linux@weissschuh.net> References: <20221126051002.123199-1-linux@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=ed25519-sha256; t=1669439380; l=805; i=linux@weissschuh.net; s=20211113; h=from:subject; bh=XbTFOdNwEbWCIbMTsixNKHLPlvR9YwQ8MRhGh7pfdfU=; b=kQK8DpdAJ/pYABAEO/dZmoDkwDFnpINyHc1jyw1qTilCAmJpLLJRpKINy3k9dz5MqbyUr/+hYBKJ iTPoLnosAwMI6k89cxFEhMZxKlZHsRXKfsKe5Deam2d+h6WWLtiI X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=9LP6KM4vD/8CwHW7nouRBhWLyQLcK1MkP6aTZbzUlj4= Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750534277644236741?= X-GMAIL-MSGID: =?utf-8?q?1750534277644236741?= |
Series |
[1/3] firmware_loader: remove #include <generated/utsrelease.h>
|
|
Commit Message
Thomas Weißschuh
Nov. 26, 2022, 5:10 a.m. UTC
Commit 7ad4bd887d27 ("powerpc/book3e: get rid of #include <generated/compile.h>")
removed the usage of the define UTS_VERSION but forgot to drop the
include.
Fixes: 7ad4bd887d27 ("powerpc/book3e: get rid of #include <generated/compile.h>")
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
arch/powerpc/mm/nohash/kaslr_booke.c | 1 -
1 file changed, 1 deletion(-)
Comments
Le 26/11/2022 à 06:10, Thomas Weißschuh a écrit : > Commit 7ad4bd887d27 ("powerpc/book3e: get rid of #include <generated/compile.h>") > removed the usage of the define UTS_VERSION but forgot to drop the > include. What about: arch/powerpc/platforms/52xx/efika.c arch/powerpc/platforms/amigaone/setup.c arch/powerpc/platforms/chrp/setup.c arch/powerpc/platforms/powermac/bootx_init.c I believe you can do a lot more than what you did in your series. List of files using UTS_VERSION : $ git grep -l UTS_VERSION Documentation/kbuild/kbuild.rst arch/s390/boot/version.c arch/x86/boot/compressed/kaslr.c arch/x86/boot/version.c init/Makefile init/version-timestamp.c List of files including generated/utsrelease.h : $ git grep -l "#include <generated/utsrelease.h>" Documentation/target/tcm_mod_builder.py arch/alpha/boot/bootp.c arch/alpha/boot/bootpz.c arch/alpha/boot/main.c arch/powerpc/mm/nohash/kaslr_booke.c arch/powerpc/platforms/52xx/efika.c arch/powerpc/platforms/amigaone/setup.c arch/powerpc/platforms/chrp/setup.c arch/powerpc/platforms/powermac/bootx_init.c arch/s390/boot/version.c arch/x86/boot/compressed/kaslr.c arch/x86/boot/version.c crypto/fips.c drivers/auxdisplay/arm-charlcd.c drivers/auxdisplay/charlcd.c drivers/auxdisplay/line-display.c drivers/base/firmware_loader/firmware.h drivers/base/firmware_loader/main.c drivers/gpu/drm/amd/amdgpu/amdgpu_device.c drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c drivers/gpu/drm/msm/msm_gpu.c drivers/gpu/drm/vmwgfx/vmwgfx_drv.c drivers/net/bonding/bonding_priv.h drivers/net/ethernet/intel/i40e/i40e_main.c drivers/net/ethernet/intel/ice/ice_main.c drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c drivers/net/ethernet/intel/ixgbe/ixgbe_main.c drivers/net/ethernet/pensando/ionic/ionic_main.c drivers/net/ethernet/rocker/rocker_main.c drivers/net/team/team.c drivers/nvme/target/admin-cmd.c drivers/nvme/target/discovery.c drivers/power/supply/test_power.c drivers/staging/octeon/ethernet-mdio.c drivers/target/target_core_configfs.c drivers/target/tcm_fc/tfc_conf.c drivers/vhost/scsi.c drivers/xen/xen-scsiback.c include/linux/vermagic.h init/version-timestamp.c init/version.c kernel/sys.c kernel/trace/trace.c net/ethtool/ioctl.c net/rxrpc/local_event.c security/integrity/ima/ima_init.c Christophe > > Fixes: 7ad4bd887d27 ("powerpc/book3e: get rid of #include <generated/compile.h>") > Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> > --- > arch/powerpc/mm/nohash/kaslr_booke.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/powerpc/mm/nohash/kaslr_booke.c b/arch/powerpc/mm/nohash/kaslr_booke.c > index 0d04f9d5da8d..2fb3edafe9ab 100644 > --- a/arch/powerpc/mm/nohash/kaslr_booke.c > +++ b/arch/powerpc/mm/nohash/kaslr_booke.c > @@ -19,7 +19,6 @@ > #include <asm/cacheflush.h> > #include <asm/kdump.h> > #include <mm/mmu_decl.h> > -#include <generated/utsrelease.h> > > struct regions { > unsigned long pa_start;
On 2022-11-26 07:36+0000, Christophe Leroy wrote: > Le 26/11/2022 à 06:10, Thomas Weißschuh a écrit : >> Commit 7ad4bd887d27 ("powerpc/book3e: get rid of #include <generated/compile.h>") >> removed the usage of the define UTS_VERSION but forgot to drop the >> include. > > What about: > arch/powerpc/platforms/52xx/efika.c > arch/powerpc/platforms/amigaone/setup.c > arch/powerpc/platforms/chrp/setup.c > arch/powerpc/platforms/powermac/bootx_init.c > > I believe you can do a lot more than what you did in your series. The commit messages are wrong. They should have said UTS_RELEASE instead of UTS_VERSION. Could the maintainers fix this up when applying? I also changed it locally so it will be fixed for v2. > List of files using UTS_VERSION : > > $ git grep -l UTS_VERSION > [..] Thomas
Le 26/11/2022 à 15:07, Thomas Weißschuh a écrit : > On 2022-11-26 07:36+0000, Christophe Leroy wrote: >> Le 26/11/2022 à 06:10, Thomas Weißschuh a écrit : >>> Commit 7ad4bd887d27 ("powerpc/book3e: get rid of #include <generated/compile.h>") >>> removed the usage of the define UTS_VERSION but forgot to drop the >>> include. >> >> What about: >> arch/powerpc/platforms/52xx/efika.c >> arch/powerpc/platforms/amigaone/setup.c >> arch/powerpc/platforms/chrp/setup.c >> arch/powerpc/platforms/powermac/bootx_init.c >> >> I believe you can do a lot more than what you did in your series. > > The commit messages are wrong. > They should have said UTS_RELEASE instead of UTS_VERSION. Ah, ok. So your series is complete then: $ git grep -L UTS_RELEASE `git grep -l "#include <generated/utsrelease.h>"` Documentation/target/tcm_mod_builder.py arch/powerpc/mm/nohash/kaslr_booke.c drivers/base/firmware_loader/firmware.h init/version.c Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> > > Could the maintainers fix this up when applying? > I also changed it locally so it will be fixed for v2. > >> List of files using UTS_VERSION : >> >> $ git grep -l UTS_VERSION >> [..] > > Thomas
On Sat, Nov 26, 2022 at 2:10 PM Thomas Weißschuh <linux@weissschuh.net> wrote: > > Commit 7ad4bd887d27 ("powerpc/book3e: get rid of #include <generated/compile.h>") > removed the usage of the define UTS_VERSION but forgot to drop the > include. > > Fixes: 7ad4bd887d27 ("powerpc/book3e: get rid of #include <generated/compile.h>") > Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> > --- Assuming you will fix the commit description, Reviewed-by: Masahiro Yamada <masahiroy@kernel.org> > arch/powerpc/mm/nohash/kaslr_booke.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/powerpc/mm/nohash/kaslr_booke.c b/arch/powerpc/mm/nohash/kaslr_booke.c > index 0d04f9d5da8d..2fb3edafe9ab 100644 > --- a/arch/powerpc/mm/nohash/kaslr_booke.c > +++ b/arch/powerpc/mm/nohash/kaslr_booke.c > @@ -19,7 +19,6 @@ > #include <asm/cacheflush.h> > #include <asm/kdump.h> > #include <mm/mmu_decl.h> > -#include <generated/utsrelease.h> > > struct regions { > unsigned long pa_start; > -- > 2.38.1 > -- Best Regards Masahiro Yamada
Thomas Weißschuh <linux@weissschuh.net> writes: > On 2022-11-26 07:36+0000, Christophe Leroy wrote: >> Le 26/11/2022 à 06:10, Thomas Weißschuh a écrit : >>> Commit 7ad4bd887d27 ("powerpc/book3e: get rid of #include <generated/compile.h>") >>> removed the usage of the define UTS_VERSION but forgot to drop the >>> include. >> >> What about: >> arch/powerpc/platforms/52xx/efika.c >> arch/powerpc/platforms/amigaone/setup.c >> arch/powerpc/platforms/chrp/setup.c >> arch/powerpc/platforms/powermac/bootx_init.c >> >> I believe you can do a lot more than what you did in your series. > > The commit messages are wrong. > They should have said UTS_RELEASE instead of UTS_VERSION. > > Could the maintainers fix this up when applying? > I also changed it locally so it will be fixed for v2. I'll take this patch, but not the others. cheers
On Mon, Nov 28, 2022 at 7:59 AM Michael Ellerman <mpe@ellerman.id.au> wrote: > > Thomas Weißschuh <linux@weissschuh.net> writes: > > On 2022-11-26 07:36+0000, Christophe Leroy wrote: > >> Le 26/11/2022 à 06:10, Thomas Weißschuh a écrit : > >>> Commit 7ad4bd887d27 ("powerpc/book3e: get rid of #include <generated/compile.h>") > >>> removed the usage of the define UTS_VERSION but forgot to drop the > >>> include. > >> > >> What about: > >> arch/powerpc/platforms/52xx/efika.c > >> arch/powerpc/platforms/amigaone/setup.c > >> arch/powerpc/platforms/chrp/setup.c > >> arch/powerpc/platforms/powermac/bootx_init.c > >> > >> I believe you can do a lot more than what you did in your series. > > > > The commit messages are wrong. > > They should have said UTS_RELEASE instead of UTS_VERSION. > > > > Could the maintainers fix this up when applying? > > I also changed it locally so it will be fixed for v2. > > I'll take this patch, but not the others. > > cheers Okay, I applied 1/3 and 3/3 to the kbuild tree.
diff --git a/arch/powerpc/mm/nohash/kaslr_booke.c b/arch/powerpc/mm/nohash/kaslr_booke.c index 0d04f9d5da8d..2fb3edafe9ab 100644 --- a/arch/powerpc/mm/nohash/kaslr_booke.c +++ b/arch/powerpc/mm/nohash/kaslr_booke.c @@ -19,7 +19,6 @@ #include <asm/cacheflush.h> #include <asm/kdump.h> #include <mm/mmu_decl.h> -#include <generated/utsrelease.h> struct regions { unsigned long pa_start;