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 3AE86C61DA4 for ; Wed, 22 Feb 2023 23:44:41 +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=+HC/Ha8lhY928lYrt/AsjTKWJnRTSNDvarRYslEdVJg=; b=NhnbP46obHP51M ZUNWl4pCxUFNfHCd7Au63gWtfzpINEcoIfSZ6pqP5pAMOR1vhkuZk3o8Uzm1UjeOnhLEx/GulcF3t 6liLKXG81vKrSbqmDBsYCo7xAFvvVSdwxogx8+F7N0XD7zQGc/8PeFK1mvshlrBDjXdIgVbA4kgcl M9AyUuGFZNp6/2kAW3VGnU7DS2KAu6+uq+skaauf7+vXrGiAJZcf1f/UQFXeYF95xzS4897opfmYv zA4QPkWxzKgh11MzRWj5wcU+kWhKpBz2kvgxpVIXNpu6rJvIZCyhr8XggoCraz21VmqMcfprhyo/N M7uGJidunXG9fwXUNIiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pUym7-00ESnw-7Z; Wed, 22 Feb 2023 23:43:51 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pUym4-00ESlh-6a; Wed, 22 Feb 2023 23:43:49 +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 2F050B817C2; Wed, 22 Feb 2023 23:43:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE87CC433EF; Wed, 22 Feb 2023 23:43:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677109422; bh=kvjf7YdN3a97l7ASeaGM3aUy2ksXyUSWrHo4iuLbyqg=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=sGjlvocIrEbCCQ+5NqB8+0bJfQ8Vdi+3aYQcN0JIBxHVgVNS2ZQDCSYN3BlCX5Eep WxnqDx83IwtgEDpqhpNlCcVfCMViiKRUWauLHoU5eS9RX8K0l5dCQbYU+VmVgFcne9 xgIJw1xkA9SP1YMNrnRcAhcDubVWnI0+P2M1Zc4ho2oZ8lJeFceM6k28Qn1ssJwNa9 EheoFhTl0IH0gnrvWPYAbS12ePuYcWz95Ak9uKb76d79uxJgaOmei/o9gAEktkCAOv wb/EskW7l8y7fc9P3DCh8fKHBHAyktNJA6akxVAB7ERXMygJg3aN7D/JE1qT34H9x5 SLcbh9SDdtiUA== 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: Wed, 22 Feb 2023 15:43:40 -0800 User-Agent: alot/0.10 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230222_154348_404680_6C24D20B X-CRM114-Status: GOOD ( 12.15 ) 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 > --- Acked-by: Stephen Boyd Unless you want me to pick this up? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel