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); From patchwork Wed Feb 22 12:14:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 655837 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 94A71C64EC4 for ; Wed, 22 Feb 2023 14:22:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230478AbjBVOWa (ORCPT ); Wed, 22 Feb 2023 09:22:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229561AbjBVOW3 (ORCPT ); Wed, 22 Feb 2023 09:22:29 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19ED43B870; Wed, 22 Feb 2023 06:22:02 -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 31M8x0nd001206; Wed, 22 Feb 2023 12:17:09 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=aspHiXkuqcqFtA9ax0QFr5x7bYdaeB7gu8ysck9HvYQ=; b=m2syllCzhx2J/qWvg9iLd80h9UmNAmmr7VfBifJXdplwUNm0f18TXbWwfA619ODs5XM0 B6z2qlpB/Z6/KIKefmPG+oZnVy/o1hHBDksvXkFSUDQ9ljF60ZFsAsDg4IQ7vZgs3p7I Ri+MRI2ADqzrYxlrQVpcypsg3OLQ0kgTuhfAcGColCnEbidEj+U4ocdipqBy8MYhMYzK 6lT1+usQ/YN7c0rAUoMWP8d0Fjk3ORXu2L81e8BmGzistqM6HtbM3StAM11UT6mSFWeC 9pjwB/kIdrJN2t1XrRZk7ERxO7MDm8LyIX7qulzMfKgl5lFKQ0B2hu768iQlgOB/Z6lM 4g== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpqcfrdt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:17:09 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31MAAkMo006784; Wed, 22 Feb 2023 12:17:09 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2174.outbound.protection.outlook.com [104.47.56.174]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn4d2212-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:17:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qu1EDZ6SjAxQjG62VF6gmJCsMJ1UQbsoSwdjhdF+k1bTiQNNMOc5Y906J9wmBS9dfnGgXv3b3Yp7M3Ps4+EikETv/23ZplhdLEgOW2Wh++tyRJHv9p1oz/lMMowLGAXOIzaDowZ7WSt83Ph6tA46AR07aa4ghUhdUEMZjz/pPQzuIL9a1kgmfPFYn6ooycMcphzvJxBoDx+olxj+zqFxKhuOMt2MkUPEAdGCrPEiQNWT/2umsCPux6CuIivZ9IaLhkCRZoJb5FfStoMBqHU2G/3Tx8mm5R4ThGYKNCUt3Qx/fydOwyU7A7bpBGc/bCGpNAR8sGypH8vYQibSMYcN6A== 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=aspHiXkuqcqFtA9ax0QFr5x7bYdaeB7gu8ysck9HvYQ=; b=EzS9GRbSizod0R1ufRXOWkGPn7z7LINKrm8gsnG9Jsw+zat38NPPMezCKEZhhLQKbwPv+EWBT+Gipzo5711EOahaiqp8Aiu4egVNgwC3fUbSrr4qdAMV8/3sVMvWpoY2FUnbEHOEJPSLutc6C3KHMKFToepUZGRroXBLBy+EtyBEAlOMSn/+5jRMSMq+MwfDyH3XPhstGq6IIXwloH5hHCakAonkskdbn54cxglxUZU/ijSemOuvrgdApo5En0nwXJV7vknAI8kttCSq60YXp1f8UWbD7dgHS/DCMjAjvLQOPS14mh24+b7Br5SbqP7PIu8YQl4txklsaSK9sEJnhQ== 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=aspHiXkuqcqFtA9ax0QFr5x7bYdaeB7gu8ysck9HvYQ=; b=rvFq+V+H9MGhVSA9FZnDGCyztsnsP5Rl3s33ZHUDzctVXHE2W3MOCrNr+Dr+YPlQ6QueihgvDb6xRMZrJCB31PQ477SkbYZQyiiHYqyolGYbnf6QmwHzL/w3sATVz3wJeaMGyS0oqoHNoImZZ1MOYXfb12fY16zXAWhXWrK9wE4= 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:17:06 +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:17:06 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Linus Walleij , Bartosz Golaszewski , Joel Stanley , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH 27/27] kbuild, gpio: gpio-aspeed-sgpio: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:53 +0000 Message-Id: <20230222121453.91915-28-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: LO2P265CA0435.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::15) 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: 93ae362d-01b9-46ae-3f4c-08db14ceb673 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 63UdGFLd6zekgFGmAmuz7QXmdbL3Z6gQUYPWPGeeW/1ZVlhlT3Uq2/6J9XfqDGvzDGhjwQwg6cGR+T0X4DElUI8yT9UndEaW/EUC9Q/+XXcm8qC/v+V8H0rgRD113JbRzcs01XGStPwbPgTUNa995RNHeNmjd2XZyQDNCS6Pk0ljLW0dILlWIoDs6NAyyFMFc2cV3zBHWeetWV2zgx3z50++pTSsLiVVaAsTV9oJ5M0DZgnR1hJlFYtTyB2ISdOIpEauC5UHVQyPx+PLeniAnlOITniBt9wzEvw6SzKXrIrpznfCBVfSBaDZ3y7VBAjJQKXerDg9mdu11DMqzx9jciyg1osx0HhHW8G28/T4UVuNMw/nmXo4GGukcBQ1lSffCMeo5+umYqP4kZOb3y/vGYfPvH578/i0AGkHxkVmSoCuXYbHfXb4D7hMVeureq5YLeo0vYhvH+blMHyR7pd2+0KfiSGTfY6gVfiCrvBy9M/esjtAbjM8npSC4CqarVC+/ta+lpRtbr7vhfCMerUk4p+agy3vWUQI2Npur/qF5ZfSCXwpGbS9GvSf1rD7btX5xWHx7nRHNODu+2S4Soy2IDMcnW6JtlBGPGEA1XpPVv1x8sFV3qeGOLTL9EtLQJY6SObLn1XRitMpDY7LdEzt0A== 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)(6666004)(6486002)(1076003)(6506007)(186003)(44832011)(7416002)(36756003)(5660300002)(8676002)(38100700002)(66556008)(66946007)(41300700001)(66476007)(8936002)(83380400001)(6916009)(2906002); DIR:OUT; SFP:1101; X-MS-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rhA3B8hzSShg6eHOd5zYwJZ+QwSEl3KCHxVsAwQWu85m+VuzOJH6v5NH1pyVjjFq4un3eN5OJ9f/JcoX0Yfzz8omNSMMmgJqR/IBC7WPylYCgP0QQ3Q243GiolKcKkAvqXVmhMDcwbbacu0199ylgId8/FwwIv8Tnf9Jwj/NhddTTjr1Ttbe6Qw/asja7LVjSCU5xtt3/i3nQDCXTTrKaVt3XEDH8fZphXXo95olnrMBPXjkptI58FRkQAQMwS5Jg82zeuEyQFLZR1kGYC0YWV59N5XQekDprPlyVcv45C1i548u8VE2ap5FSHVvY0u+Vk4mGNUtAPxeRdJBqOTpwlYUym/tkMq35susUmsP1mLsmKfEhycaIMG3Aw5bgimYrycRCbFPPWgtBNAIhZsPryprMRYtKJ0DoOYDa8UV81C3T8oIZIWdp3Ij91YnIn5lcPiUh7roOW6gqHkoXmGGV1p0TMJLCE6ZWdEBdje3AqmzjOedHcE1UMqzMf6uDZO7S/sD6CAv8s+/XuRj01pAul/QPgWkPzeknW9PaQtUuGtJ/PnVGNDXlJ/Wi7aMFQHRaFzKq0mKdxA605mfA5ssXHata92ih0+rSE29uhv17iTjDWDXANnOeqkQ7U8jd4bv3CWKUi X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 93ae362d-01b9-46ae-3f4c-08db14ceb673 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:17:06.4413 (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: 7PRm9WefjTSPxq/TKMjxKru/aTUCzHHcCa4vaIPfXQOPOrb4lKZimSSZphbwIweL9J2PHmEOLOC94pGR4fehzg== 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 spamscore=0 phishscore=0 suspectscore=0 mlxlogscore=999 adultscore=0 mlxscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-GUID: a945y55iwfG2srEQ1-VYsx06yBLzSpqC X-Proofpoint-ORIG-GUID: a945y55iwfG2srEQ1-VYsx06yBLzSpqC 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: Linus Walleij Cc: Bartosz Golaszewski Cc: Joel Stanley Cc: linux-gpio@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-aspeed@lists.ozlabs.org --- drivers/gpio/gpio-aspeed-sgpio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/gpio-aspeed-sgpio.c b/drivers/gpio/gpio-aspeed-sgpio.c index 454cefbeecf0..ecc94bfded86 100644 --- a/drivers/gpio/gpio-aspeed-sgpio.c +++ b/drivers/gpio/gpio-aspeed-sgpio.c @@ -609,4 +609,3 @@ static struct platform_driver aspeed_sgpio_driver = { module_platform_driver_probe(aspeed_sgpio_driver, aspeed_sgpio_probe); MODULE_DESCRIPTION("Aspeed Serial GPIO Driver"); -MODULE_LICENSE("GPL");