From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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=-0.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,URIBL_SBL,URIBL_SBL_A autolearn=ham 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 F3E1BECDE5F for ; Thu, 19 Jul 2018 22:09:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 99D5620684 for ; Thu, 19 Jul 2018 22:09:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="lQXcqNaa" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 99D5620684 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730974AbeGSWy0 (ORCPT ); Thu, 19 Jul 2018 18:54:26 -0400 Received: from ozlabs.org ([203.11.71.1]:43827 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730469AbeGSWy0 (ORCPT ); Thu, 19 Jul 2018 18:54:26 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 41Wp8H1KjDz9s4V; Fri, 20 Jul 2018 08:09:18 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1532038160; bh=jV8m08NwUQBL1nubJEnougKNJO6NvYMK91dR+g47ZL4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=lQXcqNaaNXqr8Py31+nY4CCzUFQA/s8p/bAujDZbDSJUTyA/4wsk+hVxfBX64jgJU 5h5/agH5s+GXk9iGMRPMAdACLMj3eMMwtLHWErONR5ckCFLgaEz+QbvxYDiIBRVtnx 2mxnxTVsbL1RXm2ZzP6UYJLtm8Qld+hv7ma3TaTvZg+kvFBdCbQYfyJaUzGcRFOKop CKhzaAdwSjm0pGS2GLoGHonnz4YUBYpCdWtc8eOjr0DMgj3KauV+/g7P13TN6ZeGU6 ty/Hg011CVKMK4uU+9N1PAYHCsyNt7JlSMRq6LtTeHwdCqBXurlday5CE4ssyEc9De fVUEpgCpJA/Qg== Date: Fri, 20 Jul 2018 08:09:06 +1000 From: Stephen Rothwell To: Guenter Roeck Cc: David Miller , Networking , Linux-Next Mailing List , Linux Kernel Mailing List , Masahiro Yamada , Andrew Lunn Subject: Re: linux-next: build warning after merge of the net-next tree Message-ID: <20180720080906.7a30c573@canb.auug.org.au> In-Reply-To: <6dabf12b-e3db-dfe8-101c-02772039e21a@roeck-us.net> References: <20180719120447.6e7ba23d@canb.auug.org.au> <20180719152940.0720e9c1@canb.auug.org.au> <6dabf12b-e3db-dfe8-101c-02772039e21a@roeck-us.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/LzLmvbjsCm6bMmqi8Epcb=x"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/LzLmvbjsCm6bMmqi8Epcb=x Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Guenter, On Thu, 19 Jul 2018 06:49:01 -0700 Guenter Roeck wrote: > > On 07/18/2018 10:29 PM, Stephen Rothwell wrote: > >=20 > > On Wed, 18 Jul 2018 20:52:56 -0700 Guenter Roeck w= rote: =20 > >> > >> On 07/18/2018 07:04 PM, Stephen Rothwell wrote: =20 > >>> > >>> After merging the net-next tree, today's linux-next build (x86_64 > >>> allmodconfig) produced this warning: > >>> > >>> * > >>> * Restart config... > >>> * > >>> .... > >>> > >>> This is output by my "make allmodconfig" and only started after mergi= ng > >>> the net-next tree today. It has continued for further merges/builds. > >>> > >>> I suspect commit > >>> > >>> 1323061a018a ("net: phy: sfp: Add HWMON support for module sensor= s") > >>> > >>> which added an "imply" clause. > >>> =20 > >> I thought "imply" was better than "depends on HWMON || HWMON=3Dn", but= maybe > >> not. Is that a caveat when using "imply", and does it mean that "imply" > >> should better not be used ? =20 > >=20 > > I don't know, sorry. It was just my best guess from what I could see > > had changed. > >=20 > > I wonder if it makes a difference that I am doing my "make > > allmodconfig" on top of a previous "make allmodconfig" and some symbols > > are marked as "NEW" (though they are not symbols related to the changes > > that happened during the net-next tree merge)? > > =20 >=20 > I tried to reproduce the problem, but I don't see the message. >=20 > What I do see, though, is that "make allmodconfig" on a clean tree, > followed by "make menuconfig", results in configuration changes. > Specifically, >=20 > > CONFIG_ARC_EMAC_CORE=3Dm > > CONFIG_ARC_EMAC=3Dm > > CONFIG_EMAC_ROCKCHIP=3Dm =20 >=20 > is removed by menuconfig, and a large number of "# ... is not set" > configuration lines are added. Weird and bad, since several of the > disabled configurations _should_ be enabled by "make allmodconfig", > and a large number of hwmon drivers are affected. Bisect does point > to "net: phy: sfp: Add HWMON support for module sensors", meaning > "imply hwmon" does have severe side effects and can not be used. >=20 > I'll try to find a fix. OK, my mistake, the "make allmodconfig" works, the following "make" causes the config restart. (I am actually doing cross builds and using an external object directory, in case that matters.) I removed the "imply HWMON" line added by the above commit and the problem went away. Also, using "depends on HWMON || HWMON=3Dn" instead of the imply fixes it. --=20 Cheers, Stephen Rothwell --Sig_/LzLmvbjsCm6bMmqi8Epcb=x Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAltRDAIACgkQAVBC80lX 0GxxHQf+OZrmyaDgLRRpn8CK/+fFsZrYD3X68yddEhsdIfs3xBT98WDSe60LHBjE 1pm6JMktZVJnsA1tMxmQTytM/dm7kVIgXRDN4Zf7/42Y/+0ikcuYSOkEYueKDeAZ 3v5hNzF7HBI4CvLUxiNKH+t2/q4KgN+gMPeafGbIDat9rhDf1ssyLCgtGrDB2YhX ZUiYJIWUqbOTucVm8YVaEZYT7otAn/I8RUGFs+E4QQ5CtLaH5UtVHkw3U9kFbZNY aVWeFMJfLEp7fS1aZ6jAavrpoD7y3wttMuEZm1XDLaYt3KpVquMsU/6bwYBY/XP6 JP/L0fIG9wbrXTWn1XdLQybIXb0nTw== =sElz -----END PGP SIGNATURE----- --Sig_/LzLmvbjsCm6bMmqi8Epcb=x--