From mboxrd@z Thu Jan  1 00:00:00 1970
From: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: linux-next: build warning after merge of the kbuild tree
Date: Thu, 30 Sep 2010 10:50:25 +1000
Message-ID: <20100930105025.c46e2fe0.sfr@canb.auug.org.au>
Mime-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
 micalg="PGP-SHA1";
 boundary="Signature=_Thu__30_Sep_2010_10_50_25_+1000_ZIFz1/Ihpu/qgQnF"
Return-path: <linux-next-owner@vger.kernel.org>
Received: from chilli.pcug.org.au ([203.10.76.44]:37185 "EHLO smtps.tip.net.au"
	rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
	id S1750996Ab0I3Auf (ORCPT <rfc822;linux-next@vger.kernel.org>);
	Wed, 29 Sep 2010 20:50:35 -0400
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Michal Marek <mmarek@suse.cz>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Arnaud Lacombe <lacombar@gmail.com>, Sam Ravnborg <sam@ravnborg.org>

--Signature=_Thu__30_Sep_2010_10_50_25_+1000_ZIFz1/Ihpu/qgQnF
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Michal,

After merging the kbuild tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

scripts/kconfig/kxgettext.c: In function 'menu_build_message_list':
scripts/kconfig/kxgettext.c:175: warning: passing argument 3 of 'message__a=
dd' discards qualifiers from pointer target type
scripts/kconfig/kxgettext.c:148: note: expected 'char *' but argument is of=
 type 'const char * const'
scripts/kconfig/kxgettext.c:180: warning: passing argument 3 of 'message__a=
dd' discards qualifiers from pointer target type
scripts/kconfig/kxgettext.c:148: note: expected 'char *' but argument is of=
 type 'const char * const'

Probably caused by commit 2e7a091833f014cac8a6b92573ca6cd2edd2753c
("kconfig: constify file name").

--=20
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

--Signature=_Thu__30_Sep_2010_10_50_25_+1000_ZIFz1/Ihpu/qgQnF
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJMo97RAAoJEDMEi1NhKgbslj8H/0P3V/ne7ILuyCyCpDy3UTmh
PkM0wb87JuV5eioyV3Hpy2bCkXsmnD7b56wXWyzNAGfgs4c2JgJsjL+tqBeWjr20
UJyllal28zBBiXlZD68hUAJBI+f8YUdIyEHLebCiTxb68RN1HXQ0o3BAk4Z1TS69
DGW4G0qWirEuLyjoLthSk8NxKu3A4gsA2XugzdgWP8WoG9wK8iFe9+eCu8vaTQBb
kIO4xPz6TGwRSXXh9MTEr2AECrCjS2Jnh/fdUOzrMTtFC+w1+SCabBSjnaZrTumM
TIJDfU9/QAW6iGiaSUdf0iHP1tciprc/xYL6UHMorE31KHJWLhnzFYG04FJ3ixs=
=0lBA
-----END PGP SIGNATURE-----

--Signature=_Thu__30_Sep_2010_10_50_25_+1000_ZIFz1/Ihpu/qgQnF--

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: linux-next: build warning after merge of the kbuild tree
Date: Thu, 30 Sep 2010 10:52:22 +1000
Message-ID: <20100930105222.d1dd6606.sfr@canb.auug.org.au>
Mime-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
 micalg="PGP-SHA1";
 boundary="Signature=_Thu__30_Sep_2010_10_52_22_+1000_ZlcQPC6xi6bGkyeF"
Return-path: <linux-next-owner@vger.kernel.org>
Received: from chilli.pcug.org.au ([203.10.76.44]:43425 "EHLO smtps.tip.net.au"
	rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
	id S1751194Ab0I3Aw1 (ORCPT <rfc822;linux-next@vger.kernel.org>);
	Wed, 29 Sep 2010 20:52:27 -0400
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Michal Marek <mmarek@suse.cz>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Arnaud Lacombe <lacombar@gmail.com>, Sam Ravnborg <sam@ravnborg.org>

--Signature=_Thu__30_Sep_2010_10_52_22_+1000_ZlcQPC6xi6bGkyeF
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Michal,

After merging the kbuild tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

In file included from scripts/kconfig/zconf.tab.c:2485:
scripts/kconfig/symbol.c: In function 'sym_expand_string_value':
scripts/kconfig/symbol.c:881: warning: ignoring return value of 'realloc', =
declared with attribute warn_unused_result

Introduced by commit 76a540958af5390a94b7f68c46cb7f2aed34ccf1 ("kconfig:
add a symbol string expansion helper").

--=20
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

--Signature=_Thu__30_Sep_2010_10_52_22_+1000_ZlcQPC6xi6bGkyeF
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJMo99GAAoJEDMEi1NhKgbsvAkH/iqtZo1XxaYEDMvHWmT1v5Gg
HwSfXQmsmlJYPrKurgMJquv/29Pee2bppG+ZhpytBp01n15e108yQ/zEGykK7vQ1
ZspfiFFtyxKwKwavNp9ZB/coYl6r4WfPvAv5rPCB9RaCH+XZfg1TLUeINTCk7iis
jc0rVSa7me9DhsWveoCqiC81LaDfrf5hS/35JYtYszxzT8ubRWS5qwBd8tDZM5HD
36Zvh0eqo0Oxi8/oFr6yiWZFXyNP5cQvKITAmtrMWTX0IFCZrUam4rtfLSrHsxw4
f0ttaSQKymftQtRUQkoy9mFn2iG9Ghk02AVfnZQl0NQsfqBMrsAHJIlV5nGdyfw=
=7wgJ
-----END PGP SIGNATURE-----

--Signature=_Thu__30_Sep_2010_10_52_22_+1000_ZlcQPC6xi6bGkyeF--

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Michal Marek <mmarek@suse.cz>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Date: Thu, 30 Sep 2010 22:24:28 +0200
Message-ID: <20100930202428.GB25629@sepie.suse.cz>
References: <20100930105222.d1dd6606.sfr@canb.auug.org.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Return-path: <linux-next-owner@vger.kernel.org>
Received: from cantor.suse.de ([195.135.220.2]:53923 "EHLO mx1.suse.de"
	rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
	id S1751885Ab0I3UY3 (ORCPT <rfc822;linux-next@vger.kernel.org>);
	Thu, 30 Sep 2010 16:24:29 -0400
Content-Disposition: inline
In-Reply-To: <20100930105222.d1dd6606.sfr@canb.auug.org.au>
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Arnaud Lacombe <lacombar@gmail.com>, Sam Ravnborg <sam@ravnborg.org>

On Thu, Sep 30, 2010 at 10:52:22AM +1000, Stephen Rothwell wrote:
> After merging the kbuild tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
> 
> In file included from scripts/kconfig/zconf.tab.c:2485:
> scripts/kconfig/symbol.c: In function 'sym_expand_string_value':
> scripts/kconfig/symbol.c:881: warning: ignoring return value of 'realloc', declared with attribute warn_unused_result
> 
> Introduced by commit 76a540958af5390a94b7f68c46cb7f2aed34ccf1 ("kconfig:
> add a symbol string expansion helper").

Thanks a lot for spotting it, fixed with

From: Michal Marek <mmarek@suse.cz>
Subject: kconfig: Fix realloc usage()

Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Michal Marek <mmarek@suse.cz>
---
 scripts/kconfig/symbol.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c
index dc5dcf2..c0efe10 100644
--- a/scripts/kconfig/symbol.c
+++ b/scripts/kconfig/symbol.c
@@ -878,7 +878,7 @@ const char *sym_expand_string_value(const char *in)
 		newlen = strlen(res) + strlen(symval) + strlen(src);
 		if (newlen > reslen) {
 			reslen = newlen;
-			realloc(res, reslen);
+			res = realloc(res, reslen);
 		}
 
 		strcat(res, symval);

Actually dealing with OOM condition would be another patch, right now
most of kconfig ignores it.

Michal

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Michal Marek <mmarek@suse.cz>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Date: Thu, 30 Sep 2010 22:25:07 +0200
Message-ID: <20100930202507.GC25629@sepie.suse.cz>
References: <20100930105025.c46e2fe0.sfr@canb.auug.org.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Return-path: <linux-next-owner@vger.kernel.org>
Received: from cantor.suse.de ([195.135.220.2]:53948 "EHLO mx1.suse.de"
	rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
	id S932188Ab0I3UZI (ORCPT <rfc822;linux-next@vger.kernel.org>);
	Thu, 30 Sep 2010 16:25:08 -0400
Content-Disposition: inline
In-Reply-To: <20100930105025.c46e2fe0.sfr@canb.auug.org.au>
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Arnaud Lacombe <lacombar@gmail.com>, Sam Ravnborg <sam@ravnborg.org>

On Thu, Sep 30, 2010 at 10:50:25AM +1000, Stephen Rothwell wrote:
> Hi Michal,
> 
> After merging the kbuild tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
> 
> scripts/kconfig/kxgettext.c: In function 'menu_build_message_list':
> scripts/kconfig/kxgettext.c:175: warning: passing argument 3 of 'message__add' discards qualifiers from pointer target type
> scripts/kconfig/kxgettext.c:148: note: expected 'char *' but argument is of type 'const char * const'
> scripts/kconfig/kxgettext.c:180: warning: passing argument 3 of 'message__add' discards qualifiers from pointer target type
> scripts/kconfig/kxgettext.c:148: note: expected 'char *' but argument is of type 'const char * const'

Thanks, fixed with


From: Michal Marek <mmarek@suse.cz>
Subject: kconfig: Propagate const

Commit 2e7a091 made struct file->name a const char*, but forgot to
constify all users of it.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Michal Marek <mmarek@suse.cz>
---
 scripts/kconfig/kxgettext.c |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/scripts/kconfig/kxgettext.c b/scripts/kconfig/kxgettext.c
index dcc3fcc..e9d8e79 100644
--- a/scripts/kconfig/kxgettext.c
+++ b/scripts/kconfig/kxgettext.c
@@ -63,11 +63,11 @@ next:
 
 struct file_line {
 	struct file_line *next;
-	char*		 file;
-	int		 lineno;
+	const char *file;
+	int lineno;
 };
 
-static struct file_line *file_line__new(char *file, int lineno)
+static struct file_line *file_line__new(const char *file, int lineno)
 {
 	struct file_line *self = malloc(sizeof(*self));
 
@@ -90,7 +90,8 @@ struct message {
 
 static struct message *message__list;
 
-static struct message *message__new(const char *msg, char *option, char *file, int lineno)
+static struct message *message__new(const char *msg, char *option,
+				    const char *file, int lineno)
 {
 	struct message *self = malloc(sizeof(*self));
 
@@ -130,7 +131,8 @@ static struct message *mesage__find(const char *msg)
 	return m;
 }
 
-static int message__add_file_line(struct message *self, char *file, int lineno)
+static int message__add_file_line(struct message *self, const char *file,
+				  int lineno)
 {
 	int rc = -1;
 	struct file_line *fl = file_line__new(file, lineno);
@@ -145,7 +147,8 @@ out:
 	return rc;
 }
 
-static int message__add(const char *msg, char *option, char *file, int lineno)
+static int message__add(const char *msg, char *option, const char *file,
+			int lineno)
 {
 	int rc = 0;
 	char bf[16384];
-- 
1.7.1

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: linux-next: build warning after merge of the kbuild tree
Date: Thu, 23 Dec 2010 11:00:48 +1100
Message-ID: <20101223110048.09ff9f40.sfr@canb.auug.org.au>
Mime-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
 micalg="PGP-SHA1";
 boundary="Signature=_Thu__23_Dec_2010_11_00_48_+1100_PF5e8DQFeM4u/F7i"
Return-path: <linux-next-owner@vger.kernel.org>
Received: from chilli.pcug.org.au ([203.10.76.44]:36490 "EHLO smtps.tip.net.au"
	rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
	id S1751567Ab0LWABF (ORCPT <rfc822;linux-next@vger.kernel.org>);
	Wed, 22 Dec 2010 19:01:05 -0500
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Michal Marek <mmarek@suse.cz>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Arnaud Lacombe <lacombar@gmail.com>

--Signature=_Thu__23_Dec_2010_11_00_48_+1100_PF5e8DQFeM4u/F7i
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Michal,

After merging the kbuild tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

In file included from scripts/kconfig/zconf.tab.c:2502:
scripts/kconfig/expr.c:1033: warning: no previous prototype for 'expr_simpl=
ify_unmet_dep'

Introduced by commit 1137c56b7420c801147e0863845c03b07554721a ("kconfig:
simplify select-with-unmet-direct-dependency warning").

--=20
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

--Signature=_Thu__23_Dec_2010_11_00_48_+1100_PF5e8DQFeM4u/F7i
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJNEpEwAAoJEDMEi1NhKgbs9EEIAKMumuD1o0ZmG04Xb6LeymVS
ApbQbpA2Mdh6kqX0dJNYw5g3SE5gFlomT/iwGQqDGsr4py5Uar4HvElXA2YJ51Bv
60ZwIJiMcxm27O7Hz6T2Mxr8TKc1036SwkH2siRKO0GBgjWj9XImbKALh5i73HSL
97DzNvqU6rh+fwDM1n4a8+wtYoWFkFv/CEE/0AHOA3DO6hm2buP/4cSpEVB5BUHp
T0K/ibsxeSJYsn/J824bNh6N09cmjY5I7GMshSL+COcE7jP+Mz90xsUIN1dxG8q8
RhGkHhFiLw0B0ZS+ZWiXAO4s7eVRRI0xCDmQSi2JxO0L/Tralz+bL1uiPAFVSlE=
=ZuVQ
-----END PGP SIGNATURE-----

--Signature=_Thu__23_Dec_2010_11_00_48_+1100_PF5e8DQFeM4u/F7i--

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: linux-next: build warning after merge of the kbuild tree
Date: Mon, 2 May 2011 12:18:17 +1000
Message-ID: <20110502121817.645d544e.sfr@canb.auug.org.au>
Mime-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
 micalg="PGP-SHA1";
 boundary="Signature=_Mon__2_May_2011_12_18_17_+1000_jAiTRfpCYlNAUFkN"
Return-path: <linux-next-owner@vger.kernel.org>
Received: from chilli.pcug.org.au ([203.10.76.44]:41961 "EHLO smtps.tip.net.au"
	rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
	id S1754348Ab1EBCSY (ORCPT <rfc822;linux-next@vger.kernel.org>);
	Sun, 1 May 2011 22:18:24 -0400
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Michal Marek <mmarek@suse.cz>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Dave Jones <davej@redhat.com>, Sam Ravnborg <sam@ravnborg.org>

--Signature=_Mon__2_May_2011_12_18_17_+1000_jAiTRfpCYlNAUFkN
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Michal,

After merging the kbuild tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

At top level:
cc1: warning: unrecognized command line option "-Wno-unused-but-set-variabl=
e"

Presumably caused by commit af0e5d565d2f ("kbuild: Disable
-Wunused-but-set-variable for gcc 4.6.0") though I don't see why.  I am
using gcc version 4.4.5.

--=20
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

--Signature=_Mon__2_May_2011_12_18_17_+1000_jAiTRfpCYlNAUFkN
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJNvhRpAAoJEDMEi1NhKgbsR84H/2tCqes0QDi/NF8WCSn8PE1N
Nmt0wGxBTTFHwBCNH6yt+yCGXNUCLJAmfXI7oB3SYjcwlOE1hAqftwU+CmNy6e8W
ztWOmBkF8R+09jfMnT/kzYHcp5G1Xnlv0ZXt8XjKIOF3TwXnnuc+O0KoQty8TsTW
lIpggJS1luRSga3XGYJsOTbFx9maejA6Mh5wDDoB0Wr4uzt8iaBwUxl/vZvW6aPw
RxfjZ66/jO2JziwTOd8j20YFNxA3odl5uA7hTK3v4UJRVRZeCYkLrVr9ubyhlckN
TkpB3pgxA5zv7ry/3PFOxYPcJHQNE55r9sX7QVXzHR9TqKplIFC2sQU8+tXmkp8=
=eNkC
-----END PGP SIGNATURE-----

--Signature=_Mon__2_May_2011_12_18_17_+1000_jAiTRfpCYlNAUFkN--

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Dave Jones <davej@redhat.com>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Date: Sun, 1 May 2011 22:24:18 -0400
Message-ID: <20110502022417.GA11804@redhat.com>
References: <20110502121817.645d544e.sfr@canb.auug.org.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Return-path: <linux-next-owner@vger.kernel.org>
Received: from mx1.redhat.com ([209.132.183.28]:27097 "EHLO mx1.redhat.com"
	rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
	id S1754384Ab1EBCY3 (ORCPT <rfc822;linux-next@vger.kernel.org>);
	Sun, 1 May 2011 22:24:29 -0400
Content-Disposition: inline
In-Reply-To: <20110502121817.645d544e.sfr@canb.auug.org.au>
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Michal Marek <mmarek@suse.cz>, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>

On Mon, May 02, 2011 at 12:18:17PM +1000, Stephen Rothwell wrote:
 > Hi Michal,
 > 
 > After merging the kbuild tree, today's linux-next build (x86_64
 > allmodconfig) produced this warning:
 > 
 > At top level:
 > cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
 > 
 > Presumably caused by commit af0e5d565d2f ("kbuild: Disable
 > -Wunused-but-set-variable for gcc 4.6.0") though I don't see why.  I am
 > using gcc version 4.4.5.

Which version of the patch got merged ? This should be guarded by cc-option checks.

	Dave

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Date: Mon, 2 May 2011 13:45:24 +1000
Message-ID: <20110502134524.40da4245.sfr@canb.auug.org.au>
References: <20110502121817.645d544e.sfr@canb.auug.org.au>
	<20110502022417.GA11804@redhat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Return-path: <linux-next-owner@vger.kernel.org>
Received: from chilli.pcug.org.au ([203.10.76.44]:40411 "EHLO smtps.tip.net.au"
	rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
	id S1751966Ab1EBDpc (ORCPT <rfc822;linux-next@vger.kernel.org>);
	Sun, 1 May 2011 23:45:32 -0400
In-Reply-To: <20110502022417.GA11804@redhat.com>
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Dave Jones <davej@redhat.com>
Cc: Michal Marek <mmarek@suse.cz>, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>

Hi Dave,

On Sun, 1 May 2011 22:24:18 -0400 Dave Jones <davej@redhat.com> wrote:
>
> Which version of the patch got merged ? This should be guarded by cc-option checks.

It looks right to me (that's why I wrote "though I don't see why") but
empirically we have a problem.

This is what is in -next today:

From: Dave Jones <davej@redhat.com>
Date: Thu, 21 Apr 2011 17:28:13 -0400
Subject: [PATCH] kbuild: Disable -Wunused-but-set-variable for gcc 4.6.0

Disable the new -Wunused-but-set-variable that was added in gcc 4.6.0
It produces more false positives than useful warnings.

This can still be enabled using W=1

Signed-off-by: Dave Jones <davej@redhat.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Tested-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
---
 Makefile               |    4 ++++
 scripts/Makefile.build |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index e509cc7..4527dc2 100644
--- a/Makefile
+++ b/Makefile
@@ -567,6 +567,10 @@ ifndef CONFIG_CC_STACKPROTECTOR
 KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector)
 endif
 
+# This warning generated too much noise in a regular build.
+# Use make W=1 to enable this warning (see scripts/Makefile.build)
+KBUILD_CFLAGS += $(call cc-option, -Wno-unused-but-set-variable)
+
 ifdef CONFIG_FRAME_POINTER
 KBUILD_CFLAGS	+= -fno-omit-frame-pointer -fno-optimize-sibling-calls
 else
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 9c0c481..9fb19c0 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -66,6 +66,7 @@ warning-1 += -Wmissing-format-attribute
 warning-1 += -Wmissing-prototypes
 warning-1 += -Wold-style-definition
 warning-1 += $(call cc-option, -Wmissing-include-dirs)
+warning-1 += $(call cc-option, -Wunused-but-set-variable)
 
 warning-2 := -Waggregate-return
 warning-2 += -Wcast-align
-- 
1.7.4.4

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Dave Jones <davej@redhat.com>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Date: Mon, 2 May 2011 00:02:16 -0400
Message-ID: <20110502040216.GC11804@redhat.com>
References: <20110502121817.645d544e.sfr@canb.auug.org.au>
 <20110502022417.GA11804@redhat.com>
 <20110502134524.40da4245.sfr@canb.auug.org.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Return-path: <linux-kernel-owner@vger.kernel.org>
Content-Disposition: inline
In-Reply-To: <20110502134524.40da4245.sfr@canb.auug.org.au>
Sender: linux-kernel-owner@vger.kernel.org
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Michal Marek <mmarek@suse.cz>, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>
List-Id: linux-next.vger.kernel.org

On Mon, May 02, 2011 at 01:45:24PM +1000, Stephen Rothwell wrote:

 > diff --git a/scripts/Makefile.build b/scripts/Makefile.build
 > index 9c0c481..9fb19c0 100644
 > --- a/scripts/Makefile.build
 > +++ b/scripts/Makefile.build
 > @@ -66,6 +66,7 @@ warning-1 += -Wmissing-format-attribute
 >  warning-1 += -Wmissing-prototypes
 >  warning-1 += -Wold-style-definition
 >  warning-1 += $(call cc-option, -Wmissing-include-dirs)
 > +warning-1 += $(call cc-option, -Wunused-but-set-variable)

Subtly different from what I wrote.. the version I wrote did this ..

+KBUILD_EXTRA_WARNINGS += $(call cc-option, -Wunused-but-set-variable)

I just tested with the gcc 4.4.5 on master.kernel.org, with a tip of Linus'
tree with my original diff, and it didn't complain at all. 
What does gcc -v say ?
gcc version 4.4.5 20101112 (Red Hat 4.4.5-2) (GCC)  seems to be fine.

(note the above hunk isn't relevant unless using W=1 builds anyway,
so I'm at a loss as to what broke it..)

	Dave

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Date: Mon, 2 May 2011 14:24:54 +1000
Message-ID: <20110502142454.a7091ad5.sfr@canb.auug.org.au>
References: <20110502121817.645d544e.sfr@canb.auug.org.au>
	<20110502022417.GA11804@redhat.com>
	<20110502134524.40da4245.sfr@canb.auug.org.au>
Mime-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
 micalg="PGP-SHA1";
 boundary="Signature=_Mon__2_May_2011_14_24_54_+1000_XXx0AoRL4obQTmFo"
Return-path: <linux-next-owner@vger.kernel.org>
Received: from chilli.pcug.org.au ([203.10.76.44]:58655 "EHLO smtps.tip.net.au"
	rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
	id S1750882Ab1EBEZA (ORCPT <rfc822;linux-next@vger.kernel.org>);
	Mon, 2 May 2011 00:25:00 -0400
In-Reply-To: <20110502134524.40da4245.sfr@canb.auug.org.au>
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Dave Jones <davej@redhat.com>
Cc: Michal Marek <mmarek@suse.cz>, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>

--Signature=_Mon__2_May_2011_14_24_54_+1000_XXx0AoRL4obQTmFo
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Dave,

On Mon, 2 May 2011 13:45:24 +1000 Stephen Rothwell <sfr@canb.auug.org.au> w=
rote:
>
> On Sun, 1 May 2011 22:24:18 -0400 Dave Jones <davej@redhat.com> wrote:
> >
> > Which version of the patch got merged ? This should be guarded by cc-op=
tion checks.
>=20
> It looks right to me (that's why I wrote "though I don't see why") but
> empirically we have a problem.

I do not get it for every compile fo a file, just a few times during a
whole kernel build.  Some config/arches do not produce any (like sparc32
defconfig).
--=20
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

--Signature=_Mon__2_May_2011_14_24_54_+1000_XXx0AoRL4obQTmFo
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJNvjIWAAoJEDMEi1NhKgbsghMH/jJU6pOH7A3UYffvpiHi628V
QTOEyxJpqB/JDt9/THHBO+7G7j9emsf8UZbGLNgbbxg+G8mTI2DDSeie0OyYSR1b
S2K1pY4m08P+6rCzPKoMdbDkgKu5dMsaG8vVa34TpK8Jx7Z5KvjOiV9FJLcMA9V1
TlsXGqU8ftG1daFCoIsdKBSDXYXxZJSLnQQ1rz07tGwQQi8BYVHHIB6/xkAOfhxd
aNevqCGCFb82uBNoo2jj8CaYuS6v4VyiibHxJiFYSYbPjRfKvB/gY+jo3qcD5OsU
A6c5qU+6G6DejzLFk9kntfjiEW2FtC0Q/HyGKIfOAHB5bC4YseX8BBKYBPmiyj8=
=7IYO
-----END PGP SIGNATURE-----

--Signature=_Mon__2_May_2011_14_24_54_+1000_XXx0AoRL4obQTmFo--

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Dave Jones <davej@redhat.com>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Date: Mon, 2 May 2011 00:36:43 -0400
Message-ID: <20110502043642.GD11804@redhat.com>
References: <20110502121817.645d544e.sfr@canb.auug.org.au>
 <20110502022417.GA11804@redhat.com>
 <20110502134524.40da4245.sfr@canb.auug.org.au>
 <20110502142454.a7091ad5.sfr@canb.auug.org.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Return-path: <linux-next-owner@vger.kernel.org>
Received: from mx1.redhat.com ([209.132.183.28]:18941 "EHLO mx1.redhat.com"
	rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
	id S1750982Ab1EBEgy (ORCPT <rfc822;linux-next@vger.kernel.org>);
	Mon, 2 May 2011 00:36:54 -0400
Content-Disposition: inline
In-Reply-To: <20110502142454.a7091ad5.sfr@canb.auug.org.au>
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Michal Marek <mmarek@suse.cz>, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>

On Mon, May 02, 2011 at 02:24:54PM +1000, Stephen Rothwell wrote:
 > Hi Dave,
 > 
 > On Mon, 2 May 2011 13:45:24 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
 > >
 > > On Sun, 1 May 2011 22:24:18 -0400 Dave Jones <davej@redhat.com> wrote:
 > > >
 > > > Which version of the patch got merged ? This should be guarded by cc-option checks.
 > > 
 > > It looks right to me (that's why I wrote "though I don't see why") but
 > > empirically we have a problem.
 > 
 > I do not get it for every compile fo a file, just a few times during a
 > whole kernel build.  Some config/arches do not produce any (like sparc32
 > defconfig).
 
That's interesting. That suggests that something isn't being built with KBUILD_CFLAGS.
I did a full defconfig build on x86-64 successfully (allmodconfig is churning away).
Can you point me at something that doesn't build ?

	Dave

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Date: Mon, 2 May 2011 14:44:14 +1000
Message-ID: <20110502144414.e0adfc69.sfr@canb.auug.org.au>
References: <20110502121817.645d544e.sfr@canb.auug.org.au>
	<20110502022417.GA11804@redhat.com>
	<20110502134524.40da4245.sfr@canb.auug.org.au>
	<20110502040216.GC11804@redhat.com>
Mime-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
 micalg="PGP-SHA1";
 boundary="Signature=_Mon__2_May_2011_14_44_14_+1000_6ueHkQ6AVjw3icyN"
Return-path: <linux-next-owner@vger.kernel.org>
Received: from chilli.pcug.org.au ([203.10.76.44]:44888 "EHLO smtps.tip.net.au"
	rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
	id S1751004Ab1EBEoT (ORCPT <rfc822;linux-next@vger.kernel.org>);
	Mon, 2 May 2011 00:44:19 -0400
In-Reply-To: <20110502040216.GC11804@redhat.com>
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Dave Jones <davej@redhat.com>
Cc: Michal Marek <mmarek@suse.cz>, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>

--Signature=_Mon__2_May_2011_14_44_14_+1000_6ueHkQ6AVjw3icyN
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Dave,

On Mon, 2 May 2011 00:02:16 -0400 Dave Jones <davej@redhat.com> wrote:
>
> Subtly different from what I wrote.. the version I wrote did this ..
>=20
> +KBUILD_EXTRA_WARNINGS +=3D $(call cc-option, -Wunused-but-set-variable)

Due to other changes in the kbuild tree, I suspect.  However, as you say,
this part is not relevant to the warning I am getting.

> I just tested with the gcc 4.4.5 on master.kernel.org, with a tip of Linu=
s'
> tree with my original diff, and it didn't complain at all.

Also see my other email.  For a i386 defconfig build, I get this warning
only twice, for a sparc64 defconfig I get 4 and for a sparc32 defconfig,
none:

At top level:
cc1: warning: unrecognized command line option "-Wno-unused-but-set-variabl=
e"

> What does gcc -v say ?
> gcc version 4.4.5 20101112 (Red Hat 4.4.5-2) (GCC)  seems to be fine.

$ /opt/cross/gcc-4.4.5-nolibc/x86_64-linux/bin/x86_64-linux-gcc -v
Using built-in specs.
Target: x86_64-linux
Configured with: /home/tony/buildall/src/gcc/configure --target=3Dx86_64-li=
nux --enable-targets=3Dall --prefix=3D/home/tony/buildall/cross.x86_64/gcc-=
4.4.5-nolibc/x86_64-linux/ --enable-languages=3Dc --with-newlib --without-h=
eaders --with-system-libunwind --disable-nls --disable-threads --disable-sh=
ared --disable-libmudflap --disable-libssp --disable-libgomp --disable-deci=
mal-float --enable-checking=3Drelease --with-mpfr=3D/home/tony/buildall/src=
/sys-x86_64 --with-gmp=3D/home/tony/buildall/src/sys-x86_64 --disable-boots=
trap
Thread model: single
gcc version 4.4.5 (GCC)=20

--=20
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

--Signature=_Mon__2_May_2011_14_44_14_+1000_6ueHkQ6AVjw3icyN
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJNvjaeAAoJEDMEi1NhKgbs1q4IAIG5vW1gmwfjq7w2+rftXlao
Fyjpu3fS3b0BmH1Wvvvz08E2Ml3iUD5j77r+YGBf+Ejp7vteyGzH4yvgIIA/owUF
C9fysu2I1sX1PIhipoTsPWYdkLrUmPydLB0VEcatrHiEwpeYZJdW286fLKqQiVDO
D/mkQmCBUha7jYYjCMXpO4/O3Y7cDMMuKur3hswDkjOR7TbEBB8pEau7iiqe3x9h
NwseyNV4oBghzClknjnMjwEK0YaLWm2aNWuP4KyzWYOK6jOgRFItzVLyLoQLndi2
m8T1jz6hsi+lXeZQ9koag45QAVZvUscI9MKrq/otOrfmcAgS5ZPv5DObR67Mylc=
=1l+7
-----END PGP SIGNATURE-----

--Signature=_Mon__2_May_2011_14_44_14_+1000_6ueHkQ6AVjw3icyN--

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Date: Mon, 2 May 2011 14:53:38 +1000
Message-ID: <20110502145338.7be2fdbc.sfr@canb.auug.org.au>
References: <20110502121817.645d544e.sfr@canb.auug.org.au>
	<20110502022417.GA11804@redhat.com>
	<20110502134524.40da4245.sfr@canb.auug.org.au>
	<20110502142454.a7091ad5.sfr@canb.auug.org.au>
Mime-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
 micalg="PGP-SHA1";
 boundary="Signature=_Mon__2_May_2011_14_53_38_+1000_vioKV2+=vaV.5zRZ"
Return-path: <linux-next-owner@vger.kernel.org>
Received: from chilli.pcug.org.au ([203.10.76.44]:34645 "EHLO smtps.tip.net.au"
	rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
	id S1750882Ab1EBExm (ORCPT <rfc822;linux-next@vger.kernel.org>);
	Mon, 2 May 2011 00:53:42 -0400
In-Reply-To: <20110502142454.a7091ad5.sfr@canb.auug.org.au>
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Dave Jones <davej@redhat.com>
Cc: Michal Marek <mmarek@suse.cz>, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>

--Signature=_Mon__2_May_2011_14_53_38_+1000_vioKV2+=vaV.5zRZ
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Dave,

hmmm,

On my build machine:
$ /opt/cross/gcc-4.4.5-nolibc/x86_64-linux/bin/x86_64-linux-gcc -Wno-unused=
-but-set-variable -c -xc /dev/null -o /tmp/xx.o; echo $?
0
$ /opt/cross/gcc-4.4.5-nolibc/x86_64-linux/bin/x86_64-linux-gcc -Wunused-bu=
t-set-variable -c -xc /dev/null -o /tmp/xx.o; echo $?
cc1: error: unrecognized command line option "-Wunused-but-set-variable"
1
$ gcc -Wno-unused-but-set-variable -c -xc /dev/null -o /tmp/xx.o; echo $?
0
$ gcc -Wunused-but-set-variable -c -xc /dev/null -o /tmp/xx.o; echo $?
cc1: error: unrecognized command line option "-Wunused-but-set-variable"
1
$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion=3D'Debian 4.4.5-8' -=
-with-bugurl=3Dfile:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=
=3Dc,c++,fortran,objc,obj-c++ --prefix=3D/usr --program-suffix=3D-4.4 --ena=
ble-shared --enable-multiarch --enable-linker-build-id --with-system-zlib -=
-libexecdir=3D/usr/lib --without-included-gettext --enable-threads=3Dposix =
--with-gxx-include-dir=3D/usr/include/c++/4.4 --libdir=3D/usr/lib --enable-=
nls --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-objc-gc --with=
-arch-32=3Di586 --with-tune=3Dgeneric --enable-checking=3Drelease --build=
=3Dx86_64-linux-gnu --host=3Dx86_64-linux-gnu --target=3Dx86_64-linux-gnu
Thread model: posix
gcc version 4.4.5 (Debian 4.4.5-8)=20

On master.kernel.org:

$ gcc -Wno-unused-but-set-variable -c -xc /dev/null -o /tmp/xx.o; echo $?
0
$ gcc -Wunused-but-set-variable -c -xc /dev/null -o /tmp/xx.o; echo $?
0
$ gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=3D/usr --mandir=3D/usr/share/man --i=
nfodir=3D/usr/share/info --with-bugurl=3Dhttp://bugzilla.redhat.com/bugzill=
a --enable-bootstrap --enable-shared --enable-threads=3Dposix --enable-chec=
king=3Drelease --with-system-zlib --enable-__cxa_atexit --disable-libunwind=
-exceptions --enable-gnu-unique-object --enable-languages=3Dc,c++,objc,obj-=
c++,java,fortran,ada --enable-java-awt=3Dgtk --disable-dssi --with-java-hom=
e=3D/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --ena=
ble-java-maintainer-mode --with-ecj-jar=3D/usr/share/java/eclipse-ecj.jar -=
-disable-libjava-multilib --with-ppl --with-cloog --with-tune=3Dgeneric --w=
ith-arch_32=3Di686 --build=3Dx86_64-redhat-linux
Thread model: posix
gcc version 4.4.5 20101112 (Red Hat 4.4.5-2) (GCC)=20

--=20
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

--Signature=_Mon__2_May_2011_14_53_38_+1000_vioKV2+=vaV.5zRZ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJNvjjSAAoJEDMEi1NhKgbsmYcH/RjbZMN5iI8jo6nSe21rSFcQ
VdGyrtSyAGGbt10TdsO6QplOtx4jHO5InY1PD1uN+zTlJPc9sZZpm6cWEDgLQXJW
5OMe5KRDWQE8f5LMSSVQL/3TxK2x2NU0mAa4ZhFlWO3FWzR8Xh+GRCznq63F33fz
jmySA9BchVZLX+RvLtZwIIlX0Wn/fZiQsCcKus1KDN6DPCfycJ8Y7tHAbbr8BEvl
FeISLXkRQivzrYj3RVVrT6l8mGf3crJGxHEZR4BEd9inq0WxF5bGlnIlKw6wE0PU
naRmnYmbPPYBlkfw8Nor/wSCu7v9eGudgZb7YDil1EP6xo/DhSvkvCeka2Y7Ask=
=BnoZ
-----END PGP SIGNATURE-----

--Signature=_Mon__2_May_2011_14_53_38_+1000_vioKV2+=vaV.5zRZ--

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Date: Mon, 2 May 2011 15:57:12 +1000
Message-ID: <20110502155712.ab6a64ba.sfr@canb.auug.org.au>
References: <20110502121817.645d544e.sfr@canb.auug.org.au>
	<20110502022417.GA11804@redhat.com>
	<20110502134524.40da4245.sfr@canb.auug.org.au>
	<20110502142454.a7091ad5.sfr@canb.auug.org.au>
	<20110502043642.GD11804@redhat.com>
Mime-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
 micalg="PGP-SHA1";
 boundary="Signature=_Mon__2_May_2011_15_57_12_+1000_0W8Ph+ngFt8dNdim"
Return-path: <linux-next-owner@vger.kernel.org>
Received: from chilli.pcug.org.au ([203.10.76.44]:38484 "EHLO smtps.tip.net.au"
	rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
	id S1753325Ab1EBF5X (ORCPT <rfc822;linux-next@vger.kernel.org>);
	Mon, 2 May 2011 01:57:23 -0400
In-Reply-To: <20110502043642.GD11804@redhat.com>
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Dave Jones <davej@redhat.com>
Cc: Michal Marek <mmarek@suse.cz>, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>

--Signature=_Mon__2_May_2011_15_57_12_+1000_0W8Ph+ngFt8dNdim
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Dave,

On Mon, 2 May 2011 00:36:43 -0400 Dave Jones <davej@redhat.com> wrote:
>
> That's interesting. That suggests that something isn't being built with K=
BUILD_CFLAGS.
> I did a full defconfig build on x86-64 successfully (allmodconfig is chur=
ning away).
> Can you point me at something that doesn't build ?

I have just done an i386 defconfig build with V=3D1.  Every compilation has
that flag passed to it, but only one complains:

  i386-linux-gcc -Wp,-MD,kernel/.futex.o.d  -nostdinc -isystem /opt/cross/g=
cc-4.4.5-nolibc/i386-linux/bin/../lib/gcc/i386-linux/4.4.5/include -I/scrat=
ch/sfr/next/arch/x86/include -Iarch/x86/include/generated -Iinclude  -I/scr=
atch/sfr/next/include -include include/generated/autoconf.h  -I/scratch/sfr=
/next/kernel -Ikernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-t=
rigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declara=
tion -Wno-format-security -fno-delete-null-pointer-checks -Os -m32 -msoft-f=
loat -mregparm=3D3 -freg-struct-return -mpreferred-stack-boundary=3D2 -marc=
h=3Di686 -mtune=3Dgeneric -Wa,-mtune=3Dgeneric32 -ffreestanding -DCONFIG_AS=
_CFI=3D1 -DCONFIG_AS_CFI_SIGNAL_FRAME=3D1 -DCONFIG_AS_CFI_SECTIONS=3D1 -pip=
e -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-=
sse2 -mno-3dnow -Wframe-larger-than=3D2048 -fno-stack-protector -Wno-unused=
-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdec=
laration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-=
stack    -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(futex)"  -D=
"KBUILD_MODNAME=3DKBUILD_STR(futex)" -c -o kernel/futex.o /scratch/sfr/next=
/kernel/futex.c
/scratch/sfr/next/kernel/futex.c: In function 'fixup_pi_state_owner':
/scratch/sfr/next/kernel/futex.c:1549: warning: 'curval' may be used uninit=
ialized in this function
/scratch/sfr/next/kernel/futex.c: In function 'futex_lock_pi_atomic':
/scratch/sfr/next/kernel/futex.c:678: warning: 'curval' may be used uniniti=
alized in this function
/scratch/sfr/next/kernel/futex.c: In function 'handle_futex_death':
/scratch/sfr/next/kernel/futex.c:2454: warning: 'nval' may be used uninitia=
lized in this function
At top level:
cc1: warning: unrecognized command line option "-Wno-unused-but-set-variabl=
e"

I removed kernel/futex.o and recompiled to verify.  futex.c doesn't seem
to be built any differently to anything else.

--=20
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

--Signature=_Mon__2_May_2011_15_57_12_+1000_0W8Ph+ngFt8dNdim
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJNvke4AAoJEDMEi1NhKgbsZXUH/3mKFehSW9ZxBAM/1YkbkcW0
ZWLdAEg1qc3616fGKeGYYAGLiONDpopcqHI8WC4vRz7DNrA/1LyfYHcUlK7DN3gJ
znyttATrsPzly1s+FzHsPjhJI3CD4+QIh3TLrS/rMNgOgmaPuzPoALBBHLSs0ira
B+jv14LDRJJms63LkTWyGGdprGGY0JGaXlHJ3zS9PWukcCMcjJNdEakwN4aY5B+c
gxJr1AjjVPqrta5A9P+RU16cRmP4z9XK0U5JbMXZ0FP/CmosdeHlUXs1xUFbez6R
DQp5Rv/LPhaS90ivmM6BzF1nGhBwXBJHXcmCjEZ531aUkHCwBBH0Sbc4EeGiwQ8=
=W6ZN
-----END PGP SIGNATURE-----

--Signature=_Mon__2_May_2011_15_57_12_+1000_0W8Ph+ngFt8dNdim--

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Michal Marek <mmarek@suse.cz>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Date: Mon, 2 May 2011 13:13:37 +0200
Message-ID: <20110502111337.GA15769@sepie.suse.cz>
References: <20110502121817.645d544e.sfr@canb.auug.org.au>
 <20110502022417.GA11804@redhat.com>
 <20110502134524.40da4245.sfr@canb.auug.org.au>
 <20110502142454.a7091ad5.sfr@canb.auug.org.au>
 <20110502145338.7be2fdbc.sfr@canb.auug.org.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Return-path: <linux-next-owner@vger.kernel.org>
Received: from cantor2.suse.de ([195.135.220.15]:39776 "EHLO mx2.suse.de"
	rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
	id S1753360Ab1EBLNj (ORCPT <rfc822;linux-next@vger.kernel.org>);
	Mon, 2 May 2011 07:13:39 -0400
Content-Disposition: inline
In-Reply-To: <20110502145338.7be2fdbc.sfr@canb.auug.org.au>
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Dave Jones <davej@redhat.com>, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>

On Mon, May 02, 2011 at 02:53:38PM +1000, Stephen Rothwell wrote:
> Hi Dave,
> 
> hmmm,
> 
> On my build machine:
> $ /opt/cross/gcc-4.4.5-nolibc/x86_64-linux/bin/x86_64-linux-gcc -Wno-unused-but-set-variable -c -xc /dev/null -o /tmp/xx.o; echo $?
> 0
> $ /opt/cross/gcc-4.4.5-nolibc/x86_64-linux/bin/x86_64-linux-gcc -Wunused-but-set-variable -c -xc /dev/null -o /tmp/xx.o; echo $?
> cc1: error: unrecognized command line option "-Wunused-but-set-variable"
> 1
> $ gcc -Wno-unused-but-set-variable -c -xc /dev/null -o /tmp/xx.o; echo $?
> 0
> $ gcc -Wunused-but-set-variable -c -xc /dev/null -o /tmp/xx.o; echo $?
> cc1: error: unrecognized command line option "-Wunused-but-set-variable"
> 1

I reproduced this myself with 4.5.1 and 4.6.0 and was about to file a
bug at gcc.gnu.org, but I learned that this is a feature :-(, see here:
http://gcc.gnu.org/PR28322 . It treats invalid -Wno-* options as
warnings and it only issues them when there is another warning or error
in the source.

I have a patch below, but after learning the above, I'm going to rewrite
it to some more generic cc-disable-warning fuction, because it can hit
us anytime again.

Michal

Subject: [PATCH] kbuild: Fix passing -Wno-unused-but-set-variable to some gcc versions

Some versions of gcc will happily accept -Wno-<anything> in the
cc-option test and complain later when compiling some random file that
-Wno-unused-but-set-variable is not recognized. Work around this by
testing if gcc supports the -Wunused-but-set-variable option insteaed.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Michal Marek <mmarek@suse.cz>

diff --git a/Makefile b/Makefile
index 4527dc2..db6b6df 100644
--- a/Makefile
+++ b/Makefile
@@ -569,7 +569,12 @@ endif
 
 # This warning generated too much noise in a regular build.
 # Use make W=1 to enable this warning (see scripts/Makefile.build)
-KBUILD_CFLAGS += $(call cc-option, -Wno-unused-but-set-variable)
+# We test for support of the -Wunused-but-set-variable option, because
+# some version of gcc will happily accept any -Wno-* switch and complain
+# later during build.
+ifeq ($(call cc-option-yn, -Wunused-but-set-variable), y)
+KBUILD_CFLAGS += -Wno-unused-but-set-variable
+endif
 
 ifdef CONFIG_FRAME_POINTER
 KBUILD_CFLAGS	+= -fno-omit-frame-pointer -fno-optimize-sibling-calls

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Michal Marek <mmarek@suse.cz>
Subject: [PATCH] kbuild: Fix passing -Wno-* options to gcc 4.4+
Date: Mon,  2 May 2011 14:13:01 +0200
Message-ID: <1304338381-3772-1-git-send-email-mmarek@suse.cz>
References: <20110502111337.GA15769@sepie.suse.cz>
Return-path: <linux-next-owner@vger.kernel.org>
Received: from cantor2.suse.de ([195.135.220.15]:42854 "EHLO mx2.suse.de"
	rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
	id S1754561Ab1EBMNU (ORCPT <rfc822;linux-next@vger.kernel.org>);
	Mon, 2 May 2011 08:13:20 -0400
In-Reply-To: <20110502111337.GA15769@sepie.suse.cz>
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: sfr@canb.auug.org.au
Cc: davej@redhat.com, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, sam@ravnborg.org

Starting with 4.4, gcc will happily accept -Wno-<anything> in the
cc-option test and complain later when compiling a file that has some
other warning. This rather unexpected behavior is intentional as per
http://gcc.gnu.org/PR28322, so work around it by testing for support of
the opposite option (without the no-). Introduce a new Makefile function
cc-disable-warning that does this and update two uses of cc-option in
the toplevel Makefile.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Michal Marek <mmarek@suse.cz>
---
 Documentation/kbuild/makefiles.txt |   12 ++++++++++++
 Makefile                           |    4 ++--
 scripts/Kbuild.include             |    5 +++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt
index 835b64a..47435e5 100644
--- a/Documentation/kbuild/makefiles.txt
+++ b/Documentation/kbuild/makefiles.txt
@@ -501,6 +501,18 @@ more details, with real examples.
 	gcc >= 3.00. For gcc < 3.00, -malign-functions=4 is used.
 	Note: cc-option-align uses KBUILD_CFLAGS for $(CC) options
 
+    cc-disable-warning
+	cc-disable-warning checks if gcc supports a given warning and returns
+	the commandline switch to disable it. This special function is needed,
+	because gcc 4.4 and later accept any unknown -Wno-* option and only
+	warn about it if there is another warning in the source file.
+
+	Example:
+		KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
+
+	In the above example, -Wno-unused-but-set-variable will be added to
+	KBUILD_CFLAGS only if gcc really accepts it.
+
     cc-version
 	cc-version returns a numerical version of the $(CC) compiler version.
 	The format is <major><minor> where both are two digits. So for example
diff --git a/Makefile b/Makefile
index 4527dc2..f919209 100644
--- a/Makefile
+++ b/Makefile
@@ -569,7 +569,7 @@ endif
 
 # This warning generated too much noise in a regular build.
 # Use make W=1 to enable this warning (see scripts/Makefile.build)
-KBUILD_CFLAGS += $(call cc-option, -Wno-unused-but-set-variable)
+KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
 
 ifdef CONFIG_FRAME_POINTER
 KBUILD_CFLAGS	+= -fno-omit-frame-pointer -fno-optimize-sibling-calls
@@ -616,7 +616,7 @@ CHECKFLAGS     += $(NOSTDINC_FLAGS)
 KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
 
 # disable pointer signed / unsigned warnings in gcc 4.0
-KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,)
+KBUILD_CFLAGS += $(call cc-disable-warning, pointer-sign)
 
 # disable invalid "can't wrap" optimizations for signed / pointers
 KBUILD_CFLAGS	+= $(call cc-option,-fno-strict-overflow)
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index fae2d8d..c034dd7 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -118,6 +118,11 @@ cc-option-yn = $(call try-run,\
 cc-option-align = $(subst -functions=0,,\
 	$(call cc-option,-falign-functions=0,-malign-functions=0))
 
+# cc-disable-warning
+# Usage: cflags-y += $(call cc-disable-warning,unused-but-set-variable)
+cc-disable-warning = $(call try-run,\
+	$(CC) $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) -W$(strip $(1)) -c -xc /dev/null -o "$$TMP",-Wno-$(strip $(1)))
+
 # cc-version
 # Usage gcc-ver := $(call cc-version)
 cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CC))
-- 
1.7.4.1

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Valdis.Kletnieks@vt.edu
Subject: Re: linux-next: build warning after merge of the kbuild tree
Date: Mon, 02 May 2011 11:17:15 -0400
Message-ID: <10763.1304349435@localhost>
References: <20110502121817.645d544e.sfr@canb.auug.org.au> <20110502022417.GA11804@redhat.com> <20110502134524.40da4245.sfr@canb.auug.org.au> <20110502142454.a7091ad5.sfr@canb.auug.org.au> <20110502145338.7be2fdbc.sfr@canb.auug.org.au>
            <20110502111337.GA15769@sepie.suse.cz>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="==_Exmh_1304349435_5428P";
	 micalg=pgp-sha1; protocol="application/pgp-signature"
Content-Transfer-Encoding: 7bit
Return-path: <linux-next-owner@vger.kernel.org>
Received: from lennier.cc.vt.edu ([198.82.162.213]:46562 "EHLO
	lennier.cc.vt.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
	with ESMTP id S932098Ab1EBPRg (ORCPT
	<rfc822;linux-next@vger.kernel.org>); Mon, 2 May 2011 11:17:36 -0400
In-Reply-To: Your message of "Mon, 02 May 2011 13:13:37 +0200."
             <20110502111337.GA15769@sepie.suse.cz>
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Michal Marek <mmarek@suse.cz>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>, Dave Jones <davej@redhat.com>, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>

--==_Exmh_1304349435_5428P
Content-Type: text/plain; charset=us-ascii

On Mon, 02 May 2011 13:13:37 +0200, Michal Marek said:

> +# We test for support of the -Wunused-but-set-variable option, because
> +# some version of gcc will happily accept any -Wno-* switch and complain
> +# later during build.
> +ifeq ($(call cc-option-yn, -Wunused-but-set-variable), y)
> +KBUILD_CFLAGS += -Wno-unused-but-set-variable
> +endif

Do we need to do this more generically for all the other -Wno-foo
options under the various W={123} options?

--==_Exmh_1304349435_5428P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iD8DBQFNvsr7cC3lWbTT17ARAqtSAJ4zFhvO0wNswHN1loAzlpf087c8DwCeOub/
k57Xfh3FXL2eBXiClbJSGk8=
=Fupw
-----END PGP SIGNATURE-----

--==_Exmh_1304349435_5428P--

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Michal Marek <mmarek@suse.cz>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Date: Mon, 02 May 2011 17:31:08 +0200
Message-ID: <4DBECE3C.5070008@suse.cz>
References: <20110502121817.645d544e.sfr@canb.auug.org.au> <20110502022417.GA11804@redhat.com> <20110502134524.40da4245.sfr@canb.auug.org.au> <20110502142454.a7091ad5.sfr@canb.auug.org.au> <20110502145338.7be2fdbc.sfr@canb.auug.org.au>            <20110502111337.GA15769@sepie.suse.cz> <10763.1304349435@localhost>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Return-path: <linux-kernel-owner@vger.kernel.org>
In-Reply-To: <10763.1304349435@localhost>
Sender: linux-kernel-owner@vger.kernel.org
To: Valdis.Kletnieks@vt.edu
Cc: Stephen Rothwell <sfr@canb.auug.org.au>, Dave Jones <davej@redhat.com>, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>
List-Id: linux-next.vger.kernel.org

On 2.5.2011 17:17, Valdis.Kletnieks@vt.edu wrote:
> On Mon, 02 May 2011 13:13:37 +0200, Michal Marek said:
>
>> +# We test for support of the -Wunused-but-set-variable option, because
>> +# some version of gcc will happily accept any -Wno-* switch and complain
>> +# later during build.
>> +ifeq ($(call cc-option-yn, -Wunused-but-set-variable), y)
>> +KBUILD_CFLAGS += -Wno-unused-but-set-variable
>> +endif
>
> Do we need to do this more generically for all the other -Wno-foo
> options under the various W={123} options?

I only see -Wno-unused-parameter in scripts/Makefile.build and that 
should be supported by any gcc version. Also please have a look at 
http://marc.info/?l=linux-kernel&m=130433840412201&w=2, which is an 
updated version.

Michal

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: Re: [PATCH] kbuild: Fix passing -Wno-* options to gcc 4.4+
Date: Tue, 3 May 2011 10:44:40 +1000
Message-ID: <20110503104440.700ea26f.sfr@canb.auug.org.au>
References: <20110502111337.GA15769@sepie.suse.cz>
	<1304338381-3772-1-git-send-email-mmarek@suse.cz>
Mime-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
 micalg="PGP-SHA1";
 boundary="Signature=_Tue__3_May_2011_10_44_40_+1000_rup0Feo8wgP5DhCo"
Return-path: <linux-next-owner@vger.kernel.org>
Received: from chilli.pcug.org.au ([203.10.76.44]:34780 "EHLO smtps.tip.net.au"
	rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
	id S1756914Ab1ECAor (ORCPT <rfc822;linux-next@vger.kernel.org>);
	Mon, 2 May 2011 20:44:47 -0400
In-Reply-To: <1304338381-3772-1-git-send-email-mmarek@suse.cz>
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Michal Marek <mmarek@suse.cz>
Cc: davej@redhat.com, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, sam@ravnborg.org

--Signature=_Tue__3_May_2011_10_44_40_+1000_rup0Feo8wgP5DhCo
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

HI Michal,

On Mon,  2 May 2011 14:13:01 +0200 Michal Marek <mmarek@suse.cz> wrote:
>
> Starting with 4.4, gcc will happily accept -Wno-<anything> in the
> cc-option test and complain later when compiling a file that has some
> other warning. This rather unexpected behavior is intentional as per
> http://gcc.gnu.org/PR28322, so work around it by testing for support of
> the opposite option (without the no-). Introduce a new Makefile function
> cc-disable-warning that does this and update two uses of cc-option in
> the toplevel Makefile.
>=20
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Signed-off-by: Michal Marek <mmarek@suse.cz>

This fixed things for me, thanks.

Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>

--=20
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

--Signature=_Tue__3_May_2011_10_44_40_+1000_rup0Feo8wgP5DhCo
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJNv0/4AAoJEDMEi1NhKgbsucgH/1hKMuGZowgV6qv7nC2xhN8d
RBZPFiDQYwmtiycCPZK+E249sibmGb+SsLSBYlAp9R0A5r7RknNCIqZkxUhdBieK
jTPEE32Vg0ITMBX/1ul3+yY7NVLw4mZ9rmTlPFAXsgZ2sx/JGZQakFOzfRDU1HD0
0pWDeSHOiBL1581VKtYRF+ytASP6wMIa2AWEfwdtg2DhxUEOzlte25ojREOJASx0
JABaH5T/a3CViMzwTFUYgcmez5mdN3l3kouSyzqFT0fCJ02m5p02OKXG/2yG5Lj5
qFJfuliKvMTM+G+FMpKH88Bts7oo0Fa0Mq6MilWl4vS0NZpBJqtG9ER8iZyD7GY=
=9MYQ
-----END PGP SIGNATURE-----

--Signature=_Tue__3_May_2011_10_44_40_+1000_rup0Feo8wgP5DhCo--

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Michal Marek <mmarek@suse.cz>
Subject: Re: [PATCH] kbuild: Fix passing -Wno-* options to gcc 4.4+
Date: Tue, 03 May 2011 10:52:27 +0200
Message-ID: <4DBFC24B.7090805@suse.cz>
References: <20110502111337.GA15769@sepie.suse.cz>	<1304338381-3772-1-git-send-email-mmarek@suse.cz> <20110503104440.700ea26f.sfr@canb.auug.org.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 7bit
Return-path: <linux-next-owner@vger.kernel.org>
Received: from cantor.suse.de ([195.135.220.2]:35127 "EHLO mx1.suse.de"
	rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
	id S1751406Ab1ECIwa (ORCPT <rfc822;linux-next@vger.kernel.org>);
	Tue, 3 May 2011 04:52:30 -0400
In-Reply-To: <20110503104440.700ea26f.sfr@canb.auug.org.au>
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: davej@redhat.com, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, sam@ravnborg.org

On 3.5.2011 02:44, Stephen Rothwell wrote:
> HI Michal,
>
> On Mon,  2 May 2011 14:13:01 +0200 Michal Marek<mmarek@suse.cz>  wrote:
>>
>> Starting with 4.4, gcc will happily accept -Wno-<anything>  in the
>> cc-option test and complain later when compiling a file that has some
>> other warning. This rather unexpected behavior is intentional as per
>> http://gcc.gnu.org/PR28322, so work around it by testing for support of
>> the opposite option (without the no-). Introduce a new Makefile function
>> cc-disable-warning that does this and update two uses of cc-option in
>> the toplevel Makefile.
>>
>> Reported-by: Stephen Rothwell<sfr@canb.auug.org.au>
>> Signed-off-by: Michal Marek<mmarek@suse.cz>
>
> This fixed things for me, thanks.
>
> Tested-by: Stephen Rothwell<sfr@canb.auug.org.au>

Thanks for spotting the warnings and for testing. I pushed this to 
kbuild-2.6.git#kbuild.

Michal

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: linux-next: build warning after merge of the kbuild tree
Date: Thu, 1 Dec 2016 10:06:08 +1100
Message-ID: <20161201100608.625b8915@canb.auug.org.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Return-path: <linux-kernel-owner@vger.kernel.org>
Sender: linux-kernel-owner@vger.kernel.org
To: Michal Marek <mmarek@suse.cz>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Nicholas Piggin <npiggin@gmail.com>
List-Id: linux-next.vger.kernel.org

Hi Michal,

After merging the kbuild tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

WARNING: EXPORT symbol "__sw_hweight32" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "memcpy_mcsafe_unrolled" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "empty_zero_page" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "__get_user_2" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "__put_user_2" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "__fentry__" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "native_load_gs_index" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "__copy_user_nocache" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "copy_user_generic_unrolled" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "memset" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "_copy_to_user" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "__sw_hweight64" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "__put_user_1" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "__memcpy" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "memmove" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "__put_user_8" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "copy_user_generic_string" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "__get_user_4" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "clear_page" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "__memset" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "__memmove" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "copy_user_enhanced_fast_string" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "_copy_from_user" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "__get_user_1" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "phys_base" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "__get_user_8" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "copy_page" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "__put_user_4" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "memcpy" [vmlinux] version generation failed, symbol will not be versioned.

Introduced by commit

  d8c1eb86e952 ("kbuild: modpost warn if export version crc is missing")

-- 
Cheers,
Stephen Rothwell

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Nicholas Piggin <npiggin@gmail.com>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Date: Thu, 1 Dec 2016 13:00:31 +1100
Message-ID: <20161201130031.6c7ba4a0@roar.ozlabs.ibm.com>
References: <20161201100608.625b8915@canb.auug.org.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Return-path: <linux-next-owner@vger.kernel.org>
Received: from mail-pg0-f68.google.com ([74.125.83.68]:34564 "EHLO
        mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S1755404AbcLACAw (ORCPT
        <rfc822;linux-next@vger.kernel.org>); Wed, 30 Nov 2016 21:00:52 -0500
In-Reply-To: <20161201100608.625b8915@canb.auug.org.au>
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Michal Marek <mmarek@suse.cz>, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org

On Thu, 1 Dec 2016 10:06:08 +1100
Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> Hi Michal,
> 
> After merging the kbuild tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
> 
> WARNING: EXPORT symbol "__sw_hweight32" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "memcpy_mcsafe_unrolled" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "empty_zero_page" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "__get_user_2" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "__put_user_2" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "__fentry__" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "native_load_gs_index" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "__copy_user_nocache" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "copy_user_generic_unrolled" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "memset" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "_copy_to_user" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "__sw_hweight64" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "__put_user_1" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "__memcpy" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "memmove" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "__put_user_8" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "copy_user_generic_string" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "__get_user_4" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "clear_page" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "__memset" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "__memmove" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "copy_user_enhanced_fast_string" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "_copy_from_user" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "__get_user_1" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "phys_base" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "__get_user_8" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "copy_page" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "__put_user_4" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: EXPORT symbol "memcpy" [vmlinux] version generation failed, symbol will not be versioned.
> 
> Introduced by commit
> 
>   d8c1eb86e952 ("kbuild: modpost warn if export version crc is missing")
> 

These are existing problems caught by the new warning. The modversions saga
has another chapter left, but one way or another we'll get rid of the warnings
for 4.10.

Thanks,
Nick

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: linux-next: build warning after merge of the kbuild tree
Date: Mon, 11 Dec 2017 09:52:28 +1100
Message-ID: <20171211095228.21562f56@canb.auug.org.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Return-path: <linux-next-owner@vger.kernel.org>
Received: from ozlabs.org ([103.22.144.67]:32971 "EHLO ozlabs.org"
        rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
        id S1751137AbdLJWwb (ORCPT <rfc822;linux-next@vger.kernel.org>);
        Sun, 10 Dec 2017 17:52:31 -0500
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Linux-Next Mailing List <linux-next@vger.kernel.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Ulf Magnusson <ulfalizer@gmail.com>, Bart Van Assche <bart.vanassche@wdc.com>, Felipe Balbi <felipe.balbi@linux.intel.com>, Hannes Reinecke <hare@suse.com>

Hi Masahiro,

After merging the kbuild tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

drivers/usb/gadget/Kconfig:487:warning: choice default symbol 'USB_ETH' is not contained in the choice

Exposed by commit

  2c37e08464a8 ("kconfig: Warn if choice default is not in choice")

Introduced by commit

  7a9618a22aad ("usb: gadget: allow to enable legacy drivers without USB_ETH")

-- 
Cheers,
Stephen Rothwell

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Masahiro Yamada <yamada.masahiro@socionext.com>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Date: Mon, 11 Dec 2017 09:22:20 +0900
Message-ID: <CAK7LNAQ=PE2yL8T8AaBqovf54Lo_M7Nq+LpQc9VSKBJUHx67dQ@mail.gmail.com>
References: <20171211095228.21562f56@canb.auug.org.au>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Return-path: <linux-kernel-owner@vger.kernel.org>
In-Reply-To: <20171211095228.21562f56@canb.auug.org.au>
Sender: linux-kernel-owner@vger.kernel.org
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Linux-Next Mailing List <linux-next@vger.kernel.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Ulf Magnusson <ulfalizer@gmail.com>, Bart Van Assche <bart.vanassche@wdc.com>, Felipe Balbi <felipe.balbi@linux.intel.com>, Hannes Reinecke <hare@suse.com>
List-Id: linux-next.vger.kernel.org

Hi Stephen,

2017-12-11 7:52 GMT+09:00 Stephen Rothwell <sfr@canb.auug.org.au>:
> Hi Masahiro,
>
> After merging the kbuild tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> drivers/usb/gadget/Kconfig:487:warning: choice default symbol 'USB_ETH' is not contained in the choice


I had noticed this before merging it.

I expect somebody will fix drivers/usb/gadget/Kconfig.



> Exposed by commit
>
>   2c37e08464a8 ("kconfig: Warn if choice default is not in choice")
>
> Introduced by commit
>
>   7a9618a22aad ("usb: gadget: allow to enable legacy drivers without USB_ETH")
>
> --
> Cheers,
> Stephen Rothwell






-- 
Best Regards
Masahiro Yamada

From mboxrd@z Thu Jan  1 00:00:00 1970
From: Bart Van Assche <Bart.VanAssche@wdc.com>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Date: Mon, 11 Dec 2017 16:11:35 +0000
Message-ID: <1513008694.2747.2.camel@wdc.com>
References: <20171211095228.21562f56@canb.auug.org.au>
         <CAK7LNAQ=PE2yL8T8AaBqovf54Lo_M7Nq+LpQc9VSKBJUHx67dQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Return-path: <linux-next-owner@vger.kernel.org>
Received: from esa5.hgst.iphmx.com ([216.71.153.144]:7259 "EHLO
        esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S1750707AbdLKQLi (ORCPT
        <rfc822;linux-next@vger.kernel.org>); Mon, 11 Dec 2017 11:11:38 -0500
In-Reply-To: <CAK7LNAQ=PE2yL8T8AaBqovf54Lo_M7Nq+LpQc9VSKBJUHx67dQ@mail.gmail.com>
Content-Language: en-US
Content-ID: <8693A4683C8F0A409FFFD7859B015FA4@namprd04.prod.outlook.com>
Sender: linux-next-owner@vger.kernel.org
List-ID: <linux-next.vger.kernel.org>
To: "sfr@canb.auug.org.au" <sfr@canb.auug.org.au>, "yamada.masahiro@socionext.com" <yamada.masahiro@socionext.com>
Cc: "felipe.balbi@linux.intel.com" <felipe.balbi@linux.intel.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "ulfalizer@gmail.com" <ulfalizer@gmail.com>, "hare@suse.com" <hare@suse.com>, "linux-next@vger.kernel.org" <linux-next@vger.kernel.org>

T24gTW9uLCAyMDE3LTEyLTExIGF0IDA5OjIyICswOTAwLCBNYXNhaGlybyBZYW1hZGEgd3JvdGU6
DQo+IDIwMTctMTItMTEgNzo1MiBHTVQrMDk6MDAgU3RlcGhlbiBSb3Rod2VsbCA8c2ZyQGNhbmIu
YXV1Zy5vcmcuYXU+Og0KPiA+IEFmdGVyIG1lcmdpbmcgdGhlIGtidWlsZCB0cmVlLCB0b2RheSdz
IGxpbnV4LW5leHQgYnVpbGQgKGFybQ0KPiA+IG11bHRpX3Y3X2RlZmNvbmZpZykgcHJvZHVjZWQg
dGhpcyB3YXJuaW5nOg0KPiA+IA0KPiA+IGRyaXZlcnMvdXNiL2dhZGdldC9LY29uZmlnOjQ4Nzp3
YXJuaW5nOiBjaG9pY2UgZGVmYXVsdCBzeW1ib2wgJ1VTQl9FVEgnIGlzIG5vdCBjb250YWluZWQg
aW4gdGhlIGNob2ljZQ0KPiANCj4gSSBoYWQgbm90aWNlZCB0aGlzIGJlZm9yZSBtZXJnaW5nIGl0
Lg0KPiANCj4gSSBleHBlY3Qgc29tZWJvZHkgd2lsbCBmaXggZHJpdmVycy91c2IvZ2FkZ2V0L0tj
b25maWcuDQo+IA0KPiA+IEV4cG9zZWQgYnkgY29tbWl0DQo+ID4gDQo+ID4gICAyYzM3ZTA4NDY0
YTggKCJrY29uZmlnOiBXYXJuIGlmIGNob2ljZSBkZWZhdWx0IGlzIG5vdCBpbiBjaG9pY2UiKQ0K
PiA+IA0KPiA+IEludHJvZHVjZWQgYnkgY29tbWl0DQo+ID4gDQo+ID4gICA3YTk2MThhMjJhYWQg
KCJ1c2I6IGdhZGdldDogYWxsb3cgdG8gZW5hYmxlIGxlZ2FjeSBkcml2ZXJzIHdpdGhvdXQgVVNC
X0VUSCIpDQoNCkhlbGxvIFN0ZXBoZW4gYW5kIE1hc2FoaXJvLA0KDQpJIHdpbGwgbG9vayBmdXJ0
aGVyIGludG8gdGhpcy4gUGxlYXNlIHJldmVydCBjb21taXQgN2E5NjE4YTIyYWFkIHVudGlsIGEg
Zml4DQppcyB1cHN0cmVhbS4NCg0KVGhhbmtzLA0KDQpCYXJ0Lg==

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-next-owner@kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
X-Spam-Level: 
X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,
	SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
	by smtp.lore.kernel.org (Postfix) with ESMTP id DFD30C4361B
	for <linux-next@archiver.kernel.org>; Wed,  9 Dec 2020 09:31:26 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by mail.kernel.org (Postfix) with ESMTP id 88FBA23B7E
	for <linux-next@archiver.kernel.org>; Wed,  9 Dec 2020 09:31:26 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S1729094AbgLIJbR (ORCPT <rfc822;linux-next@archiver.kernel.org>);
        Wed, 9 Dec 2020 04:31:17 -0500
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46808 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S1728446AbgLIJbR (ORCPT
        <rfc822;linux-next@vger.kernel.org>); Wed, 9 Dec 2020 04:31:17 -0500
Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25C5CC061793;
        Wed,  9 Dec 2020 01:30:37 -0800 (PST)
Received: from authenticated.ozlabs.org (localhost [127.0.0.1])
        (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
         key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256)
        (No client certificate requested)
        by mail.ozlabs.org (Postfix) with ESMTPSA id 4CrWxN6j47z9sW9;
        Wed,  9 Dec 2020 20:30:32 +1100 (AEDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au;
        s=201702; t=1607506233;
        bh=mTSVImBbfPaUvkMd2Y893xa7mukCBGI7gtact0vehVs=;
        h=Date:From:To:Cc:Subject:From;
        b=HEg3j+ZAYi42MQn2m87wPE+IM4jq18mBU8roHSkwyptQUgLLxoju85Sa+g/k6/1EG
         rIOcKHGelVRAuXr85NHevfpkbRDKcWooTwhm9QhdKLnS8Nt1cWklyuDeY6o/z7hGS5
         zCIs0issQM7hlR/iCmtqrGJvFzxjwvCH8ATCFPDcnc87LfTu7yyWB5wldnq3/FI9hZ
         dBLVmwNGTTdhMhrQZ+LGd/FvpAzNo2bquJS1QYzl1rE358tL2Sh46Hd7mrtoFqxyP8
         Idiu4QEhB0RMSpddZPalTGDFspRXRZ+FiakuZ28NAzxRZkUUaFP5eYmA73y9svTfE2
         w7/RXBv8NCfqw==
Date:   Wed, 9 Dec 2020 20:30:29 +1100
From:   Stephen Rothwell <sfr@canb.auug.org.au>
To:     Masahiro Yamada <masahiroy@kernel.org>
Cc:     Dominique Martinet <asmadeus@codewreck.org>,
        Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
        Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: build warning after merge of the kbuild tree
Message-ID: <20201209203029.7f2a8db2@canb.auug.org.au>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/zwh5n0TTdrbMrv4w7dKnt04";
 protocol="application/pgp-signature"; micalg=pgp-sha256
Precedence: bulk
List-ID: <linux-next.vger.kernel.org>
X-Mailing-List: linux-next@vger.kernel.org

--Sig_/zwh5n0TTdrbMrv4w7dKnt04
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi all,

After merging the kbuild tree, today's linux-next build (x86_64
modules_install) produced this warning:

Warning: 'make modules_install' requires depmod. Please install it.
This is probably in the kmod package.

Introduced by commit

  330029209513 ("kbuild: don't hardcode depmod path")

Unfortunately for most of us (?), /sbin is not in our PATH ...

--=20
Cheers,
Stephen Rothwell

--Sig_/zwh5n0TTdrbMrv4w7dKnt04
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl/QmTUACgkQAVBC80lX
0Gw8yQf7BgY3a/Re1tDwCsbNgdMdg0B4UFU3Y1C6rjyqhVyU7Fv8HoBED9hek7vC
6ibbVWnBcDs69tHbitZbIW+bNHmH3rKTZA2hecioPM4qtuEwDeT+PlSWFBrQuAQR
a9lMZaYJ59GAVcPOzFutBCzag6rzCfB+pn2WzsB33sP53YAVao4LsPH7GaVSA7tr
eyvp9B3g8Qp3s/so/Vn/qaO2KROVxp4RNmb37cmYURRbzVyWVFC3damKt/LKvOjh
+fCd0m4n4h3HVpwwmsgqD7lYtSeGM6XYzgyixkHzI+/lleuObXCnaPermnuYYq2q
msglke4xVGkoo0g1o2vdN4Qoi9Tb7A==
=VOl0
-----END PGP SIGNATURE-----

--Sig_/zwh5n0TTdrbMrv4w7dKnt04--

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-next-owner@kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
X-Spam-Level: 
X-Spam-Status: No, score=-7.2 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,
	SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no
	version=3.4.0
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
	by smtp.lore.kernel.org (Postfix) with ESMTP id A61BEC433FE
	for <linux-next@archiver.kernel.org>; Wed,  9 Dec 2020 13:02:29 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by mail.kernel.org (Postfix) with ESMTP id 78AFA23BC7
	for <linux-next@archiver.kernel.org>; Wed,  9 Dec 2020 13:02:29 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S1731842AbgLINC3 (ORCPT <rfc822;linux-next@archiver.kernel.org>);
        Wed, 9 Dec 2020 08:02:29 -0500
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51188 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S1728490AbgLINC2 (ORCPT
        <rfc822;linux-next@vger.kernel.org>); Wed, 9 Dec 2020 08:02:28 -0500
Received: from nautica.notk.org (ipv6.notk.org [IPv6:2001:41d0:1:7a93::1])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0F0CC0613D6;
        Wed,  9 Dec 2020 05:01:48 -0800 (PST)
Received: by nautica.notk.org (Postfix, from userid 1001)
        id 3A276C009; Wed,  9 Dec 2020 14:01:45 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2;
        t=1607518905; bh=/h0UX5qvT3QiTtVrnpfllmfaY7JyyIHheAMuZwPKz1g=;
        h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
        b=R/v8Ftat3vAcPDSN391u4gIMklEx0ffUIyJBf0Z6np8I5yltLvlFiBNtA2uggbCqm
         w1z7v1gfXiNiovAg5srypOGgzOL4DiIRYiwnEh0ZXF9DA2U/40SsGKA5LixOtC2BLs
         GrOa6JUc8GvmujZys7laWahWQkOOq70TYPwKr6WOmt2my7hN0Fdy9XM36HuFp4Nfe5
         1eq0yT5ekjDAB2sSFCj0FulngLnAcTgwPjoeavKy2aFsV14WI+UStcQu0gfmJ68/KH
         ZLR8Da2oBNyDnb1h1cVESLoX5lQk9264FPQcGHNi8NzEuP1/zURoOEEMLiR5R6yR52
         O3G03VepetxRQ==
Date:   Wed, 9 Dec 2020 14:01:30 +0100
From:   Dominique Martinet <asmadeus@codewreck.org>
To:     Stephen Rothwell <sfr@canb.auug.org.au>
Cc:     Masahiro Yamada <masahiroy@kernel.org>,
        Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
        Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Message-ID: <20201209130130.GA15469@nautica>
References: <20201209203029.7f2a8db2@canb.auug.org.au>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20201209203029.7f2a8db2@canb.auug.org.au>
User-Agent: Mutt/1.5.21 (2010-09-15)
Precedence: bulk
List-ID: <linux-next.vger.kernel.org>
X-Mailing-List: linux-next@vger.kernel.org

Stephen Rothwell wrote on Wed, Dec 09, 2020:
> After merging the kbuild tree, today's linux-next build (x86_64
> modules_install) produced this warning:
> 
> Warning: 'make modules_install' requires depmod. Please install it.
> This is probably in the kmod package.
> 
> Introduced by commit
> 
>   330029209513 ("kbuild: don't hardcode depmod path")
> 
> Unfortunately for most of us (?), /sbin is not in our PATH ...

d'oh.

Now you say this, I always found stupid distros that don't include sbin
in user PATHs: utilities like ip and a few others are perfectly useable
as reglar users to query the system state and the first thing I always
do is to add /sbin to my path on the rare distros that do this
(debian-based distros only?) so it totally slipped out of my head :/


I guess it's possible to make kbuild check both sbin and PATH, would
that be acceptable?

I'll have a look at how to do that if so.
-- 
Dominique


From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-next-owner@kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
X-Spam-Level: 
X-Spam-Status: No, score=-5.7 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,
	SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no
	version=3.4.0
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
	by smtp.lore.kernel.org (Postfix) with ESMTP id 2BC06C433FE
	for <linux-next@archiver.kernel.org>; Wed,  9 Dec 2020 20:57:43 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by mail.kernel.org (Postfix) with ESMTP id E5CC723C92
	for <linux-next@archiver.kernel.org>; Wed,  9 Dec 2020 20:57:42 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S1729686AbgLIU5j (ORCPT <rfc822;linux-next@archiver.kernel.org>);
        Wed, 9 Dec 2020 15:57:39 -0500
Received: from bilbo.ozlabs.org ([203.11.71.1]:33181 "EHLO ozlabs.org"
        rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
        id S2387759AbgLIU5a (ORCPT <rfc822;linux-next@vger.kernel.org>);
        Wed, 9 Dec 2020 15:57:30 -0500
Received: from authenticated.ozlabs.org (localhost [127.0.0.1])
        (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
         key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256)
        (No client certificate requested)
        by mail.ozlabs.org (Postfix) with ESMTPSA id 4Crq9B6JRYz9sWC;
        Thu, 10 Dec 2020 07:56:46 +1100 (AEDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au;
        s=201702; t=1607547407;
        bh=9MIT3Mrz0MFy2FIDZIdXtlPxRD3KD5unqUU6/WfP09o=;
        h=Date:From:To:Cc:Subject:In-Reply-To:References:From;
        b=dBzV381r/+XcHlidcUI0Hr6Wh691MZQzSyzzU4Fx4K2J3Mva7QIbmghA6beXhm4XE
         XO81tdrOcTFgZpXTpkW7xuPmUggvyp8TmhkVeqmKZlk4WD1YdW24an+TeE2tV7ld1W
         HsK19uCHRb/Qhsumft9AKa4yW2mKm0nVOeQ3HwvwflKTRGYv0InIk6UkLE+F/e+dEB
         5PJfbFpfu5teLX4tZ177juLspNuftxLtcSgdK2UrBp7nWXQTLaUT+XPyQueqONJNvt
         oG9LOVBj3PCXiScP3bL4hduwt8KpOk+DaDxInFtRMwI38I5CHHL7TjqvY9UsZMZK8a
         5Vbl+d+/R8wBg==
Date:   Thu, 10 Dec 2020 07:56:45 +1100
From:   Stephen Rothwell <sfr@canb.auug.org.au>
To:     Dominique Martinet <asmadeus@codewreck.org>
Cc:     Masahiro Yamada <masahiroy@kernel.org>,
        Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
        Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Message-ID: <20201210075645.234a735d@canb.auug.org.au>
In-Reply-To: <20201209130130.GA15469@nautica>
References: <20201209203029.7f2a8db2@canb.auug.org.au>
        <20201209130130.GA15469@nautica>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/A2irkfzbcHRq4y/y=/zDUup";
 protocol="application/pgp-signature"; micalg=pgp-sha256
Precedence: bulk
List-ID: <linux-next.vger.kernel.org>
X-Mailing-List: linux-next@vger.kernel.org

--Sig_/A2irkfzbcHRq4y/y=/zDUup
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi Dominique,

On Wed, 9 Dec 2020 14:01:30 +0100 Dominique Martinet <asmadeus@codewreck.or=
g> wrote:
>
> I guess it's possible to make kbuild check both sbin and PATH, would
> that be acceptable?

I guess so.  But, have you actually found any setup where depmod is not
/sbin/depmod?  i.e. what problem are you trying to solve.  As far as I
can see all this change does is (ever so slightly) slow down the build
for no gain.

--=20
Cheers,
Stephen Rothwell

--Sig_/A2irkfzbcHRq4y/y=/zDUup
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl/ROg0ACgkQAVBC80lX
0GxExQf/YrVur6DxSRinoU8w7M5QTzXrQWZR1sIQ1SSD6Mf7UrRVqBDf/QSFDegS
eHr7vG6V48sRkXf9ZCHtG7lqAFMe2bQY6jNVzzJg2LwgkJ5RB3D/b/CA50PDLvQy
Iel7S8mB7tsbcztCwqr0SgY2Dtn33YucpCpieRf/sTrqMEPWT7s+v9GIVOTqJ12W
wjuGWcGY1FBTukpy6tDGplKaqXnJDcbgvwDpLfpIjX5PlyIdu6FCa4zWPXLuCuOp
Uy6lsPMagIGA2ifdm0vhdfY52D84/lK7XdasIEpCEWsqQmryN8JSYI1Z6UY7qyXr
LQJbn6xiuiuZdZ9n2rwKIg3egAe75Q==
=foDb
-----END PGP SIGNATURE-----

--Sig_/A2irkfzbcHRq4y/y=/zDUup--

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-next-owner@kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
X-Spam-Level: 
X-Spam-Status: No, score=-7.2 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,
	SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no
	version=3.4.0
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
	by smtp.lore.kernel.org (Postfix) with ESMTP id F39C7C4167B
	for <linux-next@archiver.kernel.org>; Thu, 10 Dec 2020 06:49:15 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by mail.kernel.org (Postfix) with ESMTP id AE5EA22D0A
	for <linux-next@archiver.kernel.org>; Thu, 10 Dec 2020 06:49:15 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S2387607AbgLJGsv (ORCPT <rfc822;linux-next@archiver.kernel.org>);
        Thu, 10 Dec 2020 01:48:51 -0500
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46138 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S1730820AbgLJGsu (ORCPT
        <rfc822;linux-next@vger.kernel.org>); Thu, 10 Dec 2020 01:48:50 -0500
Received: from nautica.notk.org (ipv6.notk.org [IPv6:2001:41d0:1:7a93::1])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 221EFC0613CF
        for <linux-next@vger.kernel.org>; Wed,  9 Dec 2020 22:48:10 -0800 (PST)
Received: by nautica.notk.org (Postfix, from userid 1001)
        id 2C95AC009; Thu, 10 Dec 2020 07:47:26 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2;
        t=1607582846; bh=CeXoCUKMON5YU5rHxPI+L+5A1EbCCf8M0F43PjWAz8Y=;
        h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
        b=X3TWBjHK4dE4RDjYtxHWJ/3/LGEiPaX+nS+SahytVl312G2LMxkMZQ+ygTusu21EI
         IIDfhBOvFIz96VMlBOg3anlHGl+N5JVK3XpRL3a51NggI8LcBk1hIQIOz8zCjd2Mlf
         1dbVGh8QTr6rm+gylBELiIJyt3MkmzNf6fAaP/XOj97SslE/fs9lwChh3yo4a0tjRz
         IWRF9SUv7vlJaGShz9xmI7j5oJBnm6FKx62usvLpvuEhJz3HqVjrbSUav4dhTTLhHa
         Gq7kohW4ar5Xqn0XrnzYOFyxTJG9Qpp5ZdlRvzE7FrfZy1uzDI0EGvcYh2N76IEqY+
         B06UjBBnAEFKw==
Date:   Thu, 10 Dec 2020 07:47:11 +0100
From:   Dominique Martinet <asmadeus@codewreck.org>
To:     Stephen Rothwell <sfr@canb.auug.org.au>
Cc:     Masahiro Yamada <masahiroy@kernel.org>,
        Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
        Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Message-ID: <20201210064711.GA10169@nautica>
References: <20201209203029.7f2a8db2@canb.auug.org.au>
 <20201209130130.GA15469@nautica>
 <20201210075645.234a735d@canb.auug.org.au>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20201210075645.234a735d@canb.auug.org.au>
User-Agent: Mutt/1.5.21 (2010-09-15)
Precedence: bulk
List-ID: <linux-next.vger.kernel.org>
X-Mailing-List: linux-next@vger.kernel.org

Stephen Rothwell wrote on Thu, Dec 10, 2020:
> On Wed, 9 Dec 2020 14:01:30 +0100 Dominique Martinet <asmadeus@codewreck.org> wrote:
> >
> > I guess it's possible to make kbuild check both sbin and PATH, would
> > that be acceptable?
> 
> I guess so.  But, have you actually found any setup where depmod is not
> /sbin/depmod?  i.e. what problem are you trying to solve.  As far as I
> can see all this change does is (ever so slightly) slow down the build
> for no gain.

On nixos, depmod is in /run/current-system/sw/bin/depmod (as a link to
/nix/store/r3r39rzsrikdsv68rvswn3hhank706gj-kmod-27/bin/depmod or
wherever the current version wants to be).
developers on guix probably face the same problem.

There is no sbin, the only things in /bin is sh, and in /usr/bin env as
I think is mandated by posix.

For their official builds they just modify the build scripts in place
before starting the build, but for dev as I keep rebasing it's annoying
to keep a couple of local patches just for this.
I could obviously manually create a link from /sbin/depmod to the
current system's but that doesn't solve the problem for all other nixos
users.

I'll send an updated patch later today..
-- 
Dominique

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-next-owner@kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
X-Spam-Level: 
X-Spam-Status: No, score=-5.7 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,
	SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no
	version=3.4.0
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
	by smtp.lore.kernel.org (Postfix) with ESMTP id 1CB2DC4361B
	for <linux-next@archiver.kernel.org>; Mon, 14 Dec 2020 20:44:56 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by mail.kernel.org (Postfix) with ESMTP id A8FB022473
	for <linux-next@archiver.kernel.org>; Mon, 14 Dec 2020 20:44:55 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S2503067AbgLNUoz (ORCPT <rfc822;linux-next@archiver.kernel.org>);
        Mon, 14 Dec 2020 15:44:55 -0500
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47414 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S2502980AbgLNUoz (ORCPT
        <rfc822;linux-next@vger.kernel.org>); Mon, 14 Dec 2020 15:44:55 -0500
Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8EF7C0613D3;
        Mon, 14 Dec 2020 12:44:14 -0800 (PST)
Received: from authenticated.ozlabs.org (localhost [127.0.0.1])
        (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
         key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256)
        (No client certificate requested)
        by mail.ozlabs.org (Postfix) with ESMTPSA id 4CvtfL6kwqz9sS8;
        Tue, 15 Dec 2020 07:44:10 +1100 (AEDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au;
        s=201702; t=1607978652;
        bh=ljhtdvCD/AIx7f6wVXxij9Zvl9nrP4BdyDGBE6oeE8E=;
        h=Date:From:To:Cc:Subject:In-Reply-To:References:From;
        b=SG5XVgadS6beI8SEUbBiAETScLh/fzOsl90/5OUbNSxfEYW0dpSKb+jkwUHi64q3S
         vZUHnF3xx0KDcIcuv7HjRt/CTw8LcJ6+v3bfmRX9AqMxrjXZX2SU7a49shCT86Jd88
         4ISHzlgK1UYfgKW15nvQbAL4ncLhxteFNZIU1i71xfCSnsDFFYwabx3c/2LsLemPut
         jRiZnpEz7vHGiMRHQGcmGQDfwCsIqp1XB/EAjJMTV0XDkFFKoUL+CMm5kxXVjHSxay
         t4JtDFX+B8kDMB/gBCxaFJ/U9KWBppOjgtnn1fR/etImjvqr/hSR9COiSyKf238dTS
         AQSYicXVuJHYg==
Date:   Tue, 15 Dec 2020 07:44:09 +1100
From:   Stephen Rothwell <sfr@canb.auug.org.au>
To:     Masahiro Yamada <masahiroy@kernel.org>
Cc:     Dominique Martinet <asmadeus@codewreck.org>,
        Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
        Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Message-ID: <20201215074409.0ae087ac@canb.auug.org.au>
In-Reply-To: <20201209203029.7f2a8db2@canb.auug.org.au>
References: <20201209203029.7f2a8db2@canb.auug.org.au>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/g=E7yPY1=zdZ7W=GHuA7yPE";
 protocol="application/pgp-signature"; micalg=pgp-sha256
Precedence: bulk
List-ID: <linux-next.vger.kernel.org>
X-Mailing-List: linux-next@vger.kernel.org

--Sig_/g=E7yPY1=zdZ7W=GHuA7yPE
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi all,

On Wed, 9 Dec 2020 20:30:29 +1100 Stephen Rothwell <sfr@canb.auug.org.au> w=
rote:
>
> After merging the kbuild tree, today's linux-next build (x86_64
> modules_install) produced this warning:
>=20
> Warning: 'make modules_install' requires depmod. Please install it.
> This is probably in the kmod package.
>=20
> Introduced by commit
>=20
>   330029209513 ("kbuild: don't hardcode depmod path")
>=20
> Unfortunately for most of us (?), /sbin is not in our PATH ...

I am still getting this warning.

--=20
Cheers,
Stephen Rothwell

--Sig_/g=E7yPY1=zdZ7W=GHuA7yPE
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl/XzpkACgkQAVBC80lX
0GxPtwgAk/UuDigJgEX8JBu+FaelEhkf9DLWM2nPxSKUValnUTAnXBCmH6vgq6yN
qnPUefCRHZnigXSFE2wd2e3Stk7EmZv0UWxV0CwlaENR7SQpwO7TgY+YC08Ses63
aaereNko+dBRWDHOiTT3HN2m0tzONqILgNPR/jRGYHO6KX0UV4MWvJwZSQ9gK8Mx
Ic5Do+ibhObb3zUe4J+Mlc8neh5pqaed1Ju1qb1yQFZ8DOpxrHagbHvFWrgDIH7C
HsDF3v04nsdPd5E/s9hnvwVbGQU70BUrUjIvTjGtFgaHRWKdkZd70BfAu/RSTupg
tonDNDAacVvcOpv9xVx5WMbsdhjHcw==
=LwRM
-----END PGP SIGNATURE-----

--Sig_/g=E7yPY1=zdZ7W=GHuA7yPE--

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-next-owner@kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
X-Spam-Level: 
X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,
	SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
	by smtp.lore.kernel.org (Postfix) with ESMTP id 3885AC4361B
	for <linux-next@archiver.kernel.org>; Sun, 20 Dec 2020 22:11:17 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by mail.kernel.org (Postfix) with ESMTP id 01A6422D50
	for <linux-next@archiver.kernel.org>; Sun, 20 Dec 2020 22:11:16 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S1726683AbgLTWLA (ORCPT <rfc822;linux-next@archiver.kernel.org>);
        Sun, 20 Dec 2020 17:11:00 -0500
Received: from bilbo.ozlabs.org ([203.11.71.1]:45193 "EHLO ozlabs.org"
        rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
        id S1726507AbgLTWK7 (ORCPT <rfc822;linux-next@vger.kernel.org>);
        Sun, 20 Dec 2020 17:10:59 -0500
Received: from authenticated.ozlabs.org (localhost [127.0.0.1])
        (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
         key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256)
        (No client certificate requested)
        by mail.ozlabs.org (Postfix) with ESMTPSA id 4CzcGs6V7yz9sVm;
        Mon, 21 Dec 2020 09:10:13 +1100 (AEDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au;
        s=201702; t=1608502214;
        bh=2k5vfmdFAKjKBf6mx3OzTwu3YohWl2zu5fwtrUiQb50=;
        h=Date:From:To:Cc:Subject:From;
        b=hZeszk5LZ+xXBP2lWhuVfm9Z4deNaanwc2X8oblxuiu4yXR7MOJT5350rCK9W9svm
         avADfY9vobOxQQkf+XqWgxJB0QgvjiSTR2hJV1j+5aW5P/T1kTh4J15/f8RCPQwrB+
         aC63nlJbCBdujo3mWlCp9otVnIbyC16r4DsJ42DpGLsExS0ofpEJi90ZyPAv2xf3Ou
         j4fEe6DrMyaHUBbzad5f10qEzcMc2g4peOEktM/xH9vx6M1j8dK6bZhLMz88BHCKzD
         vnvC9drDGcn/ZGaKmk+4tqBD55gIni7U403ZCpuzI+4KflETPJK9QJj8J+AoKS0Eg6
         Q/iHvoSaPxcRw==
Date:   Mon, 21 Dec 2020 09:10:13 +1100
From:   Stephen Rothwell <sfr@canb.auug.org.au>
To:     Masahiro Yamada <masahiroy@kernel.org>
Cc:     Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
        Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: build warning after merge of the kbuild tree
Message-ID: <20201221091013.526f538f@canb.auug.org.au>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/H_Q0i5T4uTXLi5iYBTvktjX";
 protocol="application/pgp-signature"; micalg=pgp-sha256
Precedence: bulk
List-ID: <linux-next.vger.kernel.org>
X-Mailing-List: linux-next@vger.kernel.org

--Sig_/H_Q0i5T4uTXLi5iYBTvktjX
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi all,

After merging the kbuild tree, today's linux-next build (htmldocs)
produced this warning:

Documentation/kbuild/makefiles.rst:1617: WARNING: Inline emphasis start-str=
ing without end-string.

Maybe introduced by commit

  663e29430e12 ("kbuild: doc: replace arch/$(ARCH)/ with arch/$(SRCARCH)/")

But am not sure about this.

--=20
Cheers,
Stephen Rothwell

--Sig_/H_Q0i5T4uTXLi5iYBTvktjX
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl/fy8UACgkQAVBC80lX
0GwrqAf+KCZ72cpNDpeyLqnO7FX64+LwiiI7OiBvZaGk9E8BDF6Kn/+ZZ+WUcSad
oDpIiV6U6BeuPvAlevkJl1cCaw+9uz8IWDIHDTEfX/EHrxBpRxqVBtiMcmy4JUsv
fN7Fl07X+E3CuaG8LrxisF3Dwv3UA9Pt/YUdGcaBBgUowUK4Apds//L+362pXpXV
tv8tE/fsmJvQfUs/cHmzhb9X1cw+8Ei1HLHV4LG/6rv1HT+ITNfoss8Z8RCwC+0q
VqQyIGVVBHEM3JgsIfp/eOEp99SMf7j6wX7woe0EK+3d2qMxkxUmLf5+l+68nVdS
znnjkzrJIgHvuWXJrfSoodqk8SAsrQ==
=zt6z
-----END PGP SIGNATURE-----

--Sig_/H_Q0i5T4uTXLi5iYBTvktjX--

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-next-owner@kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
X-Spam-Level: 
X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,
	SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
	by smtp.lore.kernel.org (Postfix) with ESMTP id ADD44C432BE
	for <linux-next@archiver.kernel.org>; Thu, 19 Aug 2021 23:28:22 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by mail.kernel.org (Postfix) with ESMTP id 927C3610A3
	for <linux-next@archiver.kernel.org>; Thu, 19 Aug 2021 23:28:22 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S233820AbhHSX26 (ORCPT <rfc822;linux-next@archiver.kernel.org>);
        Thu, 19 Aug 2021 19:28:58 -0400
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55708 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S233512AbhHSX25 (ORCPT
        <rfc822;linux-next@vger.kernel.org>); Thu, 19 Aug 2021 19:28:57 -0400
Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69194C061575;
        Thu, 19 Aug 2021 16:28:20 -0700 (PDT)
Received: from authenticated.ozlabs.org (localhost [127.0.0.1])
        (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
         key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256)
        (No client certificate requested)
        by mail.ozlabs.org (Postfix) with ESMTPSA id 4GrLYF32t7z9sWw;
        Fri, 20 Aug 2021 09:28:17 +1000 (AEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au;
        s=201702; t=1629415697;
        bh=jwmBww8fgZFFHGP3eHblDQ2cgbGOqIpWqVXtIoHchdg=;
        h=Date:From:To:Cc:Subject:From;
        b=r/PeC/Wm6ywASSRArp8xIv7VRufJNTjJ/9XVZSY+6QTgK2iKBUtNCAmFbgTsmlfzD
         0OPW9Ls3PsCDfRZQO29zMtuaLhhPgF5UREZ0skcK4E12evPoE5DuWWmUKTLCKiDWOd
         clciWEfqW9lJCysdfl/xqmulstizAdmW5+DApzTSpHbkUq/s+vytZ1+k2P3BsXZqls
         ZI0uupWnR+G5bLszsksU2BIuI8Iq48KW/htpPQnVN+KdmHK0hduzQv2DaM6JTGVeL4
         rOieeN5Kf6MTZvdMrRZ86Oajdeu4/LfXPiz+yguio9u6CrZzRSZ9d8Ek/YjniYgvEr
         9enSgEVqYqRuA==
Date:   Fri, 20 Aug 2021 09:28:16 +1000
From:   Stephen Rothwell <sfr@canb.auug.org.au>
To:     Masahiro Yamada <masahiroy@kernel.org>
Cc:     Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
        Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: build warning after merge of the kbuild tree
Message-ID: <20210820092816.2858fac8@canb.auug.org.au>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/B+m7qnVBw8JGFzL.pmY1S1v";
 protocol="application/pgp-signature"; micalg=pgp-sha256
Precedence: bulk
List-ID: <linux-next.vger.kernel.org>
X-Mailing-List: linux-next@vger.kernel.org

--Sig_/B+m7qnVBw8JGFzL.pmY1S1v
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi all,

After merging the kbuild tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

arch/x86/entry/vdso/Makefile:135: FORCE prerequisite is missing
arch/x86/entry/vdso/Makefile:135: FORCE prerequisite is missing
arch/x86/entry/vdso/Makefile:135: FORCE prerequisite is missing

Exposed by commit

  0fc7db58e2a6 ("kbuild: warn if FORCE is missing for if_changed(_dep,_rule=
) and filechk")

Not sure why we need 3 of these :-(

--=20
Cheers,
Stephen Rothwell

--Sig_/B+m7qnVBw8JGFzL.pmY1S1v
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmEe6RAACgkQAVBC80lX
0GypPgf/dbOyMPGTQZOrl/4Ukb69429aMamI/EQRJup7XrdjU7w4TF9UMl3dvQg2
KMf9aomS3+rX8UrMGKDJ+UYyhV3cspuD0g0dtFE9qbsQ/YSZZJdb267FC5vBMBZb
rBE3SUvTa9WI+Ddsgej9kULDubx7+ZBmGBy5wf7VmgDWReRroDQCWZ7Fdq1Twr48
9oFz+3jkMo8jkVnjYO5qsej2h21nBDhyIUCSo5eZTCrP3wNV+y0gW/oxy6V2d/nU
j0+0LZKD1BciyV2XGiCayY0lUPmu2iFZhyRsh+80KfY+ru9bQ1KiiNCXYe9YxPP6
F26CRC1MQ48qCMK060Z3OrjQS7mETw==
=HPZS
-----END PGP SIGNATURE-----

--Sig_/B+m7qnVBw8JGFzL.pmY1S1v--

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-next-owner@kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no
	autolearn_force=no version=3.4.0
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
	by smtp.lore.kernel.org (Postfix) with ESMTP id 047CBC4338F
	for <linux-next@archiver.kernel.org>; Mon, 23 Aug 2021 00:26:34 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by mail.kernel.org (Postfix) with ESMTP id D88086120A
	for <linux-next@archiver.kernel.org>; Mon, 23 Aug 2021 00:26:33 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S234334AbhHWA1O (ORCPT <rfc822;linux-next@archiver.kernel.org>);
        Sun, 22 Aug 2021 20:27:14 -0400
Received: from conssluserg-02.nifty.com ([210.131.2.81]:25271 "EHLO
        conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S230448AbhHWA1O (ORCPT
        <rfc822;linux-next@vger.kernel.org>); Sun, 22 Aug 2021 20:27:14 -0400
Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) (authenticated)
        by conssluserg-02.nifty.com with ESMTP id 17N0QIfT014048;
        Mon, 23 Aug 2021 09:26:18 +0900
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 17N0QIfT014048
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com;
        s=dec2015msa; t=1629678378;
        bh=kD/hh9H5i475+vNQOw2q7d4U+ruJtXyu/WdPhffFiIQ=;
        h=References:In-Reply-To:From:Date:Subject:To:Cc:From;
        b=ERC7DH0c3u0T9rlC6EVa8JEEFPy7GgBAADuYG908j63d9ukiAZeEvDqKph3N7PvUx
         Yz8W46umRaiBfohrhvhHLiEgw8eTrvgqsOmwc/QGfphNyBNP1ZJzQ8S8aQx09u6ZTy
         cHY5asce0Ki+XWqFmvb8DExqZxtR6XEJF5RyHNG+fCGHqhBov3/dN2/4InP7vkzte8
         y3d55ty7AFOsx9wpa5/tN1m7heG2vHNR5InJoknq0yECVq5ySCvoqNaqcf1CalFuXi
         +1zrWFGlBx/JhTMI3GdW8gceTxAdmauZdC+fKB0tUJ/szEVI1uDwpzn0JeDIGhv/hm
         LXRwNQAihrdfw==
X-Nifty-SrcIP: [209.85.215.177]
Received: by mail-pg1-f177.google.com with SMTP id x4so15047383pgh.1;
        Sun, 22 Aug 2021 17:26:18 -0700 (PDT)
X-Gm-Message-State: AOAM530QgHH6e0dwHZXR5x7dkLZm7ZBdjuSWQKMJUvUXS5Ux6Okc8Lts
        gGl8Jr/T2lLzDIeyK52NUv72FSHUrVXQn716ia4=
X-Google-Smtp-Source: ABdhPJz9fdEOOqgxK/uG/yR0iY62D3VpAQPiB0vaUeGb2ebMdEye9FmADojzm4kUBwC+k54pQLSZkyHuoz7BBa1e1O8=
X-Received: by 2002:a63:dd51:: with SMTP id g17mr29573641pgj.47.1629678377713;
 Sun, 22 Aug 2021 17:26:17 -0700 (PDT)
MIME-Version: 1.0
References: <20210820092816.2858fac8@canb.auug.org.au>
In-Reply-To: <20210820092816.2858fac8@canb.auug.org.au>
From:   Masahiro Yamada <masahiroy@kernel.org>
Date:   Mon, 23 Aug 2021 09:25:41 +0900
X-Gmail-Original-Message-ID: <CAK7LNAT5iYa5NqJF=fmzmfG2HNA-w9Gc=8LCtXr+30Sx=NJisA@mail.gmail.com>
Message-ID: <CAK7LNAT5iYa5NqJF=fmzmfG2HNA-w9Gc=8LCtXr+30Sx=NJisA@mail.gmail.com>
Subject: Re: linux-next: build warning after merge of the kbuild tree
To:     Stephen Rothwell <sfr@canb.auug.org.au>
Cc:     Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
        Linux Next Mailing List <linux-next@vger.kernel.org>
Content-Type: text/plain; charset="UTF-8"
Precedence: bulk
List-ID: <linux-next.vger.kernel.org>
X-Mailing-List: linux-next@vger.kernel.org

On Fri, Aug 20, 2021 at 8:28 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After merging the kbuild tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> arch/x86/entry/vdso/Makefile:135: FORCE prerequisite is missing
> arch/x86/entry/vdso/Makefile:135: FORCE prerequisite is missing
> arch/x86/entry/vdso/Makefile:135: FORCE prerequisite is missing
>
> Exposed by commit
>
>   0fc7db58e2a6 ("kbuild: warn if FORCE is missing for if_changed(_dep,_rule) and filechk")
>
> Not sure why we need 3 of these :-(


This is a pattern rule, which generates
vdso64.so, vdso32.so, and vdsox32.so

The warning is produced as a side-effect
of the recipe. That is why 3 warnings.
Otherwise, I do not know how to implement it.


BTW, a fix for x86 Makefile exists in the patchwork.

https://lore.kernel.org/patchwork/patch/1478798/


-- 
Best Regards
Masahiro Yamada

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-next-owner@vger.kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by smtp.lore.kernel.org (Postfix) with ESMTP id DC662C83F11
	for <linux-next@archiver.kernel.org>; Mon, 28 Aug 2023 04:58:44 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S229506AbjH1E6L (ORCPT <rfc822;linux-next@archiver.kernel.org>);
        Mon, 28 Aug 2023 00:58:11 -0400
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56174 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S229493AbjH1E5u (ORCPT
        <rfc822;linux-next@vger.kernel.org>); Mon, 28 Aug 2023 00:57:50 -0400
Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EE55126;
        Sun, 27 Aug 2023 21:57:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au;
        s=201702; t=1693198659;
        bh=xzcWS4xbblnmzh9BDVKUzSrvAXiDh/Jq9s6eq1yg0UY=;
        h=Date:From:To:Cc:Subject:From;
        b=nuMsWYrUxBnhCPViwrnCnaXSMnXqmJbgWWuES9pgjFSNhFeDRd5quj9eCyZBbUw46
         V9E3GveRbwrYPeEhph09GIYQGpQtwOFP6ihmBHvbOfRrjuPq3hLcj7QhDfpEVmCVKR
         HD/FZgUFyAA09Xxc32XrCMEcFFCDN0IB1S2yb+CmmJ1JY3Nx2JnjTO5n7QBodT4K3/
         m1rFR36b3zBBVAj8kEcmeD3Q2NOiN0Qg4GhEOQ97Hl47aw1YrSDdJL+2s9m0IdTWnJ
         icLG73zIbt5it0+PZun2yh1yZGELAVkCUM8sy1H3FLwz6mEwVIEzHTf8E2IRG/mQGP
         zE+ItVYizXZYA==
Received: from authenticated.ozlabs.org (localhost [127.0.0.1])
        (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
         key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256)
        (No client certificate requested)
        by mail.ozlabs.org (Postfix) with ESMTPSA id 4RYywf6YqBz4wb2;
        Mon, 28 Aug 2023 14:57:38 +1000 (AEST)
Date:   Mon, 28 Aug 2023 14:57:37 +1000
From:   Stephen Rothwell <sfr@canb.auug.org.au>
To:     Masahiro Yamada <masahiroy@kernel.org>
Cc:     Nick Desaulniers <ndesaulniers@google.com>,
        Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
        Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: build warning after merge of the kbuild tree
Message-ID: <20230828145737.6ff53bc9@canb.auug.org.au>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/afJSlTj1Wktr/9qqg4Pfn_H";
 protocol="application/pgp-signature"; micalg=pgp-sha256
Precedence: bulk
List-ID: <linux-next.vger.kernel.org>
X-Mailing-List: linux-next@vger.kernel.org

--Sig_/afJSlTj1Wktr/9qqg4Pfn_H
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi all,

After merging the kbuild tree, today's linux-next build (htmldocs)
produced this warning:

Documentation/kbuild/llvm.rst:127: ERROR: Unknown target name: "reprocible_=
builds".

Introduced by commit

  bda09c0e14a4 ("Documentation/llvm: refresh docs")

--=20
Cheers,
Stephen Rothwell

--Sig_/afJSlTj1Wktr/9qqg4Pfn_H
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmTsKUEACgkQAVBC80lX
0GwlkAgAiotMmZ8OLo5NSL3nYkLbHrOayLu/3FDc6j/kvXgb/PiluQEmSPID64uB
hB7VzuV5bmL2o3g79dgsoYPCXi0A095DC9jP9PCKebqtrt+Sc81Pi92ULGdlsdT3
NxrbCKlhNWRMDJh9T1Dm1UrJGbAAiThnHQRb1d1fZkjWQPP2fLsOMj4fIqZyoezb
eJtQHKwUmtW+VPC+Rjx/drFBKqbqrIPTWom4nZL+qw72CVYozxcXo9w0CwxaXtJh
kvOIOsjObNR8iu+B+fsdjJEsbbAPahmStCLU+PeOEDD1IjJ5E8O7Lt+jdWSWnrSZ
765Br4Y7kabm1GOdNMlrhC2JvtE/Nw==
=sszU
-----END PGP SIGNATURE-----

--Sig_/afJSlTj1Wktr/9qqg4Pfn_H--

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-next-owner@vger.kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by smtp.lore.kernel.org (Postfix) with ESMTP id CDF5AC83F11
	for <linux-next@archiver.kernel.org>; Mon, 28 Aug 2023 17:30:02 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S232820AbjH1R3d (ORCPT <rfc822;linux-next@archiver.kernel.org>);
        Mon, 28 Aug 2023 13:29:33 -0400
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42370 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S232815AbjH1R3D (ORCPT
        <rfc822;linux-next@vger.kernel.org>); Mon, 28 Aug 2023 13:29:03 -0400
Received: from mail-ua1-x92f.google.com (mail-ua1-x92f.google.com [IPv6:2607:f8b0:4864:20::92f])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61D4C11A
        for <linux-next@vger.kernel.org>; Mon, 28 Aug 2023 10:28:58 -0700 (PDT)
Received: by mail-ua1-x92f.google.com with SMTP id a1e0cc1a2514c-7a2c1ae77b3so498824241.2
        for <linux-next@vger.kernel.org>; Mon, 28 Aug 2023 10:28:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=google.com; s=20221208; t=1693243737; x=1693848537;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:from:to:cc:subject:date
         :message-id:reply-to;
        bh=+ROVqh1j31/yDGoQGEjD+ZgYxpbyP+vRNz9MgEfFrbg=;
        b=dVyIJcluND5u7f/Z7guGu6XMhsqMokcZcJKcAeZ1Zst6e0U7coWVrIuTnDa4bj63+u
         MoTtcjp2J98tkyFqszvPZCjt5kA3Gt7RYWvHGp/vZ1WTtwgmZAIBqz8fx7D/3AFf6fZr
         i0QDTBgZQOQgbr8KyqBnJAbmJT1E0ftAnxKkAS8Kxxe0d4zGpRzmjY+1ZFOMDJ8M5oLy
         39BhK45TqHCs8kMhPT1IisvhFSL6K8Dq3iRaeNvjUQWuzrg20W2xgkF8ZwujHJ38FDG5
         AQmv6nqdiN4LvdauAm2TfEbPq6NzMUvsY/Mc2/oOp7AVUjTrRduedkdwGtXsHNCvZuDm
         su8A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20221208; t=1693243737; x=1693848537;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
         :subject:date:message-id:reply-to;
        bh=+ROVqh1j31/yDGoQGEjD+ZgYxpbyP+vRNz9MgEfFrbg=;
        b=YSq8lO7DX6XO3uLRxhnzVeOltrCCFdtJphAjh7XK5W/pg4VQy7Ze1VI8bsd15pQkmF
         8uQTNrB4QD0BXFozAdz6gBjDAF/xLwGng32v/AsDCHCDBZbYswC1vQtLIu9wRDVIjwsj
         N06t5T/srAoo+H+Rw2bClDs0OcDzmspgNCkSoWZ/QHuuWd5jFDO0F8D0p9bxeZADbDq0
         faoflapQUsDyH76MKZdAjTud+OKXXxBVhyIGAYrFGfZK6bKFbB+VAfccYScXaT1x8etx
         flhhDce3B3UkJWyC2wxT70j3HHpON4NWv3EG02S99bE8+ZDtAb5WHVg+GXYmF0bUySW5
         tWvg==
X-Gm-Message-State: AOJu0Ywm9QupoPpFBTOqMgdM5C4uIRdmNla+MULe74qJWVWZ8biKVmCC
        lBnc0L7yK8HbYY9zCxPqoSaL1i0YJP4K6/2bUtw3zXigaU4/6eM/tJXFog==
X-Google-Smtp-Source: AGHT+IFyIHIZIR/85snzj7o3/qdZ+zqzzm7B7WPWqfAfLUvy19QYleCGvQPodVs1Bc2aZHxXjIcYeubJXbgU0cTA0pA=
X-Received: by 2002:a67:eb06:0:b0:44d:5298:5bfc with SMTP id
 a6-20020a67eb06000000b0044d52985bfcmr14248099vso.17.1693243737352; Mon, 28
 Aug 2023 10:28:57 -0700 (PDT)
MIME-Version: 1.0
References: <20230828145737.6ff53bc9@canb.auug.org.au>
In-Reply-To: <20230828145737.6ff53bc9@canb.auug.org.au>
From:   Nick Desaulniers <ndesaulniers@google.com>
Date:   Mon, 28 Aug 2023 10:28:46 -0700
Message-ID: <CAKwvOdms3YEsJ=buMvMbEK5yDqWwJO2LPmeJr+RP=SkP6h33fA@mail.gmail.com>
Subject: Re: linux-next: build warning after merge of the kbuild tree
To:     Stephen Rothwell <sfr@canb.auug.org.au>
Cc:     Masahiro Yamada <masahiroy@kernel.org>,
        Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
        Linux Next Mailing List <linux-next@vger.kernel.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Precedence: bulk
List-ID: <linux-next.vger.kernel.org>
X-Mailing-List: linux-next@vger.kernel.org

On Sun, Aug 27, 2023 at 9:57=E2=80=AFPM Stephen Rothwell <sfr@canb.auug.org=
.au> wrote:
>
> Hi all,
>
> After merging the kbuild tree, today's linux-next build (htmldocs)
> produced this warning:
>
> Documentation/kbuild/llvm.rst:127: ERROR: Unknown target name: "reprocibl=
e_builds".
>
> Introduced by commit
>
>   bda09c0e14a4 ("Documentation/llvm: refresh docs")

Sorry about that; thanks for the report:
https://lore.kernel.org/llvm/20230828-docs_fixup-v1-1-cc78af124667@google.c=
om/
--=20
Thanks,
~Nick Desaulniers

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-next-owner@vger.kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by smtp.lore.kernel.org (Postfix) with ESMTP id 6B9D8E8FDC0
	for <linux-next@archiver.kernel.org>; Tue,  3 Oct 2023 23:14:03 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S232139AbjJCXOE (ORCPT <rfc822;linux-next@archiver.kernel.org>);
        Tue, 3 Oct 2023 19:14:04 -0400
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40472 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S231504AbjJCXOE (ORCPT
        <rfc822;linux-next@vger.kernel.org>); Tue, 3 Oct 2023 19:14:04 -0400
Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C7B99E;
        Tue,  3 Oct 2023 16:14:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au;
        s=201702; t=1696374837;
        bh=Q7qhg5+koDdvp1LrmdDZqKf4+yEoxZq8zg19PJx37lE=;
        h=Date:From:To:Cc:Subject:From;
        b=AZPZsHNWgfn97GOf/nStiTbOp7tol1U+EKHCgpLpbBNVqB2iaku/0g5Xef1rLAI3X
         attiRE9sXTwyB4v0I9VilRukxNdwadjlAZIyYgtr/qV/muWeil47AbDFYvbWDj9WLo
         Zn9NJocFuRmQ9nFPftrFuVQCgR42iPOxhXVZDGJ1z4AXhIM99fH8ugTBJ/Vhb2gSRM
         0E7QAyKni8dvc2GByeIaF4KpX/N8rTr9Bt1x4tJd6gKgNJH0pc8dOhWr/BejS/9lhf
         N/W++tKbjo7eAsEwO1ZB1FyScdKy81c6vO7L8teWq/qheDgOrTDN3oYkrPA0XknYoo
         MNANEMcMb9Mkg==
Received: from authenticated.ozlabs.org (localhost [127.0.0.1])
        (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
         key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256)
        (No client certificate requested)
        by mail.ozlabs.org (Postfix) with ESMTPSA id 4S0YY104XQz4xQj;
        Wed,  4 Oct 2023 10:13:56 +1100 (AEDT)
Date:   Wed, 4 Oct 2023 10:13:56 +1100
From:   Stephen Rothwell <sfr@canb.auug.org.au>
To:     Masahiro Yamada <masahiroy@kernel.org>
Cc:     Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
        Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: build warning after merge of the kbuild tree
Message-ID: <20231004101356.4f3a0a9c@canb.auug.org.au>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/a8ztTWT2wsREURC2p4NIvm+";
 protocol="application/pgp-signature"; micalg=pgp-sha256
Precedence: bulk
List-ID: <linux-next.vger.kernel.org>
X-Mailing-List: linux-next@vger.kernel.org

--Sig_/a8ztTWT2wsREURC2p4NIvm+
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi all,

After merging the kbuild tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

In file included from scripts/mod/modpost.c:23:
scripts/mod/modpost.c: In function 'section_rela':
scripts/mod/modpost.h:66:24: warning: passing argument 2 of '__endian' disc=
ards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   66 |         __endian(&(x), &(__x), sizeof(__x));                    \
      |                        ^~~~~~
scripts/mod/modpost.c:1437:28: note: in expansion of macro 'TO_NATIVE'
 1437 |                 r_offset =3D TO_NATIVE(rela->r_offset);
      |                            ^~~~~~~~~
scripts/mod/modpost.h:56:52: note: expected 'void *' but argument is of typ=
e 'const Elf64_Addr *' {aka 'const long unsigned int *'}
   56 | static inline void __endian(const void *src, void *dest, unsigned i=
nt size)
      |                                              ~~~~~~^~~~
scripts/mod/modpost.h:66:24: warning: passing argument 2 of '__endian' disc=
ards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   66 |         __endian(&(x), &(__x), sizeof(__x));                    \
      |                        ^~~~~~
scripts/mod/modpost.c:1440:25: note: in expansion of macro 'TO_NATIVE'
 1440 |                 taddr =3D TO_NATIVE(rela->r_addend);
      |                         ^~~~~~~~~
scripts/mod/modpost.h:56:52: note: expected 'void *' but argument is of typ=
e 'const Elf64_Sxword *' {aka 'const long int *'}
   56 | static inline void __endian(const void *src, void *dest, unsigned i=
nt size)
      |                                              ~~~~~~^~~~
scripts/mod/modpost.c: In function 'section_rel':
scripts/mod/modpost.h:66:24: warning: passing argument 2 of '__endian' disc=
ards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   66 |         __endian(&(x), &(__x), sizeof(__x));                    \
      |                        ^~~~~~
scripts/mod/modpost.c:1472:28: note: in expansion of macro 'TO_NATIVE'
 1472 |                 r_offset =3D TO_NATIVE(rel->r_offset);
      |                            ^~~~~~~~~
scripts/mod/modpost.h:56:52: note: expected 'void *' but argument is of typ=
e 'const Elf64_Addr *' {aka 'const long unsigned int *'}
   56 | static inline void __endian(const void *src, void *dest, unsigned i=
nt size)
      |                                              ~~~~~~^~~~

Introduced by commit

  367df0e19c67 ("modpost: factor out the common boilerplate of section_rel(=
a)")

--=20
Cheers,
Stephen Rothwell

--Sig_/a8ztTWT2wsREURC2p4NIvm+
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmUcoDQACgkQAVBC80lX
0Gxg6Af+JtRc4LrnSh+Qnxwhh+eaK7xAkASQdSUIiTv40g29e45vjDI9W0u9AKMZ
NVh7EvZ6ELxNq/+UL86xHcbhQmv4BdpA+vCcdEIFeUJVKIckBnH5zsNJNuyhKciZ
t38wfjAK6L9Jpp4hVb/nmPCpke3PTYRigfmogDjTb3cKA0V91xcAOUhIwO0FU94x
oDSD6wnjtcbMNo/cCyivuQqfiKdA/LyWRVRhPSvFl29Mag7KusJ3E06Nh5XW8dMg
i0s8ejSo9705GWPhWJCfzvdw6daZ8/2PBxVAOt6Hv8+cG6xDWL0CQYY15RwwLh8i
XBZwZupUMdmOAGBx9Bs0Ui1sHohbWw==
=nA1H
-----END PGP SIGNATURE-----

--Sig_/a8ztTWT2wsREURC2p4NIvm+--

From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id ECE064C8D;
	Mon,  9 Sep 2024 00:54:34 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1725843278; cv=none; b=nqbqxEDHFeeiTcVB/tuEhG79HjyT6pPK4OTJJ7C29aA9bfoZLC87XZOdzh4Zr9nUN8V4FUriWwfvTrxaTXdbrJ5iN6zSq9cchWHS/2vqAc2b4yLuerYFYMUwgF7xC4sWSyQaCwLyydcZ9MhB2BVX7sZY9D5VspF0z6wleKROrw4=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1725843278; c=relaxed/simple;
	bh=Z1fqn68LS9FKCJxpPyTod7P8rS0lRYFH5+mjKc3Jxls=;
	h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=LB6qKUK83dIB6p0BmRJ4Fpcv61jAlTmSpMYONxcCXQM40jdgjD5ZUfQTCdsxqquBHBLn01VzpgLYaL80UxWXMzBtQON8Vwn2g//8Qd93C4JWSnROIMfHw5Ey0c6amx0hPb3c7M7SvtoRvwhMe877zyG+QdPUYvPpHUUUikWsIaI=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=c/5oNzMn; arc=none smtp.client-ip=150.107.74.76
Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au
Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au
Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="c/5oNzMn"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au;
	s=201702; t=1725843273;
	bh=blGQ0dW01wQ07GKzOkNkSF/iZWXqcZWDQIKNLs0wYcA=;
	h=Date:From:To:Cc:Subject:From;
	b=c/5oNzMn4uIC/wL1Pg2xyc+le+uRGCHMlNyEY+PgDC7312aMsF81yHbpmDT8B41IG
	 KXGuKguL8f5fZC6+C/ijgQB+JTeesW3+aCloohOXOh4qbNbie01UwuhWLP5xrBZYIM
	 BemMd7tLgCioeuda72nBw/g44Ia1Cg0i1Xj57py7ZcqinVaG/hHGWtLPFFftgO5dYR
	 0uiuoNK1XqbCj5YJC7OfMF1nc4jaE76jaEH9ok1SpBqVBPNnPsqoj3X80adJ89doHZ
	 Q1hw12unCYK035suuBy0UvYTXTxb0xm8qB51IXxfWbJwNQ3+6bflIO8SM5GTrKJCII
	 HPkTifj0GdD7g==
Received: from authenticated.ozlabs.org (localhost [127.0.0.1])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(Client did not present a certificate)
	by mail.ozlabs.org (Postfix) with ESMTPSA id 4X27dj07MPz4wb5;
	Mon,  9 Sep 2024 10:54:32 +1000 (AEST)
Date: Mon, 9 Sep 2024 10:54:32 +1000
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Linux Next
 Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: build warning after merge of the kbuild tree
Message-ID: <20240909105432.1bb6d6a5@canb.auug.org.au>
Precedence: bulk
X-Mailing-List: linux-next@vger.kernel.org
List-Id: <linux-next.vger.kernel.org>
List-Subscribe: <mailto:linux-next+subscribe@vger.kernel.org>
List-Unsubscribe: <mailto:linux-next+unsubscribe@vger.kernel.org>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/=m5g/3kPWjEp_Yo1aNYzJxi";
 protocol="application/pgp-signature"; micalg=pgp-sha256

--Sig_/=m5g/3kPWjEp_Yo1aNYzJxi
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi all,

After merging the kbuild tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

WARNING: modpost: vmlinux: section mismatch in reference: testdrv_probe+0x6=
b (section: .text) -> overlays (section: .init.data)

Introduced by commit

  62e7b80a7ff5 ("kbuild: move non-boot builtin DTBs to .init.rodata section=
")

--=20
Cheers,
Stephen Rothwell

--Sig_/=m5g/3kPWjEp_Yo1aNYzJxi
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmbeR0gACgkQAVBC80lX
0GzoaQf/T9ttKMFQrp4/SxOXE0qf70YkG1/5uAnJVrvmE5MwXVPweEdtPHv4lmBh
2w13cdqhuMvhkcqb8CVbU5lyoBmAkLAHnOGTgfrodViTTIlN3Eyhv0pRzWaqqOtn
mdpwDKjDhfA5Zy1DskLvhRdoKii4/GWj0g1Nz9dDFb2uYxyDFq2D6jOq0+snBSzr
ZYSjd03jFyX9FOI6pdGlm/dqMkMUtxUySlpWqEi/Mx0PAmthH6tCTia/pSUfm9PD
tRHa7WLMc7xTJzT97ki/Twyq+bCHfsGnVGvTmLcnEvrZiBhIu2f3ek6gjAApMrow
es7wYyQPw3MkpdCOmYd9Z3D8RUs+kg==
=uHj6
-----END PGP SIGNATURE-----

--Sig_/=m5g/3kPWjEp_Yo1aNYzJxi--

From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id A0464256D;
	Mon, 26 May 2025 08:03:53 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1748246636; cv=none; b=kXv1r190TqHRcMaXhk2MvAfG0fDCv6swbMLeeKyFPqDfC2Ude7dAu00Fdw0lPWwzy5q1R9v28GkVVUTlbda9hQo26J5R0IqRpfyzbJW63+uRZP3KA3YHxlv3mrZBiSk5HDG4T1vblTLF8JW8YWsMcPROoxsSC9yvhabYhsvsxug=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1748246636; c=relaxed/simple;
	bh=i1ThYJx35hPnPfnJr3jAkSqCIh5RNLHshZtJ++qnFeA=;
	h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=BJsBHN5jmijMp6JeLSMgYe6X4TGYPv8oJSUBCCqmMqpSzZVlFu8mbNu7xw93hSJRXazUydwMlZlIUc0hrSs1djJ9bLf3JRkm2xI00FusHxfQWKBxaqeA13ZhPWYE8SIosvdWiPdlO3CBnIR9fpzgxT5E4ShepczF9lu4D68Xd/g=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=pqMvfZM0; arc=none smtp.client-ip=150.107.74.76
Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au
Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au
Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="pqMvfZM0"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au;
	s=202503; t=1748246631;
	bh=67dL392PB2ONNjmFxxYvc4+Ev8u/3ESyfez3Gchqzf4=;
	h=Date:From:To:Cc:Subject:From;
	b=pqMvfZM0b7TN9T4nPEuYersFGui8lpsZ6L120c7E+Pk7ok+Dj1IDfv4VVY/tkBvY4
	 0ZNux89+iD+6VKonQdVm95p0QMmZZIX0ZF3Mm1FiEk8s3h4tIXND4D0vE4lTEmWTtZ
	 uNhqX53oE6iUS/QksN3HjRgY2E1NQ7QHEtsHVg+jHNceDEiabPGwSiTEINYacp4PL9
	 CEP3xIzDjOF2nAPHF5clBIBxPa2W33SMn/lxuIKcuDopKmlg7n5Mr55RWX3y5XVUCE
	 YrWDJLzYFtJ8ICDg/ydSv3QvImrHGHjG4Px12iokM5S8TViIeESvxPSB9Zt9+3r0vx
	 47byunztFxJ0g==
Received: from authenticated.ozlabs.org (localhost [127.0.0.1])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(Client did not present a certificate)
	by mail.ozlabs.org (Postfix) with ESMTPSA id 4b5SvW3HWtz4wd0;
	Mon, 26 May 2025 18:03:51 +1000 (AEST)
Date: Mon, 26 May 2025 18:03:50 +1000
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>, Linux Kernel Mailing List
 <linux-kernel@vger.kernel.org>, Linux Next Mailing List
 <linux-next@vger.kernel.org>
Subject: linux-next: build warning after merge of the kbuild tree
Message-ID: <20250526180350.06b825de@canb.auug.org.au>
Precedence: bulk
X-Mailing-List: linux-next@vger.kernel.org
List-Id: <linux-next.vger.kernel.org>
List-Subscribe: <mailto:linux-next+subscribe@vger.kernel.org>
List-Unsubscribe: <mailto:linux-next+unsubscribe@vger.kernel.org>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/9DWGryP6VYiW6mecoDHyxMY";
 protocol="application/pgp-signature"; micalg=pgp-sha256

--Sig_/9DWGryP6VYiW6mecoDHyxMY
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi all,

After merging the kbuild tree, today's linux-next build (htmldocs)
produced this warning:

Documentation/core-api/symbol-namespaces.rst:90: WARNING: Inline emphasis s=
tart-string without end-string. [docutils]

Introduced by commit

  707f853d7fa3 ("module: Provide EXPORT_SYMBOL_GPL_FOR_MODULES() helper")

--=20
Cheers,
Stephen Rothwell

--Sig_/9DWGryP6VYiW6mecoDHyxMY
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmg0IGYACgkQAVBC80lX
0GzvJAf/WdkTpvoCWyIMh1drkDfuzuMQb6IUU39t6h3/6EtB9/EFvPSb3Kewr+6r
5S2lLO0+k2ZyItUOjnZij8D1o8INcpWHi7BsdSLtaEUV4Ss4nSc0zYV6S0obHrFc
AZ59N7dwMBGMQN8ChbtPLUcCbISYFnn8asIu1+4SKAEDwudcmP6iYE97fO7A7+vt
6t0w2WNCm91Fmyh+RAA69u3nfed8ovNSuPL5QZ/KRzMpf4ZoBKBsveLC/Qb1i7P8
FaP71tw9WAFG8zsuOKRgoLQdT0hknMYWMNuFqGt+kBVQfaJ50sUzcveAeIylRVDi
Gc6oc2+1DErhCs6Chg6rHSs+7tCF/A==
=jsR/
-----END PGP SIGNATURE-----

--Sig_/9DWGryP6VYiW6mecoDHyxMY--

From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id D2AACAD51;
	Tue,  3 Jun 2025 23:02:21 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1748991744; cv=none; b=ruWVedaKpxoHaZMKMsiL35rRZEu0ibAyfn1v1K7oUuIaR1hOtOIpawmh9WOuURuVnONxsyPO52ulEzj3iT7iLdkgYSgGQNxG9jNQ/l5SEoGIHmIORl/c1KNnF9frdQWkTelfNnHx54HyAroARLwLkeHr6rNnL1y/lKS4Psw5VGg=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1748991744; c=relaxed/simple;
	bh=4nEwfF4v8gc+6O8dQMD5X50ekrMJYvDA7ONoB1wjc1g=;
	h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:
	 MIME-Version:Content-Type; b=Egj96wuxXt7y6SAFGPwUyVAnZf3CA8VlO9lSn5wctohNuFfHoHSVlp65RUScU8FXPrl/uM3DcZPaRw7FpdA+5epZll56cWKNOOHjbQtdH4HFmGwtholMGeF3qHViP//AK4rTMePhBFADFX5VCHEA62NdBQz/QLH9YFHyJUfdQ5U=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=J4NSXC0B; arc=none smtp.client-ip=150.107.74.76
Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au
Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au
Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="J4NSXC0B"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au;
	s=202503; t=1748991739;
	bh=8YxBNWpC7l6o7mHHvyfAXJfQe7CZW3e+CIY5WujsDNs=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References:From;
	b=J4NSXC0BPTyVM3EtyiuLStRMM33lhVsHBMdd/4JhokOLkjcrxWnJjrajlwZm77uI3
	 Dlso4UvFc+xtwV1MqujyVV6LzwPuALIs8tbSvC9TV0LUtMImS4X/V8n7LUW61ZMmPK
	 GN/pk+yc4eMH6ByvLFaETEJpwIMgMiTOhG1rEaJd9ToLpvfMMn7erRKpbZ57i7Y2hj
	 Jz1x3Unb+T+NJ3Ekh1tQ4+xrhck8o241nC2ipDrDF55CbwQtK66qr46R/6aDBOZLH2
	 8oiY9EJZeLOQ3Jza9FNEKF76xk4iC4KCd9CkAqRQRL2GyYTV1h3dobw2XiQyPnBAB+
	 wTbSyNQS45pHQ==
Received: from authenticated.ozlabs.org (localhost [127.0.0.1])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(Client did not present a certificate)
	by mail.ozlabs.org (Postfix) with ESMTPSA id 4bBmSW6NJpz4x9D;
	Wed,  4 Jun 2025 09:02:19 +1000 (AEST)
Date: Wed, 4 Jun 2025 09:02:19 +1000
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>, Linux Kernel Mailing List
 <linux-kernel@vger.kernel.org>, Linux Next Mailing List
 <linux-next@vger.kernel.org>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Message-ID: <20250604090219.29f09a62@canb.auug.org.au>
In-Reply-To: <20250526180350.06b825de@canb.auug.org.au>
References: <20250526180350.06b825de@canb.auug.org.au>
Precedence: bulk
X-Mailing-List: linux-next@vger.kernel.org
List-Id: <linux-next.vger.kernel.org>
List-Subscribe: <mailto:linux-next+subscribe@vger.kernel.org>
List-Unsubscribe: <mailto:linux-next+unsubscribe@vger.kernel.org>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/SIP0GdZxpfmEqMqQTCFMtHx";
 protocol="application/pgp-signature"; micalg=pgp-sha256

--Sig_/SIP0GdZxpfmEqMqQTCFMtHx
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi all,

On Mon, 26 May 2025 18:03:50 +1000 Stephen Rothwell <sfr@canb.auug.org.au> =
wrote:
>=20
> After merging the kbuild tree, today's linux-next build (htmldocs)
> produced this warning:
>=20
> Documentation/core-api/symbol-namespaces.rst:90: WARNING: Inline emphasis=
 start-string without end-string. [docutils]
>=20
> Introduced by commit
>=20
>   707f853d7fa3 ("module: Provide EXPORT_SYMBOL_GPL_FOR_MODULES() helper")

I am still seeing this warning.
--=20
Cheers,
Stephen Rothwell

--Sig_/SIP0GdZxpfmEqMqQTCFMtHx
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmg/fvsACgkQAVBC80lX
0GwYqQf/Sq7A3p32+83Bd2dcoMcimvSl62kKzVgY4th7Q86Jv1tYBVEp0DNa+Mpe
zxoGBBIonA4IFpYj8+Y8IM6RV+UM8wFHxc1JBP6dk7YIejBMmUuMsDK5AjKVEQA7
on2RY2UCBZxfRu6fCigQqLPhL2bs7jdp4P+Pp3VACPQtUN0IgT+MpPDwF+eYzrFB
0pO2X3j/w4f9CAZ2Vtqo5GQTvTMip1Eq84Or5t2KMUyH2fqbfI1fjKWYu4eqblyR
HYJKdWFg6G7T7hDTQjW/6M/cVolsVn6V9npn/7G/e4e8PNgBMA6waK1kxYNF//zm
FlLLORWKgnbC7BpkOmWJ6obb3YYs/Q==
=M48a
-----END PGP SIGNATURE-----

--Sig_/SIP0GdZxpfmEqMqQTCFMtHx--

From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from casper.infradead.org (casper.infradead.org [90.155.50.34])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 94FD04A0C;
	Wed,  4 Jun 2025 01:37:26 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1749001048; cv=none; b=reitKML7UxO2hp1EES0ZzFnF3CdAisu2MZR0J2dHtlzNAYYhCpBTzOXOJRhmvVYX4gg2QXxcG9kUiRXLT1iacu8skJUVpUYF21JTssgHTLEn9GToslgxZB24fj0NtOLee7Sjurlx9wDBam3Quwlvzz7a4W+QEfd4LcoONFMdPAo=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1749001048; c=relaxed/simple;
	bh=x5KxS27R9XsTsQUUfvEX2NPaFhZKTe3XV35m7YrHPis=;
	h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From:
	 In-Reply-To:Content-Type; b=epY92YFbFl0Qc7etZO3HngVk49WLi/fQe/8UjIYYMzLoWTBulmdquCK4jPzqg07iRAuyXDBo8qTsYmrBEsvHckwLMIES3fk8WhJWqefRRt0L6iLOnKH+5dB1zCP0p2qXxOVEaDk7QJjHnravpaDl8TSWswh6RwLpGyudJCSWKy0=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=teO0dTWJ; arc=none smtp.client-ip=90.155.50.34
Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org
Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org
Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="teO0dTWJ"
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type:
	In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender
	:Reply-To:Content-ID:Content-Description;
	bh=8eGfPRGUF5ViYyjyoG8MNXtb1Vj2lTG+nu4pyJ+aQGA=; b=teO0dTWJiPErdIOAzSiHkP81RP
	88OY2P5Xxc5l3HZSeqViqjz35+rjXvZZ5yev3x5o3cGdSIp2Ce5/FcYsEpKEFSp8i/Wsd/pHwXtWp
	M7Bb+WEoodPxFavZfpDn7Tk/NiapAH2xKaELS3iJB8dsMJSwf4tO8RsivGIAypwtBYULUeFVywtvn
	AxfOl2Z43duD+dqdNUCZ7Nzn11144FmcwF5snJ0JYJYv3s1clLPBoy6LziWCih5WJjlUxy+GyeUCE
	y1/oshOxyOsRb5Hl0CvJTDEzSNpXshNKfIi3LpmwhIzdVaR9Q5HLwEStIXe7GRaKo1tRJLH/GgBNP
	2IpzYUJw==;
Received: from [50.53.25.54] (helo=[192.168.254.17])
	by casper.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux))
	id 1uMd4F-00000002d0p-2AqZ;
	Wed, 04 Jun 2025 01:37:23 +0000
Message-ID: <7b6b212d-5df1-42ea-bb38-d5e56d7de8ee@infradead.org>
Date: Tue, 3 Jun 2025 18:37:20 -0700
Precedence: bulk
X-Mailing-List: linux-next@vger.kernel.org
List-Id: <linux-next.vger.kernel.org>
List-Subscribe: <mailto:linux-next+subscribe@vger.kernel.org>
List-Unsubscribe: <mailto:linux-next+unsubscribe@vger.kernel.org>
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: linux-next: build warning after merge of the kbuild tree
To: Stephen Rothwell <sfr@canb.auug.org.au>,
 Masahiro Yamada <masahiroy@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>,
 Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
 Linux Next Mailing List <linux-next@vger.kernel.org>
References: <20250526180350.06b825de@canb.auug.org.au>
 <20250604090219.29f09a62@canb.auug.org.au>
Content-Language: en-US
From: Randy Dunlap <rdunlap@infradead.org>
In-Reply-To: <20250604090219.29f09a62@canb.auug.org.au>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit



On 6/3/25 4:02 PM, Stephen Rothwell wrote:
> Hi all,
> 
> On Mon, 26 May 2025 18:03:50 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>>
>> After merging the kbuild tree, today's linux-next build (htmldocs)
>> produced this warning:
>>
>> Documentation/core-api/symbol-namespaces.rst:90: WARNING: Inline emphasis start-string without end-string. [docutils]
>>
>> Introduced by commit
>>
>>   707f853d7fa3 ("module: Provide EXPORT_SYMBOL_GPL_FOR_MODULES() helper")
> 
> I am still seeing this warning.

Fix here:

https://lore.kernel.org/all/20250526211039.163449-1-khaledelnaggarlinux@gmail.com/

-- 
~Randy


From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8FB2C19DF48;
	Fri,  6 Jun 2025 04:01:29 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1749182496; cv=none; b=glMGhdP7If5zK0tcAx9uuwO1HRtwwYEsl6EhchjGMRc1STzy3GofMQyS38K1MxMIL3fT3yANN06ctj+slCnmWxDuYH8XRuvv30fk5Vh8XztJ5zULGdXtyGeNf1L7FmRGsL2W7tu2rpp4jFqwEi3/qsSm2tBBx6SWjmx4ZqzLZrg=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1749182496; c=relaxed/simple;
	bh=DDS5dStpv4Phe2CUL39WuSaC+xFWB7pcBXDUCVm3cPA=;
	h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=HPIAbf3cWrVJjhvwm3JUJFa7BlAaA/+89XtMbmp1j9NFqjxTAFlYnQ4Q96ROl1GX9UPIdcxVEyfOd09mmHI5E8sCr5ut30gu0bckxu2YbxeR8EGIUyp0AeLPcDTLL6ISzQgxbAbVs3l9MFSAyBw83WIMRhlBaESzpJegjtRR/Do=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=HxVAor0F; arc=none smtp.client-ip=150.107.74.76
Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au
Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au
Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="HxVAor0F"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au;
	s=202503; t=1749182487;
	bh=XRYFhEROpuudKYJIxPwbblwi7fZS7rNq2xej0Yrdj4Q=;
	h=Date:From:To:Cc:Subject:From;
	b=HxVAor0F8/fS8qcm90+pFMuw2jM0AEIDjVli4FFeFwkkpF4Sd+4y7RjMeurcTrf8z
	 J98tcsoQmEGHmupe14DJHvluuPdw6Rm3KdHuncvcFp4/4vVNP8tuJZAqJS1CUhibqt
	 Ljc/p9WOuDdss7zLnNfGmwd0CDnTBd64R9Av8KC3k+57TD53sPfjhAnPehsIj7i+W1
	 K85SvINZo4vPWj0m0mdHNRpzqyPMz7arnceQ4u8exF6lt2VRo7Tur7fuW1xw+IeiJs
	 fHtcZyYE3cHJ7EJywh9synUwaVw/ijwmecpOqJKeIVEAkx1ec/w3dvLysi/DA0Xrx9
	 B+Bm9gCQzkHdw==
Received: from authenticated.ozlabs.org (localhost [127.0.0.1])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(Client did not present a certificate)
	by mail.ozlabs.org (Postfix) with ESMTPSA id 4bD70l4MB7z4wbv;
	Fri,  6 Jun 2025 14:01:27 +1000 (AEST)
Date: Fri, 6 Jun 2025 14:01:26 +1000
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Linux Next
 Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: build warning after merge of the kbuild tree
Message-ID: <20250606140126.10b191fa@canb.auug.org.au>
Precedence: bulk
X-Mailing-List: linux-next@vger.kernel.org
List-Id: <linux-next.vger.kernel.org>
List-Subscribe: <mailto:linux-next+subscribe@vger.kernel.org>
List-Unsubscribe: <mailto:linux-next+unsubscribe@vger.kernel.org>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/Z._KaMwLMUH+jmT2gKsPcvg";
 protocol="application/pgp-signature"; micalg=pgp-sha256

--Sig_/Z._KaMwLMUH+jmT2gKsPcvg
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi all,

After merging the kbuild tree, today's linux-next build (htmldocs)
produced this warning:

Documentation/kbuild/makefiles.rst:1104: ERROR: Unknown target name: "non-b=
uiltin vmlinux targets - extra-y". [docutils]

Introduced by commit

  3db6f0026e85 ("kbuild: set y instead of 1 to KBUILD_{BUILTIN,MODULES}")

--=20
Cheers,
Stephen Rothwell

--Sig_/Z._KaMwLMUH+jmT2gKsPcvg
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmhCaBYACgkQAVBC80lX
0Gz7ZAf9Fl3kGKCF3zA573AEa27cSxFbdjN/rHTsLSXZlqltlcDXx/evf619Hxwn
ebOcbrS0gXN/hSQ80WQhITFD6NWDaqVLo2yy/WgJrJqreQro2tgDVM92Xkt2KzOL
EGAfMo7XzHs24l2Ng1FCMUzFLTuGJbOCAXkfLzNjfG/47W9mBzbU4O+GunQ30eBJ
3YWU5I4bAo/B4hTlv3ByHa8dZWcfSk+ukB79egFZGaqpitdLHPDPtwttgL/C/J5A
+5unBfVzEBzqYaI6ObRv/304GmQ+2hoqSbJ6Hd2oOdX9tdoBT26skpN86UKS9w5k
grguyMYks/pd40ZGqlMwUs8o9I71/w==
=+R9G
-----END PGP SIGNATURE-----

--Sig_/Z._KaMwLMUH+jmT2gKsPcvg--

From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 234FCFC08;
	Sat,  7 Jun 2025 05:39:05 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1749274746; cv=none; b=iB6GC/eCN1zlzu7iFjL1jCjC29M5fbNIzAsK+S2zzDvxvE6Fm6Nrhmo0KX9i2XHx3ZbNu2lew/sTP6tZIVZ1e5SnEm2zYDnv0bUUjzLCW6qrEdlfZJc5C7AXapoJOI/pIJgdNn39LZSXK1tYifYmlV4lJ5XHbqMIo8K/hhUv6h4=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1749274746; c=relaxed/simple;
	bh=AVThBw/F33fAeb2r1HgHu8ZbHxRoQavzAslSvTHulLw=;
	h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:
	 To:Cc:Content-Type; b=nuSlANtp+aCfpf04OThFsxRKJjalRp36GPAlNFPalyeimXdfjUTc5lte044Xu8XxY+i/ArJnzTBpHIbvHgVogQ5Rs4OQbdDRAOxDdXFfLPB1fj+WFYXhB+CNN5gcL8QRBkU46P7BHBj9+p78tTTpvzZu/LxLepiJr9F9MUvyHIQ=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CUzWu+8G; arc=none smtp.client-ip=10.30.226.201
Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CUzWu+8G"
Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE8A5C4CEF0;
	Sat,  7 Jun 2025 05:39:05 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;
	s=k20201202; t=1749274745;
	bh=AVThBw/F33fAeb2r1HgHu8ZbHxRoQavzAslSvTHulLw=;
	h=References:In-Reply-To:From:Date:Subject:To:Cc:From;
	b=CUzWu+8G+kFlFl5yy4QydF4j3r5jMreiweCGJl2URKy4YcWCi2P9bePeTuSD/xtmM
	 mRJ4PKLRILilB4+uVEo2S0P2kU5At58gl8EfAwcy4KNjfzkP7VZWmZ24MyeiOtHe4Z
	 0kdLKuFVYcmBEQRcpRjwTKUNgWhaOEmlNym2N4xx96WJofEO5dRw4rDnFfPZCDrnWG
	 nsmd+VD3Bu0WBH3zv7cIjpRr2AqWPP9BYyGqne2toZXJeuMSL7mk82OqWr6T8hZQgC
	 tvJuQYDvXwFPlXtCMUUTyMs3z38AstQ2y2ZwL+DIoLoYHPdzCZUWRmaEzTU5eq32JL
	 ecYgFW/3KMNHg==
Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-5533a86a134so2691369e87.3;
        Fri, 06 Jun 2025 22:39:05 -0700 (PDT)
X-Forwarded-Encrypted: i=1; AJvYcCW/p85ruCsjAQz8/BA7m7PNVTv+Wl1V+S7BQ49tvAANRuDQJbF348fGT/eJBzCXf27/CktWRY8ps28s@vger.kernel.org
X-Gm-Message-State: AOJu0YzYNXOe7HkMpGQSIkdfKsyBlJyCgndvsd3ZXLf2AHXsSS3jNIgC
	6D/QGHZJzHOEA6TdMEOEnsGzeLeRHiTs9TEavtDGk/ODetB9t+nNY5SWtUa0mqQQIjMQ5ifwe8T
	gv9m23jt8GBoLuJeYVtnEyAEEm09VkDw=
X-Google-Smtp-Source: AGHT+IHuxD3D0b+KPglNs5+al6yPwC3eDxiUtjLJrZ8CrxSPS9EnyZWM1loozXqR5KbCyXhknFbzm1XH0Z7NW1+2HuY=
X-Received: by 2002:a05:6512:ea1:b0:553:2191:d334 with SMTP id
 2adb3069b0e04-55366c0e5bdmr1787948e87.35.1749274744355; Fri, 06 Jun 2025
 22:39:04 -0700 (PDT)
Precedence: bulk
X-Mailing-List: linux-next@vger.kernel.org
List-Id: <linux-next.vger.kernel.org>
List-Subscribe: <mailto:linux-next+subscribe@vger.kernel.org>
List-Unsubscribe: <mailto:linux-next+unsubscribe@vger.kernel.org>
MIME-Version: 1.0
References: <20250606140126.10b191fa@canb.auug.org.au>
In-Reply-To: <20250606140126.10b191fa@canb.auug.org.au>
From: Masahiro Yamada <masahiroy@kernel.org>
Date: Sat, 7 Jun 2025 14:38:28 +0900
X-Gmail-Original-Message-ID: <CAK7LNAR_5U6qr5f+i9AY5UYmVZcC7YE7hgMYJQ7gtN_Vw7=WKA@mail.gmail.com>
X-Gm-Features: AX0GCFtw9MN79PH0yaN6g8aK_M_w7e-w2wf0mT2xdCmKoKm8GUe21rA7GiwVwvo
Message-ID: <CAK7LNAR_5U6qr5f+i9AY5UYmVZcC7YE7hgMYJQ7gtN_Vw7=WKA@mail.gmail.com>
Subject: Re: linux-next: build warning after merge of the kbuild tree
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, 
	Linux Next Mailing List <linux-next@vger.kernel.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, Jun 6, 2025 at 1:01=E2=80=AFPM Stephen Rothwell <sfr@canb.auug.org.=
au> wrote:
>
> Hi all,
>
> After merging the kbuild tree, today's linux-next build (htmldocs)
> produced this warning:
>
> Documentation/kbuild/makefiles.rst:1104: ERROR: Unknown target name: "non=
-builtin vmlinux targets - extra-y". [docutils]
>
> Introduced by commit
>
>   3db6f0026e85 ("kbuild: set y instead of 1 to KBUILD_{BUILTIN,MODULES}")


Fixed now. Thanks.


--=20
Best Regards
Masahiro Yamada

From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 101B5199BC;
	Wed, 30 Jul 2025 06:40:50 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1753857654; cv=none; b=tP5apb3C/Y0G3ZtbN8WGCE5g/VAPY0g/i63XMWAZnOu85RIj9lp9+g6aBZ9yAqR4E3sUy+oMp7njco1t14m1IQhLiDM8QPWjwog0weFcxAMiOGjfnBvs0xycSuM9R9vJO9pA8+pF3pjH3rk7EGgwtdLS+izQLHrmcSN4HYn2Pq8=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1753857654; c=relaxed/simple;
	bh=awj8/NHPS85HdZnYwAKBZ27TWIFeKMqgPXkZmuK7/Xs=;
	h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=nDWG1Tq0KCn6DfvY9Vl0UwxWN6kUrl3RVdoikjEWvEt0w1KiU8B5S0o6iK3UvNpFK9QrQrgEIl1OtyiAMZA52ZKhtbR0qnJ8b52ms1Ra0axWph5xMUWVZvnNAa5RoIdVzhbKWpcEXJfgNy5EkvJNwpjRe8yHavzyHlQY5k2lR+I=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=I4v/35pX; arc=none smtp.client-ip=150.107.74.76
Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au
Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au
Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="I4v/35pX"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au;
	s=202503; t=1753857432;
	bh=awj8/NHPS85HdZnYwAKBZ27TWIFeKMqgPXkZmuK7/Xs=;
	h=Date:From:To:Cc:Subject:From;
	b=I4v/35pX5BPVY1eYio6b+7z9AYOkVVFUO7KJseXINDvTyyx2Y4Pnkom2+vo5hrXjy
	 PKkF2J/ujaqzrWR9lXc5Pfc3gTW5NJiT99c0x9YDhzwwzKI69terI+cXMU2t4yodIb
	 6YRCEpRVPBpEWW9eGtMRkMf2CrHjR+QiWx+S+Oir+u7b3Dr5X43RjUGZUOhzmw5uRD
	 D+ULH/uGlegzVyk/Z8AZ+cWPX2+nXpjS8+PC08k3sfnXIFC4iHJd0erpWEmHPkAhAp
	 XuyQjYZKWmvFMzc0WrHWj0mgSGjYRv9VqpRVm8rwXBnKrL2ldXsCRVHJ8q0O6iHqxS
	 G9QSbrvCLUw2Q==
Received: from authenticated.ozlabs.org (localhost [127.0.0.1])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(Client did not present a certificate)
	by mail.ozlabs.org (Postfix) with ESMTPSA id 4bsMvX3lpSz4x5Z;
	Wed, 30 Jul 2025 16:37:12 +1000 (AEST)
Date: Wed, 30 Jul 2025 16:40:47 +1000
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Linux Next
 Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: build warning after merge of the kbuild tree
Message-ID: <20250730164047.7c4a731a@canb.auug.org.au>
Precedence: bulk
X-Mailing-List: linux-next@vger.kernel.org
List-Id: <linux-next.vger.kernel.org>
List-Subscribe: <mailto:linux-next+subscribe@vger.kernel.org>
List-Unsubscribe: <mailto:linux-next+unsubscribe@vger.kernel.org>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/argN=GS7Mm23mkIjWNzFyuD";
 protocol="application/pgp-signature"; micalg=pgp-sha256

--Sig_/argN=GS7Mm23mkIjWNzFyuD
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi all,

After merging the kbuild tree, today's linux-next build (arm64 defconfig)
produced this warning:

aarch64-linux-gnu-objcopy: vmlinux.unstripped: warning: empty loadable segm=
ent detected at vaddr=3D0xffff800082750000, is this intentional?

I am guessing this is caused by something added to the kbuild tree today.

--=20
Cheers,
Stephen Rothwell

--Sig_/argN=GS7Mm23mkIjWNzFyuD
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmiJvm8ACgkQAVBC80lX
0GxMsgf/TYjwU0h3h8ERAutJOvPgEf9HT57Ei1EMr7Wt7ugKaakk76qcKezVJcsS
5QhpYj2vtrEJZNnOfqW0Pd+u3r6A3bQ7XzVBocL+10F1nEYHzKCk3B4CIeym7nlY
uHubL0ky41LCVSjJTB4WK5PuYbc0Ku6zVK8vmO5gh0DRlu4cJbeGiYPMn8AZ4E4f
tjmzVpTcQIZsrSUcjgO+zSfnc0KOS3cW16p+zsfRRxvOi0h+gHGLylqaHHxYZD0v
regY0JnsCGL5KqWIkjWsunoe2dnGQ1ivsZCP6Uu7FUsgSmVif66+5MvRnOrAO1+U
Gqra2brXY+1knF0KpDQJGUWz0vsHug==
=jE5r
-----END PGP SIGNATURE-----

--Sig_/argN=GS7Mm23mkIjWNzFyuD--

From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2684D179BD;
	Tue,  5 Aug 2025 03:31:25 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76
ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1754364690; cv=none; b=gmPJbfkeND1l8RdRiWF6YCCND1uoJMRxeN6U1JOhOih88YNVSZYpkGAimLhkg1Cr0UsVQ7+c//2GBaYpt5dxTBl/KRQGH7CsnI0lgByj3qm3TasZY2EMbbBH4ifJG/IxX1ODOEgyi0b4npFH7s9UQ6bT42TNU8VKKY2PuVjNvwU=
ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1754364690; c=relaxed/simple;
	bh=gUtkbztmQvdeHQAbP42jNSwai1NyZam9pejzGDHk5Ro=;
	h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:
	 MIME-Version:Content-Type; b=k9144yuAPGJnPySdVW4pkqvLKw2DXjcR9oJZIR1zCfgCtmXrljW0Hr8EwsT3TLnWE5G/1M1yCYG13FZv01Fnb6UYcfjPMinTLP+8KXQA4o7bE0PJF9+NeqK/3bcERV+EG5Co4NTE9HeruyoHhS6TFphZhcW7NXK5qFtM9e3rfZM=
ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=dd6cqySK; arc=none smtp.client-ip=150.107.74.76
Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au
Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au
Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="dd6cqySK"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au;
	s=202503; t=1754364683;
	bh=gUtkbztmQvdeHQAbP42jNSwai1NyZam9pejzGDHk5Ro=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References:From;
	b=dd6cqySKQMb3QvLVjG7wSt4EdYqWaMVowFTJ5bGcmLilFnIuchnQDW7UTRHX4fnz4
	 0+hi29Q6gDkoB2bZYauUH2OZn/6nz/Xa/nS3ZydOdthYVJtxWrcvI9i10vPBF69ekq
	 OxvgpyKwhXuKYjXTJwfDS0rXYI1WqaF3FnP1VhSc9Z61b80cZidcJ94uMEaOXSnbmX
	 HzsmZ2I8/f2FG8Tq9h12UzqL/WqBkQXjXiVzqioINrj7TKPE9mwHp6J1/S1/CCmu/Z
	 +7JZZr+Mcl4wwwEJJ77eR7MyxC3wuZt/cNb+11nzSMbKdWKTLXzmJeCgbR/yyB9Y8u
	 wrzmNJ8Otb2gQ==
Received: from authenticated.ozlabs.org (localhost [127.0.0.1])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(Client did not present a certificate)
	by mail.ozlabs.org (Postfix) with ESMTPSA id 4bwzVM56gHz4wcd;
	Tue,  5 Aug 2025 13:31:23 +1000 (AEST)
Date: Tue, 5 Aug 2025 13:31:23 +1000
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Linux Next
 Mailing List <linux-next@vger.kernel.org>
Subject: Re: linux-next: build warning after merge of the kbuild tree
Message-ID: <20250805133123.5a5edb70@canb.auug.org.au>
In-Reply-To: <20250730164047.7c4a731a@canb.auug.org.au>
References: <20250730164047.7c4a731a@canb.auug.org.au>
Precedence: bulk
X-Mailing-List: linux-next@vger.kernel.org
List-Id: <linux-next.vger.kernel.org>
List-Subscribe: <mailto:linux-next+subscribe@vger.kernel.org>
List-Unsubscribe: <mailto:linux-next+unsubscribe@vger.kernel.org>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/tG14QQJ_AjAfnn/_gdbpWMI";
 protocol="application/pgp-signature"; micalg=pgp-sha256

--Sig_/tG14QQJ_AjAfnn/_gdbpWMI
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi all,

On Wed, 30 Jul 2025 16:40:47 +1000 Stephen Rothwell <sfr@canb.auug.org.au> =
wrote:
>
> After merging the kbuild tree, today's linux-next build (arm64 defconfig)
> produced this warning:
>=20
> aarch64-linux-gnu-objcopy: vmlinux.unstripped: warning: empty loadable se=
gment detected at vaddr=3D0xffff800082750000, is this intentional?
>=20
> I am guessing this is caused by something added to the kbuild tree today.

I am still seeing this warning.

--=20
Cheers,
Stephen Rothwell

--Sig_/tG14QQJ_AjAfnn/_gdbpWMI
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmiRewsACgkQAVBC80lX
0Gzbdwf9GICdV0nQhT0V53oMiNNiujab84MFRWbVIH55fXFEn+AFJxYe5pwEs8JP
9EXexqdGAIoYyRT4ubxGSz9ZRhBVFRsriiE2D1Bn9sGoXphHmUUOo9CFAWFU3eJ0
erBfRDk93HwUNVusfFhOwzmRmJJ8+lwR4TNmbmo/7YNCxHzejzMOOYt7okQJY/So
JNstidcD53jR7woM4obPUhDA0/iPhgwrdN+crkRk+sLOahbT24JPFD2n0OJWOsOe
CJFVD+xj5oBtAvh/AEzmhln8w72EwuBCYJeLXBwZmLSwDRqFyDShgv5JPdLBQgHC
Pyv4kiOtNEAxDuPwwIG50Pqu/gK5og==
=WPFJ
-----END PGP SIGNATURE-----

--Sig_/tG14QQJ_AjAfnn/_gdbpWMI--

