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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50CDAC64EC4 for ; Fri, 3 Mar 2023 10:53:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229872AbjCCKxP (ORCPT ); Fri, 3 Mar 2023 05:53:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbjCCKxO (ORCPT ); Fri, 3 Mar 2023 05:53:14 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F8D9D508; Fri, 3 Mar 2023 02:53:13 -0800 (PST) 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 B9D1CB81893; Fri, 3 Mar 2023 10:53:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51F35C433EF; Fri, 3 Mar 2023 10:53:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677840790; bh=w88XGRodHuw17nPzz6nwzqhtFOkjDDgKV4axkhB1fug=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=K2ja+rphEorQP/IDEK4Ha1liD/KaBSffMjaU34PSAi8S/mprs6sZM+/3WVmlVfdqI d445JriYvVzDy4LQUSUpj9iLzJ4GPgcxvRuy4ffLB22v3mQEGKq997sSrJPCs1kZM5 d0eZr52bgSTcOlKTbRAtn8iPxFoWoXlKdkXZLdGZHr8Uqq/h58wwG5DwO9jSWwezZo bu0jjlzpSEToRPbF6XPRcMmB+1iBI8IgI8BlL7OvdIZgkCgT7dSzMm8HySUCxywc2c rSnzdK9kUMakIUD+ST1Bv6lW+/FKglumBs+Pz6vmq0eb3aYqQ1qwto+UpnjNZ+ft/d 6SiDZOl7xaL8g== Date: Fri, 3 Mar 2023 10:53:05 +0000 From: Lee Jones To: Nick Alcock Cc: mcgrof@kernel.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Florian Fainelli , Ray Jui , Scott Branden , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 21/27] mfd: bcm2835-pm: remove MODULE_LICENSE in non-modules Message-ID: <20230303105305.GB2420672@google.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> <20230224150811.80316-22-nick.alcock@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230224150811.80316-22-nick.alcock@oracle.com> Precedence: bulk List-ID: On Fri, 24 Feb 2023, Nick Alcock wrote: > 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: Lee Jones > Cc: Florian Fainelli > Cc: Ray Jui > Cc: Scott Branden > Cc: linux-rpi-kernel@lists.infradead.org > Cc: linux-arm-kernel@lists.infradead.org > --- > drivers/mfd/bcm2835-pm.c | 1 - > 1 file changed, 1 deletion(-) Applied, thanks -- Lee Jones [李琼斯]