From patchwork Thu Feb 16 15:24:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13143372 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 23D14C61DA4 for ; Thu, 16 Feb 2023 15:24:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230017AbjBPPYo (ORCPT ); Thu, 16 Feb 2023 10:24:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229765AbjBPPYn (ORCPT ); Thu, 16 Feb 2023 10:24:43 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34E445456D; Thu, 16 Feb 2023 07:24:42 -0800 (PST) Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31GFO9TC009146; Thu, 16 Feb 2023 15:24:33 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=nnhKUwMWtI+8zHGDvewkSUiT/ly04ueC3kxzj9Cwtic=; b=iLTIvSW9Evyyi+EuzB3hugy3rH8BvnDFcvlU4e3s9CdyJ9lPAYEKB59A1nFjo4+Ps6XP pOlRv8sbh4e9yrj0/bGJmJbntDX35pSUquIsc3L0q7ssmsow6rKsNEokhQjlw/22Wzqj HZ87zYnDTKvaDsD7vfqEE8ykwQ9hxsNSas84s7eNSGAwKsO3gRIW662f0tw8A93t+/ZT JlQasCUbeT9zeAa/JCnFdah8zWlHeZss9VpXN0R6GOLINztfkY35d0fKhZ/c0acY4yu+ 8gslG/Zw6nAXL6zX/N3+Mzqxly/78K1vr5FlB+2e1p8t7YdOcIWrUg0SBIgCNU2vuSrX fA== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np2wa3fdj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Feb 2023 15:24:33 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31GEWc6D016838; Thu, 16 Feb 2023 15:24:31 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2169.outbound.protection.outlook.com [104.47.58.169]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3np1f8tqv7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Feb 2023 15:24:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l//N+2O6NKBxiGni8iFD3kqn+7Ms17xMKvhPau3t0hxBQIzSXYBEUoxod5BEJLEQ/Ydg3D7Ng9UCZUPSArjxZ4HDsOUQjMmgz9mxT/8qrUOQ6eTEwkCct02bS5dNhXpL1CNgXSV6DqPr1o5LCE4/WNiWUrcwatObtanb6u2B5KQUfwuTc/4MhT4zTfX0OHBB468/TcZuDntC8Nymf2e4CHri3UXb+h4K6Jt7/vfd7EkPLcuAD13h7Tdx9cMC7R9l6HN1x1Uf5oIuMucp/zV6EJWfYcmIKm32iQgkJxGaAQZd8nnjIAXoxqKvh8rvq+hsT+hThvJwZevd+A/t2PgOjA== 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=nnhKUwMWtI+8zHGDvewkSUiT/ly04ueC3kxzj9Cwtic=; b=H723JMZM9DQnXdK6KGIjxsakJO0+32TY6tlSCZx+7bb6cVy+Ecp6zOMyoo4SAuLtzoeV51Y9r/2QB2Xjzm/0RFMUjj70UxmrxmdmFn9SxfSnH674CdU7laA9x3DNTcf6iryx56IrYqbMD0+5D8aOhNhQTyFxQ0iiejVEtvzFW4f/CqaNXIOoZIh2vmawqYV9D46qsKzzMIGinMRhZlVn/3u2pbmVgioMecU214ROrTbqMpGVK5LImmBGR3Xo7Vgi65lkTCJ1UUyA5/C5kSLDUhCETFBkqMikehpzM67YehFSI/f8syO00igRVyvKuLRQIUPHMlvvZRiX0Q0nQFtuOw== 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=nnhKUwMWtI+8zHGDvewkSUiT/ly04ueC3kxzj9Cwtic=; b=SDHmcsyAR6XF37Y6t1VPCs1sVPQ25blW+MwID0z2LE6a4h+IQ4obQBKWtKbHA4hHC+QeKW0AtJs20H+AKpWMB9xlKqod2/QfwuWnGdve78xJ9+BvYh1J8aZWqD0Oaw3s2NO0cjKDQtsA6JHpBghO3e+OUqTGDBDp+O/1bw22vB8= 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:30 +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:30 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Rob Herring , Lorenzo Pieralisi , Bjorn Helgaas , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/7] kbuild, PCI: versatile: remove MODULE_LICENSE in non-modules Date: Thu, 16 Feb 2023 15:24:04 +0000 Message-Id: <20230216152410.4312-2-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> X-ClientProxiedBy: LO4P123CA0525.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:2c5::8) 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: 64d1cc25-dd3c-41ff-dee6-08db1031e617 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: X/bOX+TwqzgRJEKgPrGTYTvlDBTiPoCwpcOI3mS5gNa201jx2tXwSRVn+rOiRUwlwg9W0+Feam3XlaoGu3my7TMuD4tKxafXpIRYqoRgG/j2NaaG6vyv4w5xAJC0sPRXjgUn1pqtpcVynwnxGNC/TtuSEHxSGNH4bMGs2dzR2JAkrvjHa9P+taQL3KcmaQsC9PEtcijZSaCSZgHa+4GXxYeFNPFCc9ZXzyYRCA+kloqXZGTE0K8sxHZsLbqgQyueND6Y4PQBf8xP/j/yZr2p+nlW7LTXZ4Si7Woy9O/skz/Tl6YZNx1+EQI9nYjqlVnfOhqOsKYokCxD3N7TC308tEypere7zf2q4LTzaYOy6aSS5n4rECwudKPlI2z1gKHic4duhBocQXSxgQ4J4aPPkfg21T9sSG9cQJ/GaKt9ExHredJn3JCJmiylKCTLX0c8lzoP8aUU60ZY7KkkZNOPdDQkYXQ7klKSwEJlTsIHdEhldKCc64d2a5GjDc/hVm9KOwlEJI4BlvtWTT8qSQwXvmRdvb07bsxi/2HGII5Wp7f1EUVBePP5dr2MrG5/8N1QvKdkZyUhkU56Rli6nNfeOCZbmzrYdh2PKAwGx9bTIxlepVK+uMS7GvM5B7+SDdQeyEocm50p8IDvMKaiWHchUA== 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)(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: YbPxmHBoLHdXilKxeVghYD/3GTNUPuTEPy12MVjR4gXcamo0ITvmiEblCy9VmD8sns2LlNUV30x1JBODirzODVfN+kkGtxxFPqsM+Cx/kVnemNVykn5bbPq9yxnY46kQbbtwotp4A0HOydXvK9Q2AjlGPlQxHZ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ZKaj5Dx6ivq30FrfoAMQjFAO1Tec5CKNQtRpTKVRrXqaxfYxomptrtT8scns6TCfBPzqrY/2KlFd/u1R8d05fzJkzY6DNAeWPHrGmyR5QJ3MAaiDqE4l+ExHC/1uwEKBD2xjV97qOoTyB/47e5wkHQjRM5PMYZOoim/yljsIcRSbv7okeyfUUdjXoyuilhrOCqHriUX2qD70xgqOYbnCK9KLt6BYNnAa7pZPvVvYYFTYrXAN1mfgYQcsWdOkRTV3DSFP1ghahPxzdda33bo2xduid+AkeQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 64d1cc25-dd3c-41ff-dee6-08db1031e617 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:30.4385 (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: OrjH9jlTWz7uKdH2TgUusp5/volnmYoOs+Qv1JYN0nwI/nbWcpvVLOg5RecrW4FXdsISpzDayNS8QQsxA1BDsw== 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 malwarescore=0 phishscore=0 suspectscore=0 mlxscore=0 spamscore=0 mlxlogscore=999 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302160133 X-Proofpoint-GUID: 5X9YXy8cmIf6CYC_q0c5Ol9qPGiTGH-j X-Proofpoint-ORIG-GUID: 5X9YXy8cmIf6CYC_q0c5Ol9qPGiTGH-j Precedence: bulk List-ID: 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: Rob Herring Cc: Lorenzo Pieralisi Cc: Bjorn Helgaas Cc: linux-pci@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org --- drivers/pci/controller/pci-versatile.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/controller/pci-versatile.c b/drivers/pci/controller/pci-versatile.c index 7991d334e0f1..e9a6758fe2c1 100644 --- a/drivers/pci/controller/pci-versatile.c +++ b/drivers/pci/controller/pci-versatile.c @@ -169,4 +169,3 @@ static struct platform_driver versatile_pci_driver = { module_platform_driver(versatile_pci_driver); MODULE_DESCRIPTION("Versatile PCI driver"); -MODULE_LICENSE("GPL v2"); From patchwork Thu Feb 16 15:24:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13143373 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 D188FC61DA4 for ; Thu, 16 Feb 2023 15:25:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230072AbjBPPZA (ORCPT ); Thu, 16 Feb 2023 10:25:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230285AbjBPPY5 (ORCPT ); Thu, 16 Feb 2023 10:24:57 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24E384AFDE; Thu, 16 Feb 2023 07:24:50 -0800 (PST) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31GFOOcD000473; Thu, 16 Feb 2023 15:24:38 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=ryStAk6SRsTDT5EKlJ1iOSteurJrMonAhLJs0qDVX8M=; b=yVHXjluyMdYtbFeFJQMRgrtgylqZnp34Wi0lv7Osug7exZL+0oTc42WdMu9T57OERFjd nQeoVGW+CeOVrAUD3nOmyyQXeE1cYubprQu4W0Vg49LbhkZYsGt9kEkFqbK08wbywWzg kvmTi0hZa0SngE/EUlGGdmwwf759PLJCOrgdzeBTJUfPgc3Zn/lHc8ylqH5CaIXY8BZP oar3bxHX4CYHM/SJJTIyGFAkmpmJBXcxt0OCsRdVpJSRznAsOcFK4QKfdMLPa6AJG8Gg vMCGp4wstqYtuNEG+njQHweRgOKdIUDjCNy3vdFKHH9EBJtJetOssPZ956LLWnLAO0dQ +g== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np1t3kcng-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Feb 2023 15:24:38 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31GE9B20032483; Thu, 16 Feb 2023 15:24:37 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2168.outbound.protection.outlook.com [104.47.58.168]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1f8rytv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Feb 2023 15:24:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oLKRTfaLbHv4oAq3k8YESRXXvqn6sXTkARTMdhP0W3shFoIG1RuDPmFJZCqasB13f3kR0a4Ukn0izig9Tzx2/eQKnlA2KJAbI/hrX2bn6qUJNTJMm2RG8MlfuUh7THyujHehdcPOLPMRYGiopPTlL/UFqvF623FEgqussA+Ih1WbIxvCKpQ7UjG8YoX5lhH3DUdrX/Ghmcv2Es4wgpgT5nKjoOauQptudm23aJSVSrMr7nPYHcLDnNCMWlySibOmM5lubnM3pjwe63mb/8HOzeFNp1Vmw/h1i80Z9F1i37PuyD4ZYQ5n+67WdJhZ51NvQzUhRUsmyyOMCIe+9LSm7g== 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=ryStAk6SRsTDT5EKlJ1iOSteurJrMonAhLJs0qDVX8M=; b=bGC3i9qLQBF90H/FElAobQ1ZYtcTY8i+t1PibuX+n5x7OUh0l/ZPTpFwIL5m4hl64l0kxpRl55c8+yJbAuUcahgX+8AYedU5YRsTFmZ+XFkljoa/5JtFRF60i/qC6aNpuSM/EpNpdCY6l/N2AyPA0uBpjILwC6SoDn76c19YItBMe2XjN1U8g7VNtGsbdH5huUg90CLtcvxBoWPtlKR/XZcImgSANoZPU5GaMYaj39qSymMDZSduDYxbMgEzX3Low9mLaCgwgwGwgyQvgWbD8g90w5pYsVjL12gUCKQDnBrQYa6gpWXSmnEuKn2VCSP1dWccMLUUcX2TFNgqvc9trw== 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=ryStAk6SRsTDT5EKlJ1iOSteurJrMonAhLJs0qDVX8M=; b=T9uUX3P0pSh4dS7lPlGgy0ALLqk52vsf4enwNX3vAjFvG3q2dmAtMEZiNM+hTyhuPHnDsjqpXRSuXl+FmZV6WQZz7HrC+BM/14BivgnMUjWO7ja28p1f0MU+sxMWHNYkVxsfJAntoYZqQ0Nv+CLkjsOmLiGbqGkkpUWOfJzkTiE= 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:35 +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:35 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Karthikeyan Mitran , Hou Zhiqiang , Lorenzo Pieralisi , Bjorn Helgaas , linux-pci@vger.kernel.org Subject: [PATCH v2 2/7] kbuild, PCI: mobiveil: remove MODULE_LICENSE in non-modules Date: Thu, 16 Feb 2023 15:24:05 +0000 Message-Id: <20230216152410.4312-3-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> X-ClientProxiedBy: LO4P123CA0537.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:2c5::17) 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: 2a890a62-aca3-4886-1b0d-08db1031e8ef X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tgUIatp4xydiK5D6ljTAsdyvu0GuoaWLJDWH+zMOYEsTLXgDkzv5GcYyXW9Nd2gVkodS+5zLhctMEQ6+cQNzYK7GOhcP3Vni5ZARe6R/AkhC83EPz/u0Fy+dlsWEDP+iyLv5R+Cg3WdJYqqlaos60CSDP6J/UB+gDjgQSXLpLxJ3HhJY8jZp0AnQxWMqH8cGsqmK7dFQATG0JLlYmanitu1ym9ZLik5mosqV0A6pXQfxKNr5z3PdtCf7OHKOQ/rR0rVjQHo65YJNzJVSbsRb+e4jI4Fe2K1ElMXDM7VjMfDd+JmyP5SBnrkmO88Yeo4Kb5uA1ovLlQAN9wZfdRuH18Yx0fO6u5aB02UuhcKQYEbwmIqr+2VHDt9i4OmT16zFT3ygva5RgsQXhzb5EPmCTaQe6keWPVQgDyqalGQir7OHCYKMEHyouG5NuPFpundgz1EDwgIo5MZjjkcwpln/2Px90xzdDrUuBGjnxjPTwpCMzdUP/N3aKlN6alWtTtnvaucqgGjfxOMvUi/pvDSyMs2UCdN82Jl7prCoD4NV2ACbrmgEO52gHOqawp+vY+3qhkQzJ5eA1Oxx/xkKO/VGwe0C29MvjXjiBzTP4ilOFeC+SxQfCR2NfRAbMzBJUXUmpapDz8Fq0q1+M1/DrNROQQ== 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)(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: +ES18dhl0z1ky/Wh31phV6chFYpjt19iVKz9pZO0z6FhVOph3HbvZhqWp38MYjJiFai/PAgI8tGVTNgyePAy/4ajH7Y5YtULLqqACgYsWyCjSbKZwY0hYNBWfuoEPUu/3rKQJntrmPLd8R5Gl6IOesr8JgUCEzyn1gUg4bj5hIQHLueUwm8u23wbAp8uf+59yzFdLLUErpQm22jiP6HR6MhriVQQ20Xc4Xa09SOskKl34lGw8E/JT27YxJtUoff0WUHCdETvdN0l6RS5px0/kzuaLTBd2FPWujvc1WCTcxRkkODHvHdHlXYUnswKEogsoAucJEUyH3V7g4oUy6/jpEAMWUeLfe2wEfoK9KA8sLhOFUYhNTn7+xi+ZxCEKR7lWYHQen+iIb37KWxYDzjUdFbPFUTlFLdU0fcF5CLOdqftRMw5+QRrZ/u0nvB7AUmLvMPwTTjwusO/IbrvmrWU/vuGtyKa4zANnTHWljpnJcGqReOIG1lB/Zkw+RzvWN1RFRpsmFTNWApS73TeZ+uBoCLjDyFEuWJ1gtBBO+lR9S6q6BPDNVj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ntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: +kZrLNSUu1wVC9JOqeXL62jmHBEyKE2SroJDpZ0OAQWa+hYU1MNtdH6pIjMykXJujDZ9tRemiduA1naUxYCvDCQGsjaX65+mB61MybunjRNL+DYIjcFnm7xecKQMVZb949Rr1kzejkC36xrsN2WI7o1hb5IVyzX68GouX11no6CoHOuXGpHpvH7kYzXAX/ZdP6P/0Ok8Kp1flzVSbTLwfT1NsNAulPMzGF0jSlu7tkE7fOOKPNKkGxsL06k0O9gFRfbX8SpY6Oj3gcDL5CC9LYu+cEQLx7b1IuzhOj/UAd7yWPDhxWUdwP5unbI6+r/YUeZakCZxpDVF2yVl/f7mN0XSczJKgzFeqgmwaQd65WsBdFd1eU/Fo1tgZZVt5uR/7Cni+SGt26XbCpHS9jI4DV+xwb47QBsAbkD6D9xMyX8uaommis2bPYWYPntRVCEWMdvCZyCpR15JtBerG0dirQ/dFhgwun+p1Zl+N8JoGDrD6LZEyXbbHYrlkXgxCGxf4ZzB6zVy4kadN1lqGRs9JRkgBuCgPfdvkPrEMziztN/B/xMRkrFLtWwpZmu2jN0r41dmSfVdECVzIqBlYbQa4Y7L+v4QqxquTjdDJ0bY9IGYi7FRcHwpp9QFQ7DJafnyCDQZ9y8XIJTzxI7FReKaxy5p8cBWTt2NO2q86251II95rvT76ZoOtExBiXslurW/FM7LZxMGInUm1H9LQtlAUBh1la9Fsb2Cg9MTSM/n0SxyJj9dW/n/5QHJdfWEViM28gxmfLnOA7PljoBZ8ZGAJMtAkX0ZlavYpEI53bDqPA0+5U5/WIaDt8xM/g6AMJ2mvGWHViIVqapBsq4eRfGGA/4q3YsmfSKGOFGKbC2xu0UicxE7BhG0NcJ5q4OhJ8N/mDyjGEM94PmEn/6FloxK/OxH+jjk/5Xvy5ht5jtV0iw= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2a890a62-aca3-4886-1b0d-08db1031e8ef 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:35.1889 (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: Mkq1M/x2cjkJ871vuEy2PFRS+aQ4hXPCNQhdKbuTupcMOQvzsIv9fStyE0bkugptfPh3kMIcX/AdNu7zhsjc5A== 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 suspectscore=0 adultscore=0 mlxscore=0 bulkscore=0 malwarescore=0 phishscore=0 mlxlogscore=999 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302160133 X-Proofpoint-GUID: ZXFZFmwuXlh04Yqnply_YhWv6Ajm8egE X-Proofpoint-ORIG-GUID: ZXFZFmwuXlh04Yqnply_YhWv6Ajm8egE Precedence: bulk List-ID: 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: Karthikeyan Mitran Cc: Hou Zhiqiang Cc: Lorenzo Pieralisi Cc: Bjorn Helgaas Cc: linux-pci@vger.kernel.org --- drivers/pci/controller/mobiveil/pcie-mobiveil-plat.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/controller/mobiveil/pcie-mobiveil-plat.c b/drivers/pci/controller/mobiveil/pcie-mobiveil-plat.c index f6fcd95c2bf5..c5bb87ff6d9a 100644 --- a/drivers/pci/controller/mobiveil/pcie-mobiveil-plat.c +++ b/drivers/pci/controller/mobiveil/pcie-mobiveil-plat.c @@ -56,6 +56,5 @@ static struct platform_driver mobiveil_pcie_driver = { builtin_platform_driver(mobiveil_pcie_driver); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("Mobiveil PCIe host controller driver"); MODULE_AUTHOR("Subrahmanya Lingappa "); From patchwork Thu Feb 16 15:24:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13143374 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 42844C61DA4 for ; Thu, 16 Feb 2023 15:25:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230137AbjBPPZD (ORCPT ); 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 ); 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> 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: nAh15wdTRp/JCiH6kSO5WXTwwPHwwJK+xQbi3XDtOL3I2bsAOK9GMlTLIYmoKfU8uqXV/pDJ0Jkl9ZBhGeOnz0210YzJDHipdqWoob0zqKJpAvSF9RP1S1mtwYyjo1WY2VwVwXMcOvjHOd/luH4pBCY6eV/Bvg2cXiwZdcxiUxGOpvM+AEelYQS9O7pgDu+6ROC+vNkYq7bBGTkX1ln6QS6tvf6Q4WY9nvty16aWRQMBzHTQ800fXsQk9Ur2Ff0cS4UPKpf5EIx83Vr4V+1OEz+8flX0O5sKbEHoosprm1hfQBFN0vPb3oIjYaIVpMFhMfZrPV4IYt1fujs8DfznlVWS8r2RtaMwusCMyBvqH/iCVpsMFncjZfTVPB/+ZiLhodjJWXUP85Qq7c290s9ZE+SUswbOtdCJFXiECSbm4LrbHgsFDuJHW8pAn9S/nEIoYx65RQpWVVC7d5baulFkmYwvg40tpm5OjvVyzrNfd3m6J2V5y5lm3byLxer+Cw7wBKyqWABCd/Ya1sU2VLoUkT0mwqLvAYjsxGctlHXThraxS2ccJhlu2xwZh8KVNIxzTlXatwaQpke3cmZjsg6z3NkGi31HO1b/oTGq9Mx9zp9LComx4OX4yGO1coehOZAiHvmuRXY5ItHb71NVIqsNuECvwrFdheinKXB7RMHEn9GtCN5b0ciehWnj6xwe+hlijIw6qOLMHzyUOxya+af3hs12tZDYI5q4UgOzA/UkOS+j52se6ZrzOZ7CtFcS35P0ryb6Qe/gAXBtUt6qW+Dn9qREXMfdW3QAO4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lDuAp1uNlONWnjU3OmB2TdkW5pE/6F6TKq6rNqhmQQxvS74lgCIEfeglGjBOZ3IrO49SOZO45QdbabzkHuyBZF0PbEgKTJ8gKs1qpH29FRno6agesK8BPZYwKd4msEvDAOnIe5Rhhye5ocshvthUSh4nwniO+u9p/cjd6+lzSm7Tim6ItNNPO/tfLbmxPH5Em8zGpoolqn+3scgT0FrKebmux+hrpmYuAK9oB3VjgPF6l68qHAE1RqNLYNTZx/4GIQzt613z4+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: 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"); From patchwork Thu Feb 16 15:24:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13143375 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 D0C50C636D7 for ; Thu, 16 Feb 2023 15:25:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230080AbjBPPZH (ORCPT ); Thu, 16 Feb 2023 10:25:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230175AbjBPPZE (ORCPT ); Thu, 16 Feb 2023 10:25:04 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B60D55E65; Thu, 16 Feb 2023 07:24:54 -0800 (PST) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31GFOGm9018428; Thu, 16 Feb 2023 15:24:48 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=emQ8pT9f6XYht4v/ptn8hzIMefO5uCy2q3R/xD3GFzA=; b=PF8I9A6GkFnXkW2pKMUp6lzyhiJgbqfgu7aj2aPcpvKiPMCEXyWLt0Du1qU9ONwxsM2k HbqLK/yaCFenxpDLz72ybQ2ZihOX2NHLrJoy5IfrbiFCKTI2zvEhWB66hp9EI/hIcCeP 0QAC0Hoy9mGzpOGqBjCQ248Ru4K/bNH12R4jGurdhfh9qJqAF+1AlIpSEmx8ImFORHPb b/6SyN9YNRoAYnS5ZbmA/PhdpDv7i8UupBRrb6e0ByCicSLeTSZKOSWHOV0tr8hdj5/m n2iteQsTjBCR5pJGGS/00lkUYE2KihpdW/nqnm2CjBicBrI1EIj48OnvLUwPDwmn9JYS CA== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np32ckey5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Feb 2023 15:24:48 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31GEmeLS032448; Thu, 16 Feb 2023 15:24:47 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2169.outbound.protection.outlook.com [104.47.58.169]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1f8s00d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Feb 2023 15:24:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YQEdV3HYHQBjEv1ulGhVFD3RsK9JE7wK6LU7x6UNrJYNmKMpzVD99VC4OV59Zv+Ewwe27+Iw4Icm2pgxxM5pq7oCQ7BdDfCkbGIp6cDoDSLVX/d3qZJ7tLwYSskmzpuQIYGEoWeIbGUeuXxHvSIRHx1K83HcA6DFxt6csp3mStiCgwpyeHASqhDaMnDdIoBNvFaePGGPOTCqlEaKz+2vyvxgfRjjl4lp+HREo9Zqk8QqRjMiE9PtC5hyxx+qHGNs+470nT326MWFDgIbdjlfdL/G+HMDb/62b0zOAEX7W2gitcCCeJJdsN/o/+S4Vn3ysji33/ERMwH75sx/V4xaRg== 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=emQ8pT9f6XYht4v/ptn8hzIMefO5uCy2q3R/xD3GFzA=; b=U+3YcZn44AzVs8t+FcYDSaaesOsMABDSci/ntLLSSBpylqNDji8XKz06WysQuKq2Fug4JCUmmmvtgPMo18kDxpSMdMSyQBb64b+tGjE3MhBj7JMBauqpCVnglZwHI5bJmRS8lGQGG1b2RDnYF0XjyqzyC7FiV7vu6JQha1Y32EeiX3dleiYPlAstpT8Y3m0jh6pO79JzVvnnpElE78n1p6cIB6vna8Y3cNv1ZPx1Xd8bBCqH4m0Zb3gTPxzqMJT0i6vu52EEwAOk6EFD1IPTpvbmgNdoBlelDe/VqZ+lW+BepGwcUi66YFyTA8H4eYZwXoNzNhjXUsXqT8AdzWpdYg== 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=emQ8pT9f6XYht4v/ptn8hzIMefO5uCy2q3R/xD3GFzA=; b=j26xQgkWNZC0iukTQJZ49AvbXjqIUIXO+qy/J52SQ+5q1wBhxEIgcjdB6ltM82HpVT8n58bfQuKMUL4cbhKPCgp2D9Es7yJCB0oh/KwmUDpwb2lSlaV1X1nuanBIE8atV4zyHeGLiQ7e3OW+duv6QtdjajR4BO4JLhP8xlOGjVM= 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:44 +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:44 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Lorenzo Pieralisi , Bjorn Helgaas , linux-pci@vger.kernel.org Subject: [PATCH v2 4/7] kbuild, PCI: endpoint: remove MODULE_LICENSE in non-modules Date: Thu, 16 Feb 2023 15:24:07 +0000 Message-Id: <20230216152410.4312-5-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> X-ClientProxiedBy: LO4P265CA0096.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2bc::14) 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: 156fc0e7-dd27-4c6d-bb7e-08db1031ee96 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pzh/Y0aX+BeXUxaSp/ZQIX2LdjImC2SfYPwoLVhohAWnC0AYv0SODbHzLncUml3lOx3JEK+l8KAfFawKqgNuMJBecu2V4zJw/7+pNJ67M+kJieWg9b0Y+c/YezOfUifBIN95upyKY/GreuY70hQmX7P1RbLHpHZwPhq2p+TlZ3rnAxVcMV0WfYZVJ08fLQfpTF2m20jIa5BLwzHjJKpju0X2M4006a8tUhnE23t1/7nzIjB/fgRt6gRsGLleXWsPZmbKb20t8DAYUA5/gEXI5zxaKOxjpwMoXpQLo+s38sFvjqASOJGcdOayeviAXxc78gB2JvX8hTR+9dJWDu4LddsQNgWEcHyv5TSw0RuivyEdM14BO30GNyDCYnOXtBezEHsYhCkbgm77xUJgyBl4AFeRPH3MiH7JIOsGOVHQYG+R2PuSD23iLgLsJj0JDElsIFUdyfgU0a1oGdRg3oRM8Uh2gJig4yTHhl64iexzGuwyjDMcHK0PHA3T+LpmR2uORDGYOzih763WFKrVF2aUE/hAnJz7L8GcEzYH/R1D+L6oqsBUt2ArtdUNKSam8h5PiQBOY2TIc+JxGNtDchS7UfjwRs+2CQBcDXSnvGe2YN+osfIF23GlnDDuUHCePcWjYsDxQPMrmcO0B/OZ6U3oSw== 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)(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: N/mXO/wlenqz1W4rCfXqRgMWikfS7ms+5yJD2XOnGv90KqPA/YgmXXWm/3WhPPLI5Mbi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K9Zsbzi6ae7Zdsu5EoLdrIE72hY7N1jbV4ZzUPZGAyMejQlObVl/sejZz5CICeVf2d3z/mblqgyr04gDFwAkXGMh7Y2le8k1FLEFXuQQ/c124hLefreqRcPbz+q61VK4Lkp1t4t30hinrR/ldy+8gEZOqw/iDCCDPpp0JgLRc/CXf2pTRlnu/clSdSh0NbMsSh6iyRK8+MlYnWNIfLF2EX4GydZNPffM7aTxWYOOnRWmR5+bmcwSE+cTE/Gh2/k72NDmL65KdLvfrrCQZQoIQITU0uuBmBP99eZ7I7yBOir9HlR/vVoj6OFioes/saOXrn7vygGpAmSwNr2WrkUuzcUjxKpcgTisG7LUjWHhNnbNKpvYQNS1ErXEotAfrEn5Mt6Xut4S9NVORISAWYklD+37NWpgaOcODwHxjmonw9RSvuz9L+CRqS/LPYH3htIsk2412BWD0YTfc9TCKOhyljZkxKdvg48A== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: I+P27AUUMlbJECAv/Agmvz4dpS2DVcGALc9HeqNzzofFrj7Jp01kpAJYdovnGCrYHDm+KpYfOPnhwpTtkpf0Awb04aUA3zOEr/re2X/ROJGqJ6gWWNfNmn8m4NatqNoc8G3lGQig0LI+6xtBWr7tSvZ7ffo+2ES5vqD2MFpnGRjTJCfJUoRTUvGMEBmTnw4vYgBSrUFOjfOi5bzl5GsD9fgrNkGItXb3V7a2Cxj35Fvdsv5jCOQIbOUxp1mYej1g5st12oNzls0nizB4bC4XgelV6EKoEMSk6zTUxafuIly3d1OP4GfiDUbucTqF1ZEj3dgkf+phujbqFJYoe+LrjGTMpPmU+y4woHrMnLElyreZHF0jjYKgfgLpxWeugEGF0FtAWS59vpF0nllubDtujT6+eIpp3llqlpwO+PvmRmlFCp2AGshu3Y2qiab2VUT69cFn2CmwHaz5RN+z9HUMUjBOdmPY92MIOGWcN9yATLGK7bf1fgTTZYTKgdNsCNMPjbjgXA76oa6SUIjkoT8HfMmT61Wo2Cx6skbE94fDJSdZWv3fesYR5sHgI+zg4v/Fm1K7K1zfn8G6ByrAQw0EY4SyqtDL8r75LPO+AxiXBV1g10l1pjJqK0EL4lqEAnWCgUOtK9lVLkTalwpUQXOe6Axfnc6FL+cavwqpAGmFO8znS6JMg2weLpz2JxnF7kU5VAPpZP4fhTr8Chxi8e6heG8rJufixqmzIxvcvMqES7KOr00And6j99O6IiWHdO7NDLB+iYn82gCpaEGxiDDq0w5b/1mK6SGGkgJ69eUWAoddxzBuX+N4yuAK6HuBP0wJb6fz96VGM95tA6Qqm5BiDXGQtOZnUzgCATMof2v9pRw= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 156fc0e7-dd27-4c6d-bb7e-08db1031ee96 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:44.7698 (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: FUNpPMAhqnRAGl04BUdR7ix2iP4wSP7/xN4xQwtxKMQ/ZMZxSz23EkZD7k3e/9q55ucUjJQg+1AFZEq+QvZBSg== 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 suspectscore=0 adultscore=0 mlxscore=0 bulkscore=0 malwarescore=0 phishscore=0 mlxlogscore=999 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302160133 X-Proofpoint-GUID: YGVL61ocyZPmblJMYl8tchnKHfKnR8dF X-Proofpoint-ORIG-GUID: YGVL61ocyZPmblJMYl8tchnKHfKnR8dF Precedence: bulk List-ID: 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: Lorenzo Pieralisi Cc: Bjorn Helgaas Cc: linux-pci@vger.kernel.org Reviewed-by: Manivannan Sadhasivam --- drivers/pci/endpoint/pci-ep-cfs.c | 1 - drivers/pci/endpoint/pci-epc-core.c | 1 - drivers/pci/endpoint/pci-epc-mem.c | 1 - drivers/pci/endpoint/pci-epf-core.c | 1 - 4 files changed, 4 deletions(-) diff --git a/drivers/pci/endpoint/pci-ep-cfs.c b/drivers/pci/endpoint/pci-ep-cfs.c index d4850bdd837f..4b8ac0ac84d5 100644 --- a/drivers/pci/endpoint/pci-ep-cfs.c +++ b/drivers/pci/endpoint/pci-ep-cfs.c @@ -728,4 +728,3 @@ module_exit(pci_ep_cfs_exit); MODULE_DESCRIPTION("PCI EP CONFIGFS"); MODULE_AUTHOR("Kishon Vijay Abraham I "); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/pci/endpoint/pci-epc-core.c b/drivers/pci/endpoint/pci-epc-core.c index 2542196e8c3d..dd750ad29485 100644 --- a/drivers/pci/endpoint/pci-epc-core.c +++ b/drivers/pci/endpoint/pci-epc-core.c @@ -861,4 +861,3 @@ module_exit(pci_epc_exit); MODULE_DESCRIPTION("PCI EPC Library"); MODULE_AUTHOR("Kishon Vijay Abraham I "); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/pci/endpoint/pci-epc-mem.c b/drivers/pci/endpoint/pci-epc-mem.c index a97b56a6d2db..7dcf6f480b82 100644 --- a/drivers/pci/endpoint/pci-epc-mem.c +++ b/drivers/pci/endpoint/pci-epc-mem.c @@ -260,4 +260,3 @@ EXPORT_SYMBOL_GPL(pci_epc_mem_free_addr); MODULE_DESCRIPTION("PCI EPC Address Space Management"); MODULE_AUTHOR("Kishon Vijay Abraham I "); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/pci/endpoint/pci-epf-core.c b/drivers/pci/endpoint/pci-epf-core.c index 9ed556936f48..2036e38be093 100644 --- a/drivers/pci/endpoint/pci-epf-core.c +++ b/drivers/pci/endpoint/pci-epf-core.c @@ -568,4 +568,3 @@ module_exit(pci_epf_exit); MODULE_DESCRIPTION("PCI EPF Library"); MODULE_AUTHOR("Kishon Vijay Abraham I "); -MODULE_LICENSE("GPL v2"); From patchwork Thu Feb 16 15:24:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13143376 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 7D2F3C61DA4 for ; Thu, 16 Feb 2023 15:25:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230222AbjBPPZW (ORCPT ); Thu, 16 Feb 2023 10:25:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230243AbjBPPZT (ORCPT ); Thu, 16 Feb 2023 10:25:19 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59E9C4AFDE; Thu, 16 Feb 2023 07:24:58 -0800 (PST) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31GFO0j7018274; Thu, 16 Feb 2023 15:24:53 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=VCokH3ILxMnn9U+3KjTNrnTkSZP6pRo8VfzRg5PYFn4=; b=O8FYM/N4b+0LS+pbDR9LkjUxpiYUsMlAGWuki16n2+RWLAambxLqwri31xKt3l4q1FP7 E3hg4j4jaCU0BKkFQLguvmk1ZVXvJSFRu5TT/7/LDtVbnnaOUw6Igiu9w3OqUxvJk1ew K5QcY7gO5hkfpV/6mK7reNYBlbLBjmYZcpr4954yCDWe9pAoEE3h6HFad/LWB0yKfxjh 2CbgRrlrf9DRRyCFHDItiJZM+etpkVaAxFP3QjUz5xoKVUrVde1cUJeCnWQM0AN7ORuw /OI0AID9Av+dQuNlCAY7fYVa9GUfgkLgMmRakfCZA/f84oLlJ964PSqU1f4KyQYLmftx ZA== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np32ckeyh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Feb 2023 15:24:52 +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 31GEZsid015132; Thu, 16 Feb 2023 15:24:51 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2169.outbound.protection.outlook.com [104.47.58.169]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1f8rs5k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Feb 2023 15:24:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X3sUGmfVBexcn/DoGrVJqxPn1B3Q/JRFHZCAtm4PJOBoEoIW8hiiD8H2ncuTQP2BU9wF71XHJlxZX++pacNP9qd2059OHl2nHotNAKd/MNlXlE8fjgO2bac8jSKftQ38/e/Pnw0rUmU7tZJe0+N+9emkmcFlqQNx//FR2Guc9HiCv3QRurVkop5MXgxEajLhm979vk85/jcK08KlLpmmgvtZnyR56G7sBMTaSDSXZIqlYBH4lZHDhUSfmu4mpDKl9VWpu2554oCUw0QCaFqqEVHcgh3NXY47Y9HvFCbsuS9M+8P6171/gq9HYTxdvWXkPDEdB0mRorzj/DFmEejUpg== 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=VCokH3ILxMnn9U+3KjTNrnTkSZP6pRo8VfzRg5PYFn4=; b=BLu+GAJA+v1QywmnT10XaZu03mhfKfrjE0if60UVWX2+J5/+uzt9IlKrWByPUvQoJFJFmRxvMKoCi5tYzRenNEMbBVznY8ushGAoQQMbbV21cQqssFalGSj97qi/ZC70Ls/VA+paCvjwDbbCs2WJwOn8p5dVhdsRsEDa4lvHFrpfgROjtf/Y9TEpS1miqKa41cv3WcmZ1HI8Fkl0uEiIubaVyUCa3WuddHhSOq9fqG/rUPNdveyp20XJ5+3I7maeTPyYuFqBIby0sojiHi5vJE55OcgQ5H1O9HaTNXQJ6R37IxjXDL8bZemnSWqrc0w9G0CVRZ4Gp5e8KZw1OY8vHA== 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=VCokH3ILxMnn9U+3KjTNrnTkSZP6pRo8VfzRg5PYFn4=; b=CVlF4iQAB0wbm8uGsfIDnI31dqm+40bnZEXhN6/lPnKp4Rpieg0ciCI5wEdhxeBCwUNl9OhSKCz/6yomLHAjnPkPkvfepL9HcQ/OrlKH11aH5o/xOJIAk6VE4HoCRmJf5+iY8KgoMz8LD9hzzKmAG2Cxe6Q2hkmW6WnkY7vvkBw= 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:49 +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:49 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Lorenzo Pieralisi , Bjorn Helgaas , linux-pci@vger.kernel.org Subject: [PATCH v2 5/7] kbuild, PCI: hip: remove MODULE_LICENSE in non-modules Date: Thu, 16 Feb 2023 15:24:08 +0000 Message-Id: <20230216152410.4312-6-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> X-ClientProxiedBy: LO4P123CA0302.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:196::19) 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: 2c73fdff-d717-4c1a-3ce5-08db1031f181 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Pq9dgKUN/6SM0I174whNqeZBt17QPsjh8lbGT/bN586bC8UYcdbpozG3yJgPIxsf+7kHnRjMtzxinqtRPcHefkBf5Ud0byF0Za+3duqEBHjpS0VLVH2xiJI7INfEkiadoUF3NiuG6G3TTK/isTu2CXLxWn64Q2n6JSYEEiOpqdE1XEmAMS2wVkU20EaCm/Z3nhhxmlCGzlktxzCx1tc0iWtBRmNBO7JD+ENGKJ92YqKB2FuhnCOsqIIOLoEH9nCXqf8BkaNGvbn/5G4d5LzQil8FkoRzUt7AbCWXWhaWlHX0W5B4SY2zv91xMvShpvEx/JbYWqGepPnMX48Dzgh14GBAAxp/Y1x+pF9Q2Tb8ByeXUfxtc9duhQ+eVGIofWvi1WVXmWxK1b4Hm/pymh19LclSqgCy+RGA8Oupoxui0RHGI85nioyd7w71Oc8AkkAVjZBw+4QjYFtXASD5SxsLvVg/1Ahwt/zwU9jRxU3Nio8iWgw7K1HhCUzbFwosxJEf2LWNZ4ZFNFAZUaetDTKrT1ZUNZYjviRYTmWIAQiu8SEaNxrVu8GtpK9tIYGj60XKc6+A26nxhGXEUeJWDqrX8pKSHiHr59V0E0isd6p7yDAFOEbUziihQnu2Kt4Yjc2DU9AFoBewmTjUQJqDdhJiGg== 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)(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: +5Z7CYzlD/FAD0mbIYynB1LrF2CRljQetcZL8aRtfWJ0Aep69T0VsrtGNa+0tLYFG92dQZOg76dJ6Wwl+X1l3C4vdeozZenWL/stWlxLV5vrYX/SWM/2b/UTX7vxC3BM+8njD8kNTfhAkT2+x9g7Bjm/NFs8lfjVVkWHlbDIn5cuyNsifiOR/xXXikPX74CJ/bzmFn9g8rahDtr1EbUUU9Q18r9I4j2cEazJx7A+U7ZVhsjNGT6GsYseyHsWIaHgcuLmXVtRInzySAQPnyWbGh22kPj5wsArPcFiIO+UvrsxEsTJlNtDwnVL+wJQsw0WtC8U2lJuJaNn095zKZ5j/dia0dYfeaBqio5ehQUmZyHhUBW/cqC0YiJHBWcu7Dp3zlX7Ik8oFORVLiaKnHdV7JMal9otSKYdLtefcJDOMmqTqlTdwAuHGOTvpUcr31+TgWNCzG+H4Y0AdPBrEa+Ddv79u9IwPdbP8+K8iH6VHpg4nlbmfTjaQP3bph9aE1XQtI6tq7dyyK46ABRkqtmF1rGnN+J47mZBZudF7DB8Pmun7dtNDE4D9M+TBGFgIVrtrNWw+B1759Bdyv9qt/KXkpjyjL2GwZWYyOXbFnZnhq2BagNKI8AIugupm4qgaPCiDdf3ndeVeSsa5WHVxTCfteUSvOudfaFFkaRe+K0wuAjr3V27RAAV3NDw5gha/OCAatJpL0CcPBlVc40FNSOkVL3Fa0uo0SFJIguBbdYtmJ0Mjb9fZHDsLQlHwX+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e7Wd5v0+SfmNA9UmaDyX3MsQi++O8ETCCbYQRHdsbF4j0ff9wczZuThQGt5XWghjIwgZ6lMxj2FDGXu/1Oz/rmeLyfmCMr2k9yF9oIDfEhij+SpwLHhIyfffHq4MlaDO+9N6/YpRyvOcz0aeqcnhElJjB/2ipnJhLTrgUoaEpFLNXopBYi3vTlghAHM9ACU4c+Pjl84Gj30sFrzqQwPoKkKP41OJwXq9IAagVKpN/29dpf4G5zs3B+Re75e1vxjF/NuHeNY5ewtL5n0wdFBioz11mAnDebhYoeyu82rj4fRRHucoSAvltFhUBjbGOpKgvv/eAx1LBBkGsD/PfSHgkJT+fvgfR0LQZiwXfkuXGlRSooBZhMCFdIpgqyj/nkxq/ySpAkXdxcfdYSuVjUffOE9mozcRIRUgDuak7gczkNnfYoWIksQILpfzA6btNopOI1OnZ7FRP/jn33+dyMU61kL458XaLaNCF0W15kcX+c7JDt4qJIOJr0kOX9oj/cGz9oNL2RZQATbiSyPpgnrLItIl2lvapNGOBDOlKw3wACrLruvCEYDixvdbQzj0f0N1htgQcMNcxhOG9VcHZAIxASEt0igd37rbLzZUzWBd8DQpTBTdBiq6LGklNWPUmZIhOLRtvnEEMSgTmL00sK3OB9wPBg4fupSEmTuhaNOvGmQoh3up6wjFeimypKhXskviXY0BQGvUl9FqS6sCRu9K11cOsEnHNQNnTIgQoWMkp1uGU= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2c73fdff-d717-4c1a-3ce5-08db1031f181 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:49.5541 (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: fyo1mA3/nVDWMWWUSZEZ+QIFH+LG6uHatyOJ1K+wuZPJWAm3L1LQX/HfiVzhZ0RONsrDprLbnEDktr2tve/Low== 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: M18TT2eNpt8BSahqJ3rxwruMxZI4zfIY X-Proofpoint-ORIG-GUID: M18TT2eNpt8BSahqJ3rxwruMxZI4zfIY Precedence: bulk List-ID: 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: Lorenzo Pieralisi Cc: Bjorn Helgaas Cc: linux-pci@vger.kernel.org --- drivers/pci/controller/pcie-hisi-error.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/controller/pcie-hisi-error.c b/drivers/pci/controller/pcie-hisi-error.c index 7959c9c8d2bc..7d88eb696b06 100644 --- a/drivers/pci/controller/pcie-hisi-error.c +++ b/drivers/pci/controller/pcie-hisi-error.c @@ -324,4 +324,3 @@ static struct platform_driver hisi_pcie_error_handler_driver = { module_platform_driver(hisi_pcie_error_handler_driver); MODULE_DESCRIPTION("HiSilicon HIP PCIe controller error handling driver"); -MODULE_LICENSE("GPL v2"); From patchwork Thu Feb 16 15:24:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13143377 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 7254CC636CC for ; Thu, 16 Feb 2023 15:25:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230253AbjBPPZX (ORCPT ); Thu, 16 Feb 2023 10:25:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230260AbjBPPZT (ORCPT ); Thu, 16 Feb 2023 10:25:19 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF89554575; Thu, 16 Feb 2023 07:25:02 -0800 (PST) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31GFOAMx031730; Thu, 16 Feb 2023 15:24:57 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=NF9qsrkRvixFGW6JfYw5tbv925wRA8/2RjsLpV/gjiA=; b=0E9sNsL54IMloiP9JuISXkY6BMUvlzWy6MZluFwh+ShdS1epwEbxDbIfl9R7BbC/RTD0 UzT/OkEPprAHCOm9XfXToA/gJQWmfL7dDH28nsUEskZ3pwnRIPpzWDuCV+OOyD/FdnzY Cu6KSkdmbWpevsNTHBvuL0mbz5CBrWJHQ8XXprQM4ujNeNgh8AXNIVEJgK90hE6OGb8Y YcCrAT8QoVmurqz0XUjeMD/45U8B0Tpu/U5KI19i7fdnv07Z1Ho7vexa6Iccdn4LdYH+ Zx03yby+YvwNajVKzoBS6qbcYwrZfXRDK4X1UKrUmmyQWQwqqskZ7NsrVovhwj81gqUL 9w== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np1t3kcpu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Feb 2023 15:24:57 +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 31GF4PlA015092; Thu, 16 Feb 2023 15:24:56 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2169.outbound.protection.outlook.com [104.47.58.169]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1f8rs8m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Feb 2023 15:24:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iuhmXfjA02N5W66fvZxU9MOru1GyLEw25c+GrpbA6WVdsb81FBjYXnHNA8y7zJ3x62GkBlqmPMkZ5o8JOq4oaJLwPr9tOyyOOXPC1v/5FOUeIV+1STXVEa05iGSDtDj3g8CH75TxNRPLq/Mmn6qeYmUJXgdId9Wx1vXfWq2PiO8Uo+iYU9heREH3yqAn3XB3wnHPh88qAJxXPD5VKonCo6zKiehGoxkE2ABKcdRi43pjwxI+g7a0Zju/pdQlgkSxj2XPkV5pgz0QRJR8jpWUAQhXSzqjr8BIMKmmNwFVZhM9fBalhWQ5Fn97vIHj2fKIrng2k6DiSqPHAcV/gXwu9w== 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=NF9qsrkRvixFGW6JfYw5tbv925wRA8/2RjsLpV/gjiA=; b=mkiXQ2t9P1wZhEZrvlJwI+cSQg797sHNP1/Dw/ZWOZnExOdwvUCLxOGujcZV5ZpLFttpaWUbGCxhcxl2ZiceVwaC0+ggACOIpJAGJkfyjvXmNpyvOj5cJRjqj6PT6A1/Bqgv3QrBVZy81xJv4IoLhSPLRknYVRPlyc2ojO2Z5pdOAx5nbNCSc6OT18QvRkMD3hbP55wbi97TzmhkEQrAm0cBxdcMvUZ90+fv70avG1NQvHYrTNmXIQ0SRVAOVjE9SRVMRS2b+rPBHx1EhUk038kBHAq8ZoQSbXwF19GsuwZTu9SCgj6prEJz45qXuoK3zuOUhN6SdOSh9S9n+rqGBA== 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=NF9qsrkRvixFGW6JfYw5tbv925wRA8/2RjsLpV/gjiA=; b=nTuAAkEFMQBOFesVcK3hQiGmeaFAHq4xGC+aKc3aZiWgl1UklskvD0RsmnxOqbHhEJC7Q7Y12yYbxCyzBNKxfJ+P4Eu/6b1UiOfCasFBr26d0Ci0ZPhkf/pWP6DUVKW7r9kmn9w7/hTPHVHEmeZVpoc0sxgAewDVxvcFdpFfmXA= 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:54 +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:54 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Bjorn Helgaas , linux-pci@vger.kernel.org Subject: [PATCH v2 6/7] kbuild, shpchp: remove MODULE_LICENSE in non-modules Date: Thu, 16 Feb 2023 15:24:09 +0000 Message-Id: <20230216152410.4312-7-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> X-ClientProxiedBy: LNXP265CA0053.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::17) 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: f3b29422-571d-42e1-b7f1-08db1031f48a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: q086hdlD6n7SeLo1s3LIRDgtJdkyXdbmz8+LWTs8vnWU4akfJTqeQgUqf94BJo+dyVD4xRDr1+zrEpRfKZBn2e0mgZQQ3oXpsD/nI5y+htVUmMIGym3YX5JSYmXfJPEVjWyYMPBOg+Fm+P5y6JVGl+NbC8tXV4xk2zn6RtguJG8bMn9IHWq3Ju7Or+LhAZlvx5xOq+JCAhLErTQifsSOcMnM+Z5X/AunK6JvmxthkqJTuWLTir5N+u1bxTR+FslCwWz7ZdXt3TDmDWPR2vuBadBVwkd+i57ROzkCYELjtbzm6gGqhJeg3TKc4sem6QCF/N4q02XDNcbONApvydY/T77chuyue5eeEInyzMeRHoeH2pD04tKObzrhonf0rVA2QuX/HukpOaySLnG45DAcqa0JPme6SPXOA1680BCECfUOkMCRsmyTSz+K+hueAgs06Wc3J0eGvnjfZOS/q4eVRDDRHJK5HFWTObX/aQFkX/7STC2kdP1kxpACJtxVxL3yTiMwfItLOTyyK1SJiGzHvrvNbmyiNtBpeqM3sn4hslthU48w2JecpH8N4DIxYaDq2cenWq7/hXmKIB8aGjeUSMLhFQZ3jj8qKIc8MUfWaJHfH5A2mNONY7Przvqnj5wFFkwRMppmJ9X3Ntva6+8UPA== 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)(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: zicRgEh5a9jR5+qtrN6nbGwakH9Z0TPvfpI93Qb2pq51fmrsOYkW8YnL+fXFuQu+xynNhJRDGhfRC89nGa9RnHZt23sIru8gy1vvWxbe52Scei1/t4XwnEwBnvYCwcpa0DoEbTmh+UdcHUkYp3QWYax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+6lEKP+nY4vGPLRIsXaT14QqVbMmeigg6c6Q99S4u7I8JjuNVD3Fo+bbFkQKSNVGxGAmCGUvWgZ7S0S5iSfoC3ulJHKQBJ/K4+2+3O6bZZxCVKULtl89/IgViETNSq7AFU/dC4cxMbShZoq3W0NiEvBDjQAISTzlk1JV8uZuIhvnNwAEjxzyztKy5DsIN+tR+otvQP5YdMeQsJNzixrOracDOkeZn97vOyn0SsRmeGlOiaAex03cHG37+esXQ6PekM0ktUIF7nsUa6VBCR/9txPIC5GqXfk= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: f3b29422-571d-42e1-b7f1-08db1031f48a 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:54.6637 (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: nPT7rZ/SqVqRPfvvL7c5NJBWmvwlGsUWBm5qeGevkaVvxrBP2AZnRk9rMSQILzBxTcqqiN+vpNb+1eCg6M0Szw== 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: rZRgnW_kxEuUnJwb8SyVd1nJ5w8KuAuj X-Proofpoint-ORIG-GUID: rZRgnW_kxEuUnJwb8SyVd1nJ5w8KuAuj Precedence: bulk List-ID: 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: Bjorn Helgaas Cc: linux-pci@vger.kernel.org --- drivers/pci/hotplug/shpchp_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/hotplug/shpchp_core.c b/drivers/pci/hotplug/shpchp_core.c index 53692b048301..56c7795ed890 100644 --- a/drivers/pci/hotplug/shpchp_core.c +++ b/drivers/pci/hotplug/shpchp_core.c @@ -32,7 +32,6 @@ int shpchp_poll_time; MODULE_AUTHOR(DRIVER_AUTHOR); MODULE_DESCRIPTION(DRIVER_DESC); -MODULE_LICENSE("GPL"); module_param(shpchp_debug, bool, 0644); module_param(shpchp_poll_mode, bool, 0644); From patchwork Thu Feb 16 15:24:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13143378 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 55A9AC636CC for ; Thu, 16 Feb 2023 15:25:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230243AbjBPPZg (ORCPT ); Thu, 16 Feb 2023 10:25:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230186AbjBPPZd (ORCPT ); Thu, 16 Feb 2023 10:25:33 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AD6056EFC; Thu, 16 Feb 2023 07:25:11 -0800 (PST) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31GFO7Mr018324; Thu, 16 Feb 2023 15:25:02 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=76hpOm9tW+MChi9tU6I47tWg9cd977wxbEG8c6iJ/w4=; b=Ye1F1lAAVAFLSRh+sDDa3UlLOdTCIXbVblTfsB5UnNn0rDJHofuIoqNKCPyBy3B0/xdO P95L4T7OAC18uf11kjvQT4AVmV7z8vcmcBnQsK/Fy8rEqBClo+4fNxtY9hl2hSOtPrs/ 24OAU0pUCKzmfEj2Jdxl697r195XrOv62cOdowwcwP8v7YbE1jR3jbDWg4Jvf/OjZsE8 IZCFQaNTqN3opWgCqQtzBdl5P8j0WcRLs/DIAqCwlc/k1gcq+CHXjAw5TUwMB0Pu8/pg 2iEOU0voyGnnWOFYh3RJmdpJBz9eeDgb4aRhaZ6YwGmZIwW66Aqd4R6c5ckx7Pzvn9dZ Sw== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np32ckf0g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Feb 2023 15:25:02 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31GEnDW7032456; Thu, 16 Feb 2023 15:25:01 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2168.outbound.protection.outlook.com [104.47.58.168]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1f8s09x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Feb 2023 15:25:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NRFvJy8Hkcgw9xuF46gnruko36/9/xNOTysHWk3uHoHpdICLIFJGznEcKzSvllAv8DOqEjf04YNTeMy4biEOBf6ebhfu+9XD1KRtudhV79JkcgEfVVeShtpXso2YtfOwFMlmmXWismvyrLt+0Hf+pTIRcVq90mkLXl0kmL1InisZSlm4TWvlY8lqclGcPatlbZmXQbK/fm5TMYSKg0kDsvQgmAzu+sOilsPU1pN3Kzk9dzYD+c7qwjawLFQKK0mqjusVaUPRNQQGQc69jnCoVbEaG0ysmwExC6QW7OWRzlLcTwjVegl+TOe37dZ4LKT1wfbB0yKp3xAQkgBxAoFkWA== 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=76hpOm9tW+MChi9tU6I47tWg9cd977wxbEG8c6iJ/w4=; b=f2GakYKdd8HYFZwRzLPuMvdEXn8nTjhab/J5nkT+Gr9FaE74rfNBtRk25hq1gMKzJgLcU14x/WpW+lb4lF6o95oop1JHSyJ7Gma6DOeM/UD4jP6fyWINXqHej8PW2fpYewdZvVUgyiX0DtivbI3ibwPAYYAuir1fOA7IisFqfbxkaRcGi1eQ8jAti18mfYEKZOT5ebIcJ5bKlj4vRigmNKrKABv5NUGjgqBC3cebDu4Dvj/OnljPWHxIzzH/nt8d+LeUT/s2GqrAnSluV6tSZmF5OThsZFHzPpPU/ejQSC9aqc1QsNR7UMxU3CJCn4UCwET3ibZZ6YQQyk6rJp8i6w== 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=76hpOm9tW+MChi9tU6I47tWg9cd977wxbEG8c6iJ/w4=; b=UEHhLsI0l1XQvSkMFaSFhaNz3srepFl2XA/KIWCSrY9h4XrD07ifs634iQXlysnDdgoEcmGQVfaafDz7g7V9gETXzfgdRafSqfmgtnIxfAzBhYaidPPZO7Y5+Rza0kIf6iOqd0xwZaUSuDJ+zuosokzObrOdj6YGdRd0tr/Lhp0= 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:59 +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:59 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Shawn Guo , Lorenzo Pieralisi , Bjorn Helgaas , Philipp Zabel , Liam Girdwood , Mark Brown , linux-pci@vger.kernel.org Subject: [PATCH v2 7/7] kbuild, PCI: dwc: remove MODULE_LICENSE in non-modules Date: Thu, 16 Feb 2023 15:24:10 +0000 Message-Id: <20230216152410.4312-8-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> X-ClientProxiedBy: LO2P265CA0060.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:60::24) 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: 213ee1a9-b11a-4e5e-8544-08db1031f745 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8uGGWjLWteg1FjajDoRrzvbJEgX694R7amnFWdjLINB/7+A9Ux1D/EQwhNW6IGC+lXiSh7MNNd8Kw9huxYHoxvb1JN1VuYUYQaZ4oWafTc8s13RYTYiNYZkzKLy+zWmF08nSLaJbDIIH+4ahOn8wQB99gpQ4N2kVGGc4mYEn3Il0e9Xg+fLmq+2D4Vvdj8DaImReBTzFYFWmVj/hqGFHjR94NQ6X6ovn5rgn5+zQPdNWj5rxVNiYOhnCER/KJOd3Lpt3xmUcNOUfIhid04NBxr6TBn85Wn0HPpLu5vsUw+10gBzouVUSm8/epWn6y3FPN0EwKdrp8/6SBTrc8ZI5Rggg4vOB8tQ/ynPLzJyBDz7kuxvhtNhEuFq4elPnKU84DRVq+ubDLD2Sa1vNBfCA/njW84eRHJDPpthz0E2ab/zwLmWj4d30Ed/EryL6wcvM8G+2I1/bnpdr0bG1oy+pD84cfMsqvpofbezAT7oXXklMQSwH9FIIRT5QUthhxiPMt+qBCjoIw1JjAlCk3Jm+RpjvlSSLXLBdyyBZFc9zxhGAiG5544O/ry3TgPuer612TwF+GUKQSJ2B8kCJTzMoJwYgKUWfuMMzwEVqv9w2ZeBIaG1CEn+tvVSXBqkbqc+U3dKWoXKMs3AHiJCPlB9tYA== 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: AE/s8YpQ3aPtxMvc3FFZ0KqE46167M3oGBFmrK1hC9aSb464mMMDJPFVqGZVIDbCygk2tdOE5HtRLjuaLCIfVE1B4a/LjPwJx5hYP4Y+dAWzR63nvLuIn8AgNd/qloHqN+X4k1GGAVFvkDVY33ZYNJ501tJDCoojrHPNqrgABV6JnTfuvGe3aYk87L2x1+LCjK1/zshWb+NSMUycKS1PtKH4MyZCu3nW9Gr0N2WBkF6MiONoBtGowhnzpX7aRaDo1S6yH+XjPk+d7aec9ZcmaCFGYMJWms3s/dY5xZDQeCMyOcBSTZQwkRUHZQQJ/ZkWgqPSP2ddbVVrbV7NUaCq2gVh61fYkz43ExQQ4UDxnLObOmheNrJMiWYz1NdTxvE4OXO44D4p+CNEKfDCmKfnzAMWUI6moWkzsHCK98IVqwQXISS5MfSAoRQfGXV4RHsEQnaBIaydfbmVTL8iCg0ZIxZlFSnMrIgmnNFYgbbYVCr8KuZoECCjogIvSjYwvJdRI7LtZLEnGR1w6+9DXOWNw4bdEUF5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oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 213ee1a9-b11a-4e5e-8544-08db1031f745 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:59.2433 (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: 7IDNVFew48OaKCBq/VTrVScjqnbefDaR9PQAbJ52fS1iXoLJWdSUljDgoOOGA/Q/gc+yD4h+H4OQIweEsejRVw== 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 suspectscore=0 adultscore=0 mlxscore=0 bulkscore=0 malwarescore=0 phishscore=0 mlxlogscore=999 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302160133 X-Proofpoint-GUID: WEMncfBYmhQ2fdbzlFoB1O5Y-fbDpDyG X-Proofpoint-ORIG-GUID: WEMncfBYmhQ2fdbzlFoB1O5Y-fbDpDyG Precedence: bulk List-ID: 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: Shawn Guo Cc: Lorenzo Pieralisi Cc: Bjorn Helgaas Cc: Philipp Zabel Cc: Liam Girdwood Cc: Mark Brown Cc: linux-pci@vger.kernel.org --- drivers/pci/controller/dwc/pcie-histb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/controller/dwc/pcie-histb.c b/drivers/pci/controller/dwc/pcie-histb.c index 43c27812dd6d..927ae05dc920 100644 --- a/drivers/pci/controller/dwc/pcie-histb.c +++ b/drivers/pci/controller/dwc/pcie-histb.c @@ -450,4 +450,3 @@ static struct platform_driver histb_pcie_platform_driver = { module_platform_driver(histb_pcie_platform_driver); MODULE_DESCRIPTION("HiSilicon STB PCIe host controller driver"); -MODULE_LICENSE("GPL v2");