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 3F618C636D6 for ; Fri, 17 Feb 2023 22:44:50 +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=LOw3UNU0BhREj3xPjsktsY/GE5/id62wkE/L6l+Wrwg=; b=KeQF85cgd7Gx9z nLqgfMQ6X4dRemgA/rGubLsscMSdIZGX7VRKI0IF+jZ41ixN854LeEVOlaiXeUaUIoD9p+5lo2yeY tgC+ZlzUYkGL/69ZKbYBlZQbRKkZtjOtpIbzHzHQclqEiFz2sD6f0ufBSu7VeS8iQqZEqIiBGEsLn 57QWRk0/IdmiU7yMPBaul21HLMCvzycC7zoOZ3CRyi2GrXh4bAt+bb3p0hyp8MQNBo4QltEQulwgl HuXZSPxg0i6R4IpdhOSNm5SwOxDiaAhdveETxEgVnXu0dQT6raHso6Zy3bNFkN3epfsRjQJaG4HSc VDiN2Ffh0VWdJtb8F3qA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pT9SE-00FtJh-0M; Fri, 17 Feb 2023 22:43:46 +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 1pT9SB-00FtIh-8F for linux-arm-kernel@lists.infradead.org; Fri, 17 Feb 2023 22:43:44 +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 13E16B82C7B; Fri, 17 Feb 2023 22:43:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9FF8C433D2; Fri, 17 Feb 2023 22:43:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676673818; bh=+HbER9gRaOdqJvCgoiw4p+5mwFXigj7PGX4lXXJ384A=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=Rk4XhBugAiTkQspoJtCST31JGdnpEMV/5G/pgFpc7prYn7hknhEHya2H8cKDesZeJ ShVYF42a7Xv9+pEFwP/CItzwNH5DbrNjehqI93K9SItPcFpPc85XR1j6qJk0XlMhMB UMNVWhxXyTYiIw3gqtipuY4w/U/GW/xdi47AlxVZ7Ltc0YsH/dhvYt6XGemgTQZshv 30/iLWmJGDg9tHzqc7LxODLOI7Jo93rrLjXkkLevTmugVdzspEilDD9YUqx9mxeL4C 9RYQb38l+2STOfqugN0jo5PkkrBwip/PoDBrolQXNS4+xG0x+6A3dvS/9LoizLpTOY EUb6A1F0hMqkw== Message-ID: <1c249c45ef3ac3c4904e0f5a3da11637.sboyd@kernel.org> MIME-Version: 1.0 In-Reply-To: <20230217141059.392471-14-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> <20230217141059.392471-14-nick.alcock@oracle.com> Subject: Re: [PATCH 13/24] kbuild, clk: bm1880: remove MODULE_LICENSE in non-modules From: Stephen Boyd Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Manivannan Sadhasivam , Michael Turquette , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org To: Nick Alcock , mcgrof@kernel.org Date: Fri, 17 Feb 2023 14:43:36 -0800 User-Agent: alot/0.10 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230217_144343_469933_647836DD X-CRM114-Status: GOOD ( 11.87 ) 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-17 06:10:48) > 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: Manivannan Sadhasivam > Cc: Michael Turquette > Cc: Stephen Boyd > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-clk@vger.kernel.org > --- Acked-by: Stephen Boyd _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel