linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Masahiro Yamada <masahiroy@kernel.org>
To: "Thomas Weißschuh" <linux@weissschuh.net>
Cc: Russ Weight <russell.h.weight@intel.com>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-kernel@vger.kernel.org, Nicholas Piggin <npiggin@gmail.com>,
	Luis Chamberlain <mcgrof@kernel.org>,
	linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH 3/3] init/version.c: remove #include <generated/utsversion.h>
Date: Sun, 27 Nov 2022 07:18:11 +0900	[thread overview]
Message-ID: <CAK7LNAREVSp_5d1SaFOLyBHJJrJ6zE_qxSYWAFFnfoz3d0w3-Q@mail.gmail.com> (raw)
In-Reply-To: <20221126051002.123199-3-linux@weissschuh.net>

On Sat, Nov 26, 2022 at 2:10 PM Thomas Weißschuh <linux@weissschuh.net> 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 <masahiroy@kernel.org>

>
> 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ßschuh <linux@weissschuh.net>
> ---
>  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 <linux/printk.h>
>  #include <linux/uts.h>
>  #include <linux/utsname.h>
> -#include <generated/utsrelease.h>
>  #include <linux/proc_ns.h>
>
>  static int __init early_hostname(char *arg)
> --
> 2.38.1
>


-- 
Best Regards
Masahiro Yamada

  reply	other threads:[~2022-11-26 22:20 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-26  5:09 [PATCH 1/3] firmware_loader: remove #include <generated/utsrelease.h> Thomas Weißschuh
2022-11-26  5:10 ` [PATCH 2/3] powerpc/book3e: " Thomas Weißschuh
2022-11-26  7:36   ` Christophe Leroy
2022-11-26 14:07     ` Thomas Weißschuh
2022-11-26 14:54       ` Christophe Leroy
2022-11-27 22:59       ` Michael Ellerman
2022-11-29  9:34         ` Masahiro Yamada
2022-11-26 22:17   ` Masahiro Yamada
2022-11-26  5:10 ` [PATCH 3/3] init/version.c: remove #include <generated/utsversion.h> Thomas Weißschuh
2022-11-26 22:18   ` Masahiro Yamada [this message]
2022-11-29  9:33     ` Masahiro Yamada
2022-11-26 22:13 ` [PATCH 1/3] firmware_loader: remove #include <generated/utsrelease.h> Masahiro Yamada
2022-11-29  1:18 ` Russ Weight
2022-11-29  9:31   ` Masahiro Yamada
2022-12-08 12:39 ` (subset) " Michael Ellerman

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=CAK7LNAREVSp_5d1SaFOLyBHJJrJ6zE_qxSYWAFFnfoz3d0w3-Q@mail.gmail.com \
    --to=masahiroy@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@weissschuh.net \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mcgrof@kernel.org \
    --cc=npiggin@gmail.com \
    --cc=rafael@kernel.org \
    --cc=russell.h.weight@intel.com \
    /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).