Message ID | 20230216152410.4312-4-nick.alcock@oracle.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-modules-owner@vger.kernel.org> 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 42844C61DA4 for <linux-modules@archiver.kernel.org>; Thu, 16 Feb 2023 15:25:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230137AbjBPPZD (ORCPT <rfc822;linux-modules@archiver.kernel.org>); Thu, 16 Feb 2023 10:25:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230113AbjBPPZB (ORCPT <rfc822;linux-modules@vger.kernel.org>); Thu, 16 Feb 2023 10:25:01 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCC7D552AC; Thu, 16 Feb 2023 07:24:53 -0800 (PST) Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31GFOCCh017535; Thu, 16 Feb 2023 15:24:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=c6IWbJBVBiEgHMSoA1b+eIxi+5LF797eyAAPIr9/w4Q=; b=f3LxeezeN1PFWeoms8XT0EIjxpXMmNM6RY0Rgc1EBpnIPPqIdcMr5tit4GpUmaHMkxdn MGL2hse/TjSZW2hxKVy8//D0etRBc9JRbQHH0nvAmA/aBG7MKWC7yuNgycMRzpYK/MKB RtOJPkEyokgmCEgZ7n8Z7ELB0cofCrNYIBlQ2QJmrw4UcCb8ALHstjjW098atwI3z65A wSk5csu+uGT5u0KXDRp3UaQlU379Q7ZNY206P7oE7Ph91KbfQ7AmEcd0AAMqkrDcCgRx L7pHmbZpH+Go89ocLePNCsAxlEIqJQ6x842lX63iVNDbX3czz1PUEnGcfmazFogUbWw6 Aw== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np1edkbfu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Feb 2023 15:24:43 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31GEeeIp015108; Thu, 16 Feb 2023 15:24:42 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2168.outbound.protection.outlook.com [104.47.58.168]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1f8rrym-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Feb 2023 15:24:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KXPOvgwwUl3wXg4ng1xTKYzn3sUkHXRmV1vgLQ2N5j0SGLu3rsFqffFeYW5jpm/FgS5EX8PiuvWmQoKK4zelMpm3F+Gu7z2ikvXSUjefjTWW2EVjBKDkA+LVF7Ozu6upNixMAV9xk/0xObl1wsJFTLrOLRnKosaqMN0opJVU1Fib3q28r9aFw7OgcMLXZHEbmi2xCZn8YOE9OvMwvyIDf42GKgc6phoWfJmnsOajBwqnzZOhU4yOvHCwwMmjzC+umb+Z2wdGcU+m/S7+do++xi6guBaXasdJMBYEPUcJ6A323nq1fjCJXx+hXMoKyU4UTbR7uT/GbI72fywvM9wgrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=c6IWbJBVBiEgHMSoA1b+eIxi+5LF797eyAAPIr9/w4Q=; b=PY/Kbwa3/zsyXF/e29ulkTjoHgvdPT65758XojCrATDAXevxiICbE1msKXF3nj5jeo+yISafQ0F8cW+YnOWlAKaQ4YU1216jcY+Hd/D6a2VU2lurMZxX42CWxraKh7Gt7iixlI6MPeLdVO3JwktawObPbOCeXg+TtsanrnFsD47FlJpmbcsSwePYaZ/uo88T840t9obWWAp8FuGf/pNA6qRb9Z461x8x1mIjpftENfmv5X1Zoq6SclBEQp/Lev264iok2EP2BpFC1SqXN5E759Y/Aq4Ey9hSfi6kDSYWRBjSzlEHjb4vIYCDXzVYl/8wriyOCphKkFM4ToPW/XQByg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=c6IWbJBVBiEgHMSoA1b+eIxi+5LF797eyAAPIr9/w4Q=; b=ENhUKKj7fnrZt+bfTWiz/JitlR1f5xQxlVVAgEYcyW7VvN5Ss8lFipBEhfdWvb7dHfEW8bnqu0jCdZNAujqpKeT0fbAtpDzfZoWGAO1UCCCihf7IuaeZfH7Z4BicGG4hY22VpoQg4mjuNfAGvFSandCW/WOdqx7tkiqDGyvIm1E= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by DM4PR10MB6183.namprd10.prod.outlook.com (2603:10b6:8:8b::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.6; Thu, 16 Feb 2023 15:24:40 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.006; Thu, 16 Feb 2023 15:24:40 +0000 From: Nick Alcock <nick.alcock@oracle.com> To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa <hasegawa-hitomi@fujitsu.com>, Thierry Reding <thierry.reding@gmail.com>, Lorenzo Pieralisi <lpieralisi@kernel.org>, Bjorn Helgaas <bhelgaas@google.com>, Jonathan Hunter <jonathanh@nvidia.com>, Philipp Zabel <p.zabel@pengutronix.de>, linux-tegra@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH v2 3/7] kbuild, PCI: tegra: remove MODULE_LICENSE in non-modules Date: Thu, 16 Feb 2023 15:24:06 +0000 Message-Id: <20230216152410.4312-4-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230216152410.4312-1-nick.alcock@oracle.com> References: <20230216152410.4312-1-nick.alcock@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: LO3P123CA0007.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:ba::12) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|DM4PR10MB6183:EE_ X-MS-Office365-Filtering-Correlation-Id: 98efe9ac-59b7-4e68-4761-08db1031ebe3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Lhg3sC8TGUNwFoyAWXXXkUit3y12TgJvFzhy5oaZo+HlzyFdJ7sLLOSJyvw6EoHndrf3X0kgX1Ni7FtKQfipLn3IJJNbD76tH/ujIIjc8J1xs69FmdgfySMzsHrJqz9zWmqFYQMN1aXshhusw4V6mWnTm3NIX0vnTmh+3Mq6AC9kZWUNJ+ZtTknyLM2PdZIvh3c++61HhWW73tCTZnCQMp7rnUkxJHYUTaYGNm4FarhzUnO1OuGJhAA/YgQ+qZTSLVzpTUXkgoLOY/M2Yq+XHd0PFriTYzDsuZms2jW4qeJJSgV8Tt+2PLSEmHP99wOqXh9ttFf80tTHDhsTud2amVvlISaeQj1ly36It5EkDTSYBTX6KO2kyFtL1AP3XVpVNXFXGW3LVvSeyO6VPg7Dc7GYH47lkpI1EFiXrEzXf7zoCfI8M7VieA+ROCFvSZrP92/3dftXpAnh4o+o1+lMI6jI4hyrIndclme0XB4Ye8V40avR4nond1J9QpBpQs87hjX4MOevqJiOiVuELOr2y3Au0bTW7ln11FI3z7peOnhIzobcuZyo286Qq+m7pmRH0yGzp9+hqPwWoloUXpLMLQgfTkePJeC9uaqUUXlzHK11UB9t/NDTbsgTCI/wZlrg4UTDac0IYHFBbfwSG02LbQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(136003)(366004)(346002)(376002)(39860400002)(396003)(451199018)(5660300002)(7416002)(66556008)(8936002)(44832011)(54906003)(2906002)(316002)(6916009)(4326008)(478600001)(8676002)(66946007)(66476007)(41300700001)(36756003)(2616005)(83380400001)(38100700002)(6486002)(6506007)(6512007)(186003)(1076003)(6666004)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange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613z4+lfqm2Pf33fLlXDcO8qdHA6Dcb6M+HONKaUVTQEMcLBWEtPs6glrlCPlXutnUKCfhBS6sEx/eYXkvciEICPJWMXkENEAK+jKohmcykK0EG9e5qLalJ1UsJkb9cfjuxrVUgcgu0Pv6z7IRMYAd50fSWYmz6z4r5C8H8d+zOZs3z6uo9htFL2Ud04tfb8Rz/p6LpPAk7u7/wVlIfI8MfI+/g4slsITsoddbOrGzXdSC8fZvLWjLoJ/qbQxn3Yhtkzd0Pe7PK6LrPUhu/Hgu96Y8C6TL8c3IyB5SKKGIxse3y5ZuJQcuvap9VCqfG/UwaqesisF+eMkROAtNQHaBf/YqTfRS8y2Yvs54ejes4H6HniMmXZuojizaUsFiyDduHZSidP+kD8/WMfYNqcH0814baq7kNnph8RL+cdK8wUDOBJYaMA6cwW2poBcm4/MbtTL4mzfBTFeMfgp9vxhIaPnnqWxCxGoI6jAZdB0mAxV8PVSngHmWaoJAcqUFW3PHxLh2+AkyzivlujFy4l1sp X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 98efe9ac-59b7-4e68-4761-08db1031ebe3 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Feb 2023 15:24:40.1289 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: hRZIZC+MqYVOWQiGlPW9OG3eFxlfcrKCIyToucJbXyayMklRjiKniWLkBjJCzhK8rb+Hs/+gvvyXWFDkhbGPcg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR10MB6183 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-16_11,2023-02-16_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 spamscore=0 malwarescore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302160133 X-Proofpoint-GUID: enJkJhdIoMnu7dpQPYDYtELRCK4ly4X3 X-Proofpoint-ORIG-GUID: enJkJhdIoMnu7dpQPYDYtELRCK4ly4X3 Precedence: bulk List-ID: <linux-modules.vger.kernel.org> |
Series |
MODULE_LICENSE removals, first tranche
|
expand
|
diff --git a/drivers/pci/controller/pci-tegra.c b/drivers/pci/controller/pci-tegra.c index 929f9363e94b..5bb05564d6f8 100644 --- a/drivers/pci/controller/pci-tegra.c +++ b/drivers/pci/controller/pci-tegra.c @@ -2814,4 +2814,3 @@ static struct platform_driver tegra_pcie_driver = { .remove = tegra_pcie_remove, }; module_platform_driver(tegra_pcie_driver); -MODULE_LICENSE("GPL");
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 <nick.alcock@oracle.com> Suggested-by: Luis Chamberlain <mcgrof@kernel.org> Cc: Luis Chamberlain <mcgrof@kernel.org> Cc: linux-modules@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Hitomi Hasegawa <hasegawa-hitomi@fujitsu.com> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Lorenzo Pieralisi <lpieralisi@kernel.org> Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Jonathan Hunter <jonathanh@nvidia.com> Cc: Philipp Zabel <p.zabel@pengutronix.de> Cc: linux-tegra@vger.kernel.org Cc: linux-pci@vger.kernel.org --- drivers/pci/controller/pci-tegra.c | 1 - 1 file changed, 1 deletion(-)