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 D40CCC61DA4 for ; Thu, 23 Feb 2023 01:37:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229917AbjBWBhD (ORCPT ); Wed, 22 Feb 2023 20:37:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231533AbjBWBhB (ORCPT ); Wed, 22 Feb 2023 20:37:01 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 852932E0D8; Wed, 22 Feb 2023 17:37:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ioIf77uX6u51Hpem+s6k528TPjHbR7wZpcQo8CQSX2c=; b=BfwQVPrt+VHU88/TvunqKA0eNJ +Vsz0I+aBA6H4TotTtaskQoudUbCgO61nOI+WWZm8imy/sXi0H5VPXlJ/nRolnvWFytRc5ReuRBZN G76plXXMQHPKwAmCfA0AamWJslU8otqhdGXKx+MwjvoW33X6LIsySMXzCcRlwp8FUNHa2IieoX1Sg MiBw0DlJl8WatgeNhzFztEo1OHZXgJ34xmBgGHAW0a5lE2WRcEwvm+lYegr2ju+e+vJa6/TpxXlPA +MEvUuHYX94xBGn2M/oUg2YB8K2Wh1OiGNGvrhl+n6NPqPqUB5Lk5M8GKuAlpmyyYRhQWFPP/pNcR FpiuggNQ==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1pV0XZ-00EfLI-DV; Thu, 23 Feb 2023 01:36:57 +0000 Date: Wed, 22 Feb 2023 17:36:57 -0800 From: Luis Chamberlain To: Stephen Boyd Cc: Nick Alcock , 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 Subject: Re: [PATCH 11/27] kbuild, clk: bcm2835: remove MODULE_LICENSE in non-modules Message-ID: References: <20230222121453.91915-1-nick.alcock@oracle.com> <20230222121453.91915-12-nick.alcock@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Luis Chamberlain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 22, 2023 at 03:43:40PM -0800, Stephen Boyd wrote: > 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? Up to you, you can pick it up, and by rc3 of the next kernel I pick up the last stragglers that no one picks up as reflected on linux-next. Luis