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 382BBC64ED8 for ; Fri, 24 Feb 2023 21:26:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230199AbjBXV03 (ORCPT ); Fri, 24 Feb 2023 16:26:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230133AbjBXV01 (ORCPT ); Fri, 24 Feb 2023 16:26:27 -0500 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3C466F435; Fri, 24 Feb 2023 13:26:25 -0800 (PST) Received: by mail-pf1-x435.google.com with SMTP id g12so306031pfi.0; Fri, 24 Feb 2023 13:26:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=B5yhkktVaVGYkk/cuH+RN6eD59bu5PZOR28I2frvfH8=; b=VkOQFJ8xlBzwnZbxQH+oouRag+3X3CaYmPLwCYFXBSCRIlvo5BWfDEvGcUkOeGl9GI 9PU2R4G9FNUMe21IfrdFgOziFfSCSM9SIdglUv4tw2Oue7OdNIfdf8bQmm5E6yOYJoo4 1P2BegwaqtZKFaYYe5QNZB+fHgMS07y7LvxHTg9Pv+GRhBl0uzDVBOIH8YzIca2kFBsr 5QM6gnZb+oLl/eULdIzux/MPCrMyg1RtmCTMjpJWU6PdCtAAa2eafOyPlq8S3vt6V/W5 qSs+4znoqMx6+9W/5rNiQkmlwOaJbaBdIsaHvorO01gymiDb6DMqEu45JEjw1dLLYykk XQwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=B5yhkktVaVGYkk/cuH+RN6eD59bu5PZOR28I2frvfH8=; b=zo4UZ6iJcCjkuviOcFbnwd+Vs2Gq+Ip/Z6e8h40wLM+CiFdmZoA7uC5/GOlHkdolRS iln0gZ0IFPII9bFEyTcxqvAm7DkbNpWtOoq8Gxdwg+x5eVCAhMFSLgtfePsmt446nibv Ya+u/AG9N1uegLj6l+Uk3suVafwlolzn3Ocg3RQ15F9Av/bCQrSbNRO7u50NV7f7rG0T gNzvIp0INffNieUsUGAAn2ElfHWvNFz3k8MJEPJaW5g5g06i3s8f0tpsJ8EhZGVBVvB6 YV5VyqogJ67E6EvRX8PIkArjj7IR+Q/a6Ifbhgw34ut5Y5Ddoc+JPO8lW+bB+zzY56Ln 8WMw== X-Gm-Message-State: AO0yUKW8BAygw1Dq36cBQPbpkwtTq/XfVGkiDOJBmFA2IClnQK/v+IeG hvjRDX+nhSVMz1rBTUIfQvE= X-Google-Smtp-Source: AK7set++cMvf4ybFhV3Dqm+rgAV0CG1xF6Bbtk0odqKF6J5L83Fyp633n1452sUWkFMNvDpYgKXJmg== X-Received: by 2002:aa7:9466:0:b0:5a9:c7bb:4d94 with SMTP id t6-20020aa79466000000b005a9c7bb4d94mr16857757pfq.33.1677273985388; Fri, 24 Feb 2023 13:26:25 -0800 (PST) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id y6-20020aa78046000000b005df065ebd5esm2941449pfm.209.2023.02.24.13.26.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Feb 2023 13:26:24 -0800 (PST) Message-ID: Date: Fri, 24 Feb 2023 13:26:23 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH 05/27] kbuild, soc: bcm: bcm2835-power: remove MODULE_LICENSE in non-modules Content-Language: en-US To: Nick Alcock , mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Ray Jui , Scott Branden , Philipp Zabel , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org References: <20230222121453.91915-1-nick.alcock@oracle.com> <20230222121453.91915-6-nick.alcock@oracle.com> From: Florian Fainelli In-Reply-To: <20230222121453.91915-6-nick.alcock@oracle.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: On 2/22/23 04:14, 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: Florian Fainelli > Cc: Ray Jui > Cc: Scott Branden > Cc: Philipp Zabel > Cc: linux-rpi-kernel@lists.infradead.org > Cc: linux-arm-kernel@lists.infradead.org Applied to drivers/next (cannot push right now due to some firewall issue). Thanks! -- Florian 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 1E47FC6FA8E for ; Fri, 24 Feb 2023 21:27:32 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Cc+lrckyRFhF3nUOxLD/99O0LnuA9+j/DKLqtlC81RQ=; b=j1rsrkNqtkajBi 5hvAoCH0eNmG9eJMsJkoNXNA8n03N7ru/YCZ6SBo7JvvTiuS6R+wykbiPkocPt250GVtnUFS8F472 DyI2AICCdoHAx7l0H/Xjh8+BRgG36CpthFAAmbNcYw4ho5gRmrYMIp6OZupMINFZAJ7iflK0l1ha6 0o50W4gPwHv/I3M7pAzka611b3Zk6o74uNy6gA5/c39SwSIahqMiyuCyrjB9j1xNTKcjBKkbUw8Ep ecjJX+Yw4ZjjSNCdmhu6GmVw+nf+wKqLzoUm+mX9cqVd0x1bnPRV637yHDVLr+b/gzhbVmB8Y7cCI FabHIAY08kTOM0B5vORA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pVfaP-003xd9-Dy; Fri, 24 Feb 2023 21:26:37 +0000 Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pVfaF-003xY5-Fj; Fri, 24 Feb 2023 21:26:28 +0000 Received: by mail-pg1-x52a.google.com with SMTP id q189so342023pga.9; Fri, 24 Feb 2023 13:26:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=B5yhkktVaVGYkk/cuH+RN6eD59bu5PZOR28I2frvfH8=; b=VkOQFJ8xlBzwnZbxQH+oouRag+3X3CaYmPLwCYFXBSCRIlvo5BWfDEvGcUkOeGl9GI 9PU2R4G9FNUMe21IfrdFgOziFfSCSM9SIdglUv4tw2Oue7OdNIfdf8bQmm5E6yOYJoo4 1P2BegwaqtZKFaYYe5QNZB+fHgMS07y7LvxHTg9Pv+GRhBl0uzDVBOIH8YzIca2kFBsr 5QM6gnZb+oLl/eULdIzux/MPCrMyg1RtmCTMjpJWU6PdCtAAa2eafOyPlq8S3vt6V/W5 qSs+4znoqMx6+9W/5rNiQkmlwOaJbaBdIsaHvorO01gymiDb6DMqEu45JEjw1dLLYykk XQwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=B5yhkktVaVGYkk/cuH+RN6eD59bu5PZOR28I2frvfH8=; b=brQfI+ySpo77TfGVjy9izi1CL66EGDoWTgLqdP5zUa1fZRZZ8v3Gr/NUGRcn2ZFNNH TiB7KFx54kLPR0u55SkrwjlVBK9+KAQ1kNWZ1H9MI5xqA9ZLi2NjszXOp5FsbyiS/jwG 1DBqv5UpU+h2U2qL2mRHTDbRcESKdAaEU0NsM6d6S77RUmTtqh2Fs5Wv25JGrPCqzX4X JH/kFKMAg2bCg7oCMR6X4MYn7kw16hmxnPLwzRYyLwXSJddFAUKx73Wf743WhHYx24IH paxiAU3lqVxuCrW5oJ5GR3UEpF5vPB59KSaItdEZiAsOxYgCC4DNuzN3BvTOm8T3EsAe qBCQ== X-Gm-Message-State: AO0yUKVuvcPvMnFC19HpTRDtStoykw7KhN2Fid/HkCnpoZ2LPH2bmKk/ eiGfYnlwwWML6m4LriSn4fM= X-Google-Smtp-Source: AK7set++cMvf4ybFhV3Dqm+rgAV0CG1xF6Bbtk0odqKF6J5L83Fyp633n1452sUWkFMNvDpYgKXJmg== X-Received: by 2002:aa7:9466:0:b0:5a9:c7bb:4d94 with SMTP id t6-20020aa79466000000b005a9c7bb4d94mr16857757pfq.33.1677273985388; Fri, 24 Feb 2023 13:26:25 -0800 (PST) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id y6-20020aa78046000000b005df065ebd5esm2941449pfm.209.2023.02.24.13.26.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Feb 2023 13:26:24 -0800 (PST) Message-ID: Date: Fri, 24 Feb 2023 13:26:23 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH 05/27] kbuild, soc: bcm: bcm2835-power: remove MODULE_LICENSE in non-modules Content-Language: en-US To: Nick Alcock , mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Ray Jui , Scott Branden , Philipp Zabel , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org References: <20230222121453.91915-1-nick.alcock@oracle.com> <20230222121453.91915-6-nick.alcock@oracle.com> From: Florian Fainelli In-Reply-To: <20230222121453.91915-6-nick.alcock@oracle.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230224_132627_555964_784DEDF1 X-CRM114-Status: GOOD ( 12.16 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2/22/23 04:14, 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: Florian Fainelli > Cc: Ray Jui > Cc: Scott Branden > Cc: Philipp Zabel > Cc: linux-rpi-kernel@lists.infradead.org > Cc: linux-arm-kernel@lists.infradead.org Applied to drivers/next (cannot push right now due to some firewall issue). Thanks! -- Florian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel