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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C4A78C61DA4 for ; Mon, 6 Mar 2023 19:31:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Date:To:Cc:From:Subject:References: In-Reply-To:MIME-Version:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PSZMA7sPfftYKtXQAIf8SVMTYatkalrXOEbIAXRQfgg=; b=a7c1InPZTTVF6M SOqONXRuWyYLr76MX2iDtQqLx8arjudrfkkwkOz2ULFFG7xGrss/pDAL6QX252u9llcTloKtjLKrK e3gEwUtMElijoic8vPWwJzws9Bl/UFMDWnRWMTKvGs72RDcSavEtKch+eCDGFvNUPQxp8LNMU97C9 OsDM7MbQvFmHLz0vlP616dFznxhMtr6ELZNiBotnkpLecSWKFni4dq2Ekvt780Ulx2z4/yFELXHkz VjHSBZMYf8j+rKXP6UAIfb/qRUHx7oLSxpeQdZ6iJ7dcpHZiDPvdEIWHt54ALBI/+52XT/9F9lHJc qf0u09dgZCPo8p62SCBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZGXJ-00EbJY-1O; Mon, 06 Mar 2023 19:30:17 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZGX8-00EbGD-Ma; Mon, 06 Mar 2023 19:30:09 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 37403B810CF; Mon, 6 Mar 2023 19:30:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD916C433D2; Mon, 6 Mar 2023 19:29:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678131000; bh=hCveUPTHfPlfd4ckjlJ+h3qtXYHgC0QYnx+BbTyXMjI=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=LrhrxY/V1SwrNdgraCO6Bs1NZMyDpSOsvOEZ+opYk8NgYUYkAjV0zyInHnQ3lrP5k X2tGx75cKEQ+zzNKBHmI//i0VIznb6u2ACEq+815kVC8ZWZssS/r/dEaP3DxqCQnMX JUt0ERw2LjVEvXtaoTaZsaj5y+ncmgBsNbtNdzlcMIs/OmkJCnw2E+sE87Firfr+hM maTOtEW6p77FT8CfM/1L4yIWAzysbpxFOjiv+gD2aKdFnm+bMWK2ncJe98jDEgtmEW toRRq/TQ3aRRnCL+qMKKiwkbIzCHC1wuPzIPbncBP+csjE1TxmGuIAiUABxm6VgHdw tqb2JHsPbBZzA== Message-ID: MIME-Version: 1.0 In-Reply-To: <20230222121453.91915-12-nick.alcock@oracle.com> References: <20230222121453.91915-1-nick.alcock@oracle.com> <20230222121453.91915-12-nick.alcock@oracle.com> Subject: Re: [PATCH 11/27] kbuild, clk: bcm2835: remove MODULE_LICENSE in non-modules From: Stephen Boyd Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Michael Turquette , Florian Fainelli , Ray Jui , Scott Branden , linux-clk@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org To: Nick Alcock , mcgrof@kernel.org Date: Mon, 06 Mar 2023 11:29:57 -0800 User-Agent: alot/0.10 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230306_113007_720928_6E547AA2 X-CRM114-Status: GOOD ( 11.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Nick Alcock (2023-02-22 04:14:37) > Since commit 8b41fc4454e ("kbuild: create modules.builtin without > Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations > are used to identify modules. As a consequence, uses of the macro > in non-modules will cause modprobe to misidentify their containing > object file as a module when it is not (false positives), and modprobe > might succeed rather than failing with a suitable error message. > > So remove it in the files in this commit, none of which can be built as > modules. > > Signed-off-by: Nick Alcock > Suggested-by: Luis Chamberlain > Cc: Luis Chamberlain > Cc: linux-modules@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: Hitomi Hasegawa > Cc: Michael Turquette > Cc: Stephen Boyd > Cc: Florian Fainelli > Cc: Ray Jui > Cc: Scott Branden > Cc: linux-clk@vger.kernel.org > Cc: linux-rpi-kernel@lists.infradead.org > Cc: linux-arm-kernel@lists.infradead.org > --- Applied to clk-fixes _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel