From patchwork Wed Feb 22 12:14:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 656689 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 9FB7AC64EC4 for ; Wed, 22 Feb 2023 12:17:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232064AbjBVMRY (ORCPT ); Wed, 22 Feb 2023 07:17:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231961AbjBVMQs (ORCPT ); Wed, 22 Feb 2023 07:16:48 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D07893A877; Wed, 22 Feb 2023 04:15:46 -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 31M8xHjv021535; Wed, 22 Feb 2023 12:15:36 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-type : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=ptKJ3FUvFm+ZButrDM1UJTxpeLlBMMQ9k4v0GuxW248=; b=1nz2H/y/+tH1pt7b5hHtOavHhma/FaIEatDxm5CNJCHsZkjsWMXq89EOgDvSuYREp+Tx YjMXlz2C8N7xaRtXWXMtMYUsgMWWMerp7/I/d6mJHd0AxpI28hwpk36jly5YqE1NWG4c ECExIgizcJBsVkFo+lCxWsIWGda2PepyYWtjXSlfh/OnQBNeCFksyYCcT4LgapdakcFs vROpsSEUi3GxSeM1+NkXnybApcSJsek1v0crhc9IKzLUjYTrxg9v6o1OffIL6EgonsuL 0dpF17FswTJFHwhs4631D9VwNbHkSsofnQAC74qZsRUJyKd4myJSSG+L3q23lmozJgja +Q== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntnf3fq5k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:36 +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 31M9tcYj027246; Wed, 22 Feb 2023 12:15:35 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2172.outbound.protection.outlook.com [104.47.56.172]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46qybb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M9Ry026fddLuG1GM/DIx37uSc7u61DWtD76PlK0Hx1FqU98q6X8aGNx5hXxJumQXADww1Qx2zetYed1LyXl0QUJ5iSa90Aen/wNyN2SJ0vvCZg+az6cW1M8W9vZK8RTXpd7uNkZwfOugHq1RVml5JaAZsImFIGdXueZ8Zg5jU1HY9Ph0WvmBONJivlTvkVDSEe+KZJZEizX+J7Ys0tiAjALwjkIs5vF9EFwk5+FRJdziTU87sF7CMSiWKoWtUU86T9hmZmF1PwUGqlPg/6tgVUANttgF5Ctil5EPjw69tXnqo4iTPaAVvBR13GVw+zKQ1th56oY4W1HCOgzLb9QAtQ== 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=ptKJ3FUvFm+ZButrDM1UJTxpeLlBMMQ9k4v0GuxW248=; b=ZYHc0R/jvH5HN6w30WkxeOdouwSvLxgmL9VHk4V0XtWFrTkXQZibI9M7JPH3t2MU7zX6VfiSlLRVeH2aRCRgKWRgHrujuVyeylcBW5aVtOMhBaPQ93rox8ko9OWczWEIRYVTF3fkKYD41TfS++FitxKpwGUURdgqmyy7Jt7biQhrmU2cFaLKDp/bZp6GznhSLX86JR4iPohV9ZXzhgafRjH5Z+SePurUIkqik/kWkeQC8B6gSH9fVv3aS0i/pfBEHbuHvQmIb9gSGMqCyKSQJnJLB0j5U4XSe5v1BKlkF9h1m1CYsv2q8wcdmwoVS0PcXFqPt+9cm1mVv1q1v2hYew== 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=ptKJ3FUvFm+ZButrDM1UJTxpeLlBMMQ9k4v0GuxW248=; b=eOo7QVZR1l3wEonUF0YnSri5oIlR4yy6zE1LqXGOeosIy/puZD32DjsynB4+U/DOgWNjdVsH9ZZ79V4TX7MWXI3Hq0c811n8sl4Ztu6Rqg4DyS1hmP6vT/E6wZygFfEbrVBm9eTt1RtuO/Vd8HhqSumZY4rnZlkCPZ350hDj3jI= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH8PR10MB6412.namprd10.prod.outlook.com (2603:10b6:510:1c7::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.17; Wed, 22 Feb 2023 12:15:33 +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.019; Wed, 22 Feb 2023 12:15:33 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Ray Jui , Scott Branden , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org Subject: [PATCH 06/27] kbuild, pinctrl: bcm: ns: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:32 +0000 Message-Id: <20230222121453.91915-7-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230222121453.91915-1-nick.alcock@oracle.com> References: <20230222121453.91915-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0242.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8a::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_|PH8PR10MB6412:EE_ X-MS-Office365-Filtering-Correlation-Id: 577d36f0-d040-4864-004b-08db14ce7f46 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tP+lrAoSsAmAWRgD9RP/0qkyl7B+eQG4DFoziqRIw7IYM0ph6Rx8FEG1BJ2YXgNRBpT7VlJdf4nnIALGfh/P7clNZVr54A9JfolMgbM6HLSRBDeTbuLfe3fpkbA7egLs9FfJwhNgy4OY1Whs8kkqt+KeeMCzNEbxk52xA4NVbjMOqvDV4+v1xRljApdERy3q4451xxrrOEOcO8NJ21pMPTxSiN0HD5vIxiHUYURykBUy0JtjKLXR+/LmKBGraI4QNxeNaZzVgXNCcv6yorogZN/YNxfynvWx0pma7z2waE1tAFIpUJfgEuIkJ7w4y3afGmytYFNpYuOTT14NtlLerSXOn6thTyW6YbvhtCj/0/6Zeic9Smrlrl5NcjuaygY9BpgcwrzWyy0EcudXuPwyR4EjSrU+YYkeE9JDyg9H/b2+nd3fdZRAO/n/vxP0vmEBNJG4+JOCwjxcTdX4lPC/EKSPTucHS3DzzG73i9JnV8QlhbygFSG0Jf7cgF1E50z+vOrcwUphO+dc5Q/UrwGjZOzka6KzlSUBr8dJHq0zCtaJOQPMekKNY7tXMvKMfSPKmWz0eNXj8cYPbik+xPJQzfNIPsTuaoTumy7UZKNYSWkxLe443cG1+aoE1BPV4RXYfz1zsOGM5M0uekvTOr8kZA== 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)(346002)(136003)(366004)(396003)(39860400002)(376002)(451199018)(478600001)(86362001)(54906003)(2616005)(6512007)(4326008)(316002)(6486002)(1076003)(6506007)(186003)(44832011)(36756003)(5660300002)(8676002)(38100700002)(66556008)(66946007)(41300700001)(66476007)(8936002)(83380400001)(6916009)(2906002)(66574015); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?6KoZtg4kQCtcrW7yepwp/vOdiZz7?= =?utf-8?q?TX0MR8jGcnmeCrzM2M9px7JBoMGNTbDOkSyJoDyXEGvpnY5Pov/Hqcc0cqd8eyr1J?= =?utf-8?q?iWe40KDwNhL/BCCuQuoQPumP9mXl3bmUoqaEIbdcVXzzRpU+asytoONYk2c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?utf-8?q?ldzH54vZizxzyQJaFdo1Z75oJSyBfKwhDYeIkBRQPqNHghnXCQW0LFa2NVo5UgZBH?= =?utf-8?q?9aDGC4a1mMYrQ54bXOvQ+l1aEBqlrDt1AB71k2mT3oBznmZz31we88WkWWgsWauul?= =?utf-8?q?XsXfIdfHh+jetCZV7CY375uY6RW9IgdIg611LyF0gqgnDxdN/4h6pSveLmMMeWxEJ?= =?utf-8?q?gBreET60iYdB4BePOW8D0Qjx7NfELH90U85o3kVNNNn+YmfRmLFo98nizzWWXXwDR?= =?utf-8?q?VklMtO1yoRXPxy03e1MRsDA01+EPlftLkXxGOO7VLMturTOjKvmxH+cC+bR7AgqrE?= =?utf-8?q?iUyxYVarfyHU1i7RhYlGpLAgGwoNf+9S5KvYJzwUuLDllzgFaUqtKkzdoUmBw4GoX?= =?utf-8?q?0cHGbY42eOT9oQXr2uf4yrW8ekUdAAKboY90n+aKY+hBvYN0SXkDkGOK0lRMGbudZ?= =?utf-8?q?oqDAqQCeBfmWKjSmXvt2LcP0aPx0h3L0djbDNA8cxiFtD/+X+O38/1TdxDNyLCnyf?= =?utf-8?q?MYp+5UAJC8ZDOUfXwWiPyP3+7lW+b96Gwg=3D=3D?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: =?utf-8?q?GDFS2JXw+oHtiK78?= =?utf-8?q?d42UWYGptNVycDpcjnWk3yOJ1vJLgzz19C+V9qXJK8WQ8lC0TSzgnPjEPxWwwIhAQ?= =?utf-8?q?HoAsq72/IhNwc4hEOalXefv+wNIvmiVXlxJ3PHAgheokRa2iUOUgPZGKVaeMJK5vI?= =?utf-8?q?AmAfbl5MFq9MLFpwqpXg2QRTEQ7XmGWo5AmacQU9mdEAu+kU7qPzSMWFrrKVeGC+K?= =?utf-8?q?Bb6auErQEqJVoNayMmdN0oauNxQlen7/5EmJL0KHZbCN14flryC7St45cScWBGty2?= =?utf-8?q?YOISQ0JtphI3aD6yIYgIyVPsBABeg5p82mmCptxOZNLFRqp+HIKtDKS7yc+FpUdpe?= =?utf-8?q?SxnJ9u/v59gCWdv9B5JfbddhIZ+WD5HBHqPJ/FcRoCeHaZKOyn3KEZHrzIzN1g+3U?= =?utf-8?q?emmbua7c3m67RSRNHPb6WxerXGVD7RdG8oKYjvWWezjW0ZFj+XVtdhKGxy+EA0BD3?= =?utf-8?q?eEnuFrahicV7yf35v4nf7iUTOgt8k+wxh4zpREPkfMbCwbFuTwv0NJjvP3GPzoiNi?= =?utf-8?q?kFyyvpcHao3EYDfP7WTfd//faUIegBBr3hJaKLi12wjBwli7Z9CGFehAk91mjiPa/?= =?utf-8?q?iXiW88FAJEb3ZdV4Q+rF8p1xSoJM1vSV2VpO83R2Z1ZRN3nDIdzLOU24KogarNIw1?= =?utf-8?q?J9OFOJMBveq2b1IIdymfuBuvlj37k5d1FMWLQj+ZN2XLz2PcYQUtBuFzNswz/hN33?= =?utf-8?q?sXbNIkfRpCnvAWa14yN0da9FP6eZf7rkhc9jskf9VIzVnJZdyv3kbEkpXYe4gu7N9?= =?utf-8?q?AokpGAukog2bVeoCjgi4V+Pl+3dph6RObXsSCl4IEJ3PwFogWEVs3p/OivnF2h45S?= =?utf-8?q?iA7oeEi0cNND/UgYVFpdZPdG3ph0oftA2aEIbzqk4hTU9aZSX9lxRRdrOKzuJl0GX?= =?utf-8?q?b3KMvv3xPQa5/LiFQoGwQTNUlOuR8+69J3?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 577d36f0-d040-4864-004b-08db14ce7f46 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2023 12:15:33.5263 (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: HWX4ouwyURZoNcoFRNMmzEfZUprl/B6hc6/8XHTog8/6zSkPbxyiQOTbs/0apiZsTyD0LIZgfdnw8UYN2/BjCA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR10MB6412 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-22_05,2023-02-22_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 mlxscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-GUID: Tq2CQZnHv5UVRFQXNNR4eObfDzYYkx4P X-Proofpoint-ORIG-GUID: Tq2CQZnHv5UVRFQXNNR4eObfDzYYkx4P Precedence: bulk List-ID: X-Mailing-List: linux-gpio@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: Ray Jui Cc: Scott Branden Cc: Linus Walleij Cc: linux-arm-kernel@lists.infradead.org Cc: linux-gpio@vger.kernel.org --- drivers/pinctrl/bcm/pinctrl-ns.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pinctrl/bcm/pinctrl-ns.c b/drivers/pinctrl/bcm/pinctrl-ns.c index 465cc96814a1..f80630a74d34 100644 --- a/drivers/pinctrl/bcm/pinctrl-ns.c +++ b/drivers/pinctrl/bcm/pinctrl-ns.c @@ -299,5 +299,4 @@ static struct platform_driver ns_pinctrl_driver = { module_platform_driver(ns_pinctrl_driver); MODULE_AUTHOR("Rafał Miłecki"); -MODULE_LICENSE("GPL v2"); MODULE_DEVICE_TABLE(of, ns_pinctrl_of_match_table);