Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2021372yba; Sun, 5 May 2019 20:34:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqwuTe4e40mzPPg2jGDodnJMddN/qlPQyDoAkQ/qWGnNPsC+IJSsVBUwwjYz/1FZEReIRo5O X-Received: by 2002:a62:38cc:: with SMTP id f195mr19972302pfa.15.1557113652817; Sun, 05 May 2019 20:34:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557113652; cv=none; d=google.com; s=arc-20160816; b=FeA86eBEf/Wx9A2MtamK6+mrIvF/BzndI0M0e+6u95WgSnRQq4Av2RhbH8MgCTVtqZ y/L6Gc0LnTplx5Z6ppPVSn+DLI+lII65pyhkuSRpZ4W+zmWZBMJR8V9q/rhiSM8bIbIm ol7tNDgnr8cRjSHTSdL+CEP6mD1WD+zeUmKi++y4ewlTQShYJbFQEIS6nEvZeq4YVK27 F6AeuhsUDUxURH7u3zJGHa2XF4aN2zdplsr4SAZkQJ8gC2SuYMb883noJaBkOMEvWtrT WYRTVYjumNzgI93gfw7DUzy12T6++u68xsCU5sSeTfZiVoml+8kWCofkrL27U8qtVSU5 K/Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=tncv0wFL5/NzewG4jAu+31mBcZX8HdaDIa+lTmSVLX8=; b=dGFVTBmI4/b9+MatdGWdrDqPBAW0zKZQiG3HcXBJnGadKNti9nB+JWwLY1+YpygEWF lMuY8ZArpZAVz2Ulspt8YYQHSMq8mRY8oF4ilAbXpD6vgEZKwN2314TY6qAo7d61FTNr IADoWuDwPJHckLoWlWtL+Fn7fzlsb5kJuYty0lvqiJ0kNcL4h8JXKB8ficoPM3mojM1/ NQZ42pfB9O2SaidezXAvJ+ES7VAPq0MyuBOOQK04vG4wCHi1AdxZ1vQhIdViQxTB70gn EwG2XjNk1bR5xMNRK19PVnmg111NDwZrJPv3HmJyKQLDQ+aa+AUFTZp/yajBsfdgwrTT 927Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t14si15039952pgs.543.2019.05.05.20.33.57; Sun, 05 May 2019 20:34:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726016AbfEFDdJ (ORCPT + 99 others); Sun, 5 May 2019 23:33:09 -0400 Received: from mail5.windriver.com ([192.103.53.11]:56328 "EHLO mail5.wrs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725813AbfEFDdI (ORCPT ); Sun, 5 May 2019 23:33:08 -0400 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id x463W2hq018658 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Sun, 5 May 2019 20:32:12 -0700 Received: from yow-pgortmak-d1.corp.ad.wrs.com (128.224.56.57) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.439.0; Sun, 5 May 2019 20:31:52 -0700 Received: by yow-pgortmak-d1.corp.ad.wrs.com (Postfix, from userid 1000) id D3EFD2E04E4; Sun, 5 May 2019 23:31:51 -0400 (EDT) Date: Sun, 5 May 2019 23:31:51 -0400 From: Paul Gortmaker To: Masahiro Yamada CC: Stephen Rothwell , Linux Kernel Mailing List , Linux-Next Mailing List Subject: Re: Fwd: linux-next: build failure after merge of the kbuild tree Message-ID: <20190506033151.GB2649@windriver.com> References: <20190506094609.08e930f2@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Fwd: linux-next: build failure after merge of the kbuild tree] On 06/05/2019 (Mon 11:19) Masahiro Yamada wrote: > Hi Paul, > > In today's linux-next build testing, > more "make ... explicitly non-modular" > candidates showed up. > Hi Masahiro, I am not 100% clear on what you are asking me. There are lots and lots of these in the kernel.... many fixed, and many remain unfortunately. > arch/arm/plat-omap/dma.c > drivers/clocksource/timer-ti-dm.c > drivers/mfd/omap-usb-host.c > drivers/mfd/omap-usb-tll.c None of these are "new". I just checked, and I have had patches for all these for a long time, in my personal queue, found by my audits. > Would you send patches? It isn't that simple. I wish it was. Some subsystem maintainers are glad to take the patches, and some think they are a waste of time and reject them immediately. Some I've sent just simply get "crickets". What that means is, that I need to look at each maintainer's requirements, and ensure the patch and commit log are matching expectatins - I will not just spam out hundreds of patches across all subsystems. Anyone who has spent considerable time in linux development knows that is a recipe for failure. So I need to work across each subsystem - one at a time, with their individual maintainer requirements in mind, and if you look at git history, you will see that has been what I've tried to do when I had free time to work on fixing these across the whole linux tree. But fortunately, none of these represent a CVE/security issue, so I've never had a reason to try and pretend there was any reason for an immediate fix/merge - they just represent a better attention to detail in the code we merge and support that I'd like to see happen tree-wide. I appreciate that you are also interested in seeing all these fixed, and I also wish they could all be solved in one version, but unfortunately I don't think that is pragmatic. So in the meantime, I will continue to chip away at things when we are early in the dev cycle and not starting the two week merge window, as we are just now. Thanks, Paul. -- > > I think EXPORT_SYMBOL_GPL() in omap-usb-tll.c > are also unnecessary. > > Thanks. > > > > ---------- Forwarded message --------- > From: Stephen Rothwell > Date: Mon, May 6, 2019 at 8:51 AM > Subject: linux-next: build failure after merge of the kbuild tree > To: Masahiro Yamada > Cc: Linux Next Mailing List , Linux Kernel > Mailing List , Alexey Gladkov > , Keshava Munegowda , > Samuel Ortiz > > > Hi Masahiro, > > After merging the kbuild tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > In file included from include/linux/module.h:18, > from drivers/mfd/omap-usb-tll.c:21: > drivers/mfd/omap-usb-tll.c:462:26: error: expected ',' or ';' before > 'USBHS_DRIVER_NAME' > MODULE_ALIAS("platform:" USBHS_DRIVER_NAME); > ^~~~~~~~~~~~~~~~~ > include/linux/moduleparam.h:26:47: note: in definition of macro '__MODULE_INFO' > = __MODULE_INFO_PREFIX __stringify(tag) "=" info > ^~~~ > include/linux/module.h:164:30: note: in expansion of macro 'MODULE_INFO' > #define MODULE_ALIAS(_alias) MODULE_INFO(alias, _alias) > ^~~~~~~~~~~ > drivers/mfd/omap-usb-tll.c:462:1: note: in expansion of macro 'MODULE_ALIAS' > MODULE_ALIAS("platform:" USBHS_DRIVER_NAME); > ^~~~~~~~~~~~ > > Caused by commit > > 6a26793a7891 ("moduleparam: Save information about built-in modules > in separate file") > > USBHS_DRIVER_NAME is not defined and this kbuild tree change has > exposed it. It has been this way since commit > > 16fa3dc75c22 ("mfd: omap-usb-tll: HOST TLL platform driver") > > From v3.7-rc1 in 2012. > > I have applied the following patch for today. > > From: Stephen Rothwell > Date: Mon, 6 May 2019 09:39:14 +1000 > Subject: [PATCH] mfd: omap: remove unused MODULE_ALIAS from omap-usb-tll.c > > USBHS_DRIVER_NAME has never been defined, so this cannot have ever > been used. > > Signed-off-by: Stephen Rothwell > --- > drivers/mfd/omap-usb-tll.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mfd/omap-usb-tll.c b/drivers/mfd/omap-usb-tll.c > index 446713dbee27..1cc8937e8bec 100644 > --- a/drivers/mfd/omap-usb-tll.c > +++ b/drivers/mfd/omap-usb-tll.c > @@ -459,7 +459,7 @@ EXPORT_SYMBOL_GPL(omap_tll_disable); > > MODULE_AUTHOR("Keshava Munegowda "); > MODULE_AUTHOR("Roger Quadros "); > -MODULE_ALIAS("platform:" USBHS_DRIVER_NAME); > +// MODULE_ALIAS("platform:" USBHS_DRIVER_NAME); > MODULE_LICENSE("GPL v2"); > MODULE_DESCRIPTION("usb tll driver for TI OMAP EHCI and OHCI controllers"); > > -- > 2.20.1 > > -- > Cheers, > Stephen Rothwell > > > -- > Best Regards > Masahiro Yamada