Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2257137rwl; Sat, 1 Apr 2023 04:58:12 -0700 (PDT) X-Google-Smtp-Source: AKy350ZmJWS2hy6+Q7pUHaOgj1gua5DvhtW1bAAR4wIwqSpv9p9BvCvOEnWuDawsX7tmu6zxTEVj X-Received: by 2002:a17:902:f904:b0:19e:31a3:1a87 with SMTP id kw4-20020a170902f90400b0019e31a31a87mr23019509plb.39.1680350291927; Sat, 01 Apr 2023 04:58:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680350291; cv=none; d=google.com; s=arc-20160816; b=0KMSHdbS5zfNXjAVww0PmlkRcHuB0AIkfoHGlnpu6xGqMd3XgKKjUle1tLntA/AvhX YbMqbNhBNLrhRXRvNXC/7jQhBM6zrN6iUPVQYFteI5/DYOIEs7+25z3VupeVR7dmSAH0 tX4EkTePrnYTfyr3MOhfgsef5YvL+STEbs7fjEdF+OGkjBzUe9lc8F+ovbXFtE/azbaS 5VUaIX8HL8WlYzavZpCtP83BAPgxnw540DN/I9Nef0KEZ2YS92g9SF5ZYDQiKKMY7lKn 8YZa4K51Y+DebYBjac0w4o5CZEiz9bgOhzGewvp/+4WGG7IFCWP+EcUeNMTx8pcPlJos mhPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BRoEIkIG+7eAVhs9duV3p3lIy/wXARVavujoy8JQa7o=; b=0VzcI1zUJVFxhHSxLDVlFGga9UXLSvj1he3nkimhXG1XGeA6JhWWvzdXnPLrbaRAW9 ciHslbHVV5m9+lmlKmB98DgXFp7zpvrRNvJ6SXDkHxdPmtw1onOU7OyxrrVLZqIxbNwS qeYo+Vtcxl3X3LCYmPT4DBredC8QPAmbsoSdQbEZFHACfRKS781xZQjqf3YNW+tZE/Ar 528HcF0HH6P6LK8CgAlrL1XyYnuKQ6dqTcd2mPpFocv9FuYrQxlt7PnDkCXT+5CrB5c7 3nlvxB/g1/3gjCoQkNCv6AJzZBRmT4VSBfUTJtQQvX1CHi5Akz5UFmb5uj+XAsMty6hu uboQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=OCWazxff; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id iz12-20020a170902ef8c00b001a1cbc1a94csi4011273plb.554.2023.04.01.04.58.00; Sat, 01 Apr 2023 04:58:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=OCWazxff; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230145AbjDAL52 (ORCPT + 99 others); Sat, 1 Apr 2023 07:57:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229942AbjDAL5K (ORCPT ); Sat, 1 Apr 2023 07:57:10 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44B6724413; Sat, 1 Apr 2023 04:56:41 -0700 (PDT) Received: from zn.tnic (p5de8e687.dip0.t-ipconnect.de [93.232.230.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 8E4591EC0420; Sat, 1 Apr 2023 13:56:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1680350186; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=BRoEIkIG+7eAVhs9duV3p3lIy/wXARVavujoy8JQa7o=; b=OCWazxffDgwyQU8bVPdKGu4Zw3dZA3N5/z1oKXVCZXRotfDERE9Xg2dIWiZx/sEu5F+seO PAqFKHBg+lqfXA6aXejznrl5r2BS/d/lQVd7/F7O02876bTo5oOqCJjlidLgrRTctSp535 DeXPuEz3b9ikdIvVwMQSRF3CtoYCdPY= Date: Sat, 1 Apr 2023 13:56:23 +0200 From: Borislav Petkov To: Nick Alcock Cc: mcgrof@kernel.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Dinh Nguyen , Tony Luck , linux-edac@vger.kernel.org Subject: Re: [PATCH 23/24] kbuild, EDAC, altera: remove MODULE_LICENSE in non-modules Message-ID: <20230401115623.GBZCgb50aBhMs/nUlO@fat_crate.local> References: <20230217141059.392471-1-nick.alcock@oracle.com> <20230217141059.392471-24-nick.alcock@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230217141059.392471-24-nick.alcock@oracle.com> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 17, 2023 at 02:10:58PM +0000, 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: Dinh Nguyen > Cc: Borislav Petkov > Cc: Tony Luck > Cc: linux-edac@vger.kernel.org > --- > drivers/edac/altera_edac.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/edac/altera_edac.c b/drivers/edac/altera_edac.c > index e7e8e624a436..ba325d4c5e83 100644 > --- a/drivers/edac/altera_edac.c > +++ b/drivers/edac/altera_edac.c > @@ -2226,6 +2226,5 @@ static struct platform_driver altr_edac_a10_driver = { > }; > module_platform_driver(altr_edac_a10_driver); > > -MODULE_LICENSE("GPL v2"); > MODULE_AUTHOR("Thor Thayer"); > MODULE_DESCRIPTION("EDAC Driver for Altera Memories"); > -- Applied, thanks. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette