From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from muru.com ([72.249.23.125]:48076 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726118AbfEFVLZ (ORCPT ); Mon, 6 May 2019 17:11:25 -0400 Date: Mon, 6 May 2019 14:11:20 -0700 From: Tony Lindgren Subject: Re: [PATCH] Remove MODULE_ALIAS() calls that take undefined macro Message-ID: <20190506211120.GR8007@atomide.com> References: <1557163697-17882-1-git-send-email-yamada.masahiro@socionext.com> <6d8e2880-0cc0-a7d8-1d42-4401e15e3ac9@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6d8e2880-0cc0-a7d8-1d42-4401e15e3ac9@linaro.org> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Daniel Lezcano Cc: Masahiro Yamada , linux-kbuild@vger.kernel.org, Stephen Rothwell , Alexey Gladkov , linux-kernel@vger.kernel.org, Thomas Gleixner , Lee Jones , Aaro Koskinen , linux-omap@vger.kernel.org, Russell King , linux-arm-kernel@lists.infradead.org * Daniel Lezcano [190506 17:40]: > On 06/05/2019 19:28, Masahiro Yamada wrote: > > These files do not define (USBHS_)DRIVER_NAME. Yet, they can be > > successfully compiled because they are never built as a module by > > anyone, i.e, the MODULE_ALIAS() calls are always no-op. > > > > A problem showed up when a patch "moduleparam: Save information about > > built-in modules in separate file" is applied. With this new feature, > > MODULE_*() are populated even if the callers are built-in. > > > > To avoid the build errors, the lines referencing to the undefined > > macro must be removed. > > > > The complete fix is to remove all MODULE_* and #include > > like many "make ... explicitly non-modular" commits did. > > > > For now, I am touching the offending lines. > > > > Reported-by: Stephen Rothwell > > Signed-off-by: Masahiro Yamada > > --- > > Acked-by: Daniel Lezcano Thanks, please feel free to merge together with your series: Acked-by: Tony Lindgren Or if you want me to queue it separately, please let me know. Regards, Tony