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 C77D0C61DA4 for ; Thu, 16 Feb 2023 15:25:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230182AbjBPPZE (ORCPT ); Thu, 16 Feb 2023 10:25:04 -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 ); 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 To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Thierry Reding , Lorenzo Pieralisi , Bjorn Helgaas , Jonathan Hunter , Philipp Zabel , 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-AntiSpam-MessageData-0: =?us-ascii?Q?nAh15wdTRp/JCiH6kSO5WXTwwPHwwJK+xQbi3XDtOL3I2bsAOK9GMlTLIYmo?= =?us-ascii?Q?KfU8uqXV/pDJ0Jkl9ZBhGeOnz0210YzJDHipdqWoob0zqKJpAvSF9RP1S1mt?= =?us-ascii?Q?wYyjo1WY2VwVwXMcOvjHOd/luH4pBCY6eV/Bvg2cXiwZdcxiUxGOpvM+AEel?= =?us-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VAQyYELfgcruOD/ptOqCU5s1v?= =?us-ascii?Q?wwrqp1sk1pnNooxZW5TdEQCFS4BaBzmrI+OP8l6N/ghZnM+repUIBYqS+slK?= =?us-ascii?Q?kkeLfLMc+r1X0dYIJFmxRYlbe4VpBFxV1fihcKdbgQ/HwKNb3f+lOoiJS8Wn?= =?us-ascii?Q?SYu7a0Rw0aSOi7mLb3SXP9anqFm5zyuvfFY38Cf1BcnLEJODi1iMgtCYH2E6?= =?us-ascii?Q?nPfOpkmu2SyoMF77gZIrXKmP93Du1kEC/8nL2X2kGtiq8W7lr6xC7/prGMtg?= =?us-ascii?Q?Mh8a3PoS8vUtV2HR8FTP9qIAObR6jrfwAJ5IEJ7ZKzhdNeB4arxFL6r6DVWa?= =?us-ascii?Q?tUxsgrD4AHppc5x9S7dIyhe8L/EsH9AeuB80agbntoaCHdhQc1T2UWaC+zg6?= =?us-ascii?Q?uoWJPepK0Xn65X2UrtjetwPvfmcsjlcHRXgcRF90eUog3MmxiU0T2X+/FgEg?= =?us-ascii?Q?yDbZv4r65uqChL6QAL8NBI5ZvtF7zDEy+5dpUfou2geQg//Q29BoXTrQkVs3?= =?us-ascii?Q?hiX0yg61KkqIhLDVmDDRdaGnYO/OK5zUpbFwoEZBJ25I6A8YmKRreaXb2hM7?= =?us-ascii?Q?+Q=3D=3D?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: =?us-ascii?Q?xPZISJPR6ExZ9cOFTUuoDLgyMwJiMgtce+yvoQrJKZwfDjGqeiUmBfSLL7n0?= =?us-ascii?Q?GvZvXy0Xvt9PkrtMpCeoVaGhP5yG+Pl9oX2jyfP+tvOgw7ic0XZ5J7YOcjrb?= =?us-ascii?Q?aKZu+LrvB0mu3yK+zigPwnFpPizHP9Y2l3sMGCaUdbftUlDuAp1uNlONWnjU?= =?us-ascii?Q?3OmB2TdkW5pE/6F6TKq6rNqhmQQxvS74lgCIEfeglGjBOZ3IrO49SOZO45Qd?= =?us-ascii?Q?babzkHuyBZF0PbEgKTJ8gKs1qpH29FRno6agesK8BPZYwKd4msEvDAOnIe5R?= =?us-ascii?Q?hhye5ocshvthUSh4nwniO+u9p/cjd6+lzSm7Tim6ItNNPO/tfLbmxPH5Em8z?= =?us-ascii?Q?Gpoolqn+3scgT0FrKebmux+hrpmYuAK9oB3VjgPF6l68qHAE1RqNLYNTZx/4?= =?us-ascii?Q?GIQzt613z4+lfqm2Pf33fLlXDcO8qdHA6Dcb6M+HONKaUVTQEMcLBWEtPs6g?= =?us-ascii?Q?lrlCPlXutnUKCfhBS6sEx/eYXkvciEICPJWMXkENEAK+jKohmcykK0EG9e5q?= =?us-ascii?Q?LalJ1UsJkb9cfjuxrVUgcgu0Pv6z7IRMYAd50fSWYmz6z4r5C8H8d+zOZs3z?= =?us-ascii?Q?6uo9htFL2Ud04tfb8Rz/p6LpPAk7u7/wVlIfI8MfI+/g4slsITsoddbOrGzX?= =?us-ascii?Q?dSC8fZvLWjLoJ/qbQxn3Yhtkzd0Pe7PK6LrPUhu/Hgu96Y8C6TL8c3IyB5SK?= =?us-ascii?Q?KGIxse3y5ZuJQcuvap9VCqfG/UwaqesisF+eMkROAtNQHaBf/YqTfRS8y2Yv?= =?us-ascii?Q?s54ejes4H6HniMmXZuojizaUsFiyDduHZSidP+kD8/WMfYNqcH0814baq7kN?= =?us-ascii?Q?nph8RL+cdK8wUDOBJYaMA6cwW2poBcm4/MbtTL4mzfBTFeMfgp9vxhIaPnnq?= =?us-ascii?Q?WxCxGoI6jAZdB0mAxV8PVSngHmWaoJAcqUFW3PHxLh2+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: X-Mailing-List: linux-kernel@vger.kernel.org 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: Thierry Reding Cc: Lorenzo Pieralisi Cc: Bjorn Helgaas Cc: Jonathan Hunter Cc: Philipp Zabel Cc: linux-tegra@vger.kernel.org Cc: linux-pci@vger.kernel.org --- drivers/pci/controller/pci-tegra.c | 1 - 1 file changed, 1 deletion(-) 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"); -- 2.39.1.268.g9de2f9a303