From patchwork Wed Feb 22 12:14:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149083 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 E4130C6379F for ; Wed, 22 Feb 2023 12:15:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231788AbjBVMPt (ORCPT ); Wed, 22 Feb 2023 07:15:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231722AbjBVMPX (ORCPT ); Wed, 22 Feb 2023 07:15:23 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E314937B61; Wed, 22 Feb 2023 04:15:18 -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 31M8xH7I002769; Wed, 22 Feb 2023 12:15:14 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=Bwc3OOW9WgedNktZ4mRSsYL6iPpgGSM96zdksZDN/ck=; b=cCnRREJ190xJ3gt8+TFDvyY0ve5On2thLNG3a8FTed/g1JxIlh7xsDm39l1qaOnAW1LK R+QC7DeOTZH9UBJ2pe6KbkvHP8GPfD7wqG6WeuHF8g7ds/EuoxN9ZKyu3nCH6bsqV9by ok4DEYghXIM7R6OZt+SBPxsv5IosYBJTnPjktVuz0n5wMUVdnPLEhcwbsor7dSFlN3h3 u3hrGW2Miey7qV1BkHQe4QajNWkpYLGI378hYz+rTfE51O8ee2F3n4s4pP0fKy+B0G08 lt/b0Rxz7xVeTgY/3EzDk3V+OsmXhCrhgBJiqLQzbm0eird40Y8EJhDRgysIb37ccQVN PQ== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpja7n8e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:14 +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 31M9posa023286; Wed, 22 Feb 2023 12:15:13 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2177.outbound.protection.outlook.com [104.47.59.177]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46j3ym-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L0RdO2V+fFLt0tv7uFRGB+qgPFeEPoqMNvLp20oIXfFT11JqyzV9EttG9MO6ZpbHm2VOk0NLqU8ZOgTHN3XzzMsRbz1Mbym+UpQo05xroDes6PG3lYzE2oC0O8hw23NqohesuK6CC41eTnR+jmAfnCGhONygapq4WPYvvut+tYYzFdxs3cGPpbP7chsQi3PqN5y9zqH0d2QopFmRcpvyQqg6Z0Fv2FhVvrVXPproAG2rrtpOtLRqNrMxdUNCBeC7pRbb9SuZSy1GgpIEXf3a39W49ZFYgLHij5r9/XXZMzxD3P9MK0QWTqBbmJNbnxU+U2C+9age61h377ghiZdkgg== 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=Bwc3OOW9WgedNktZ4mRSsYL6iPpgGSM96zdksZDN/ck=; b=XVS750aINPYh7HRkbFdsPDq32ADtYmOj/GJ6lxsG+iOIWc1ooTuzSJRxYKWMoK81gmY2b62fOPHeIKD9L+1b7S0Qak72tXc/UJPAQ38L3j/EK8XeF6BHIlUpkb4122DeR3qgTpWnEnoZop+oMNp0trGOXkZtS+YhaKOf4BRKZcPwoVbSzkzxf1KLqvdhAFJoGytSEu6SMB4bKY3TD9HEIGoN1Rjdafgi/SZwEGs/iFaiVs2K5j6T08FP+jfHYhGhrXbFwOc3iTQP+JGmnpoq+Rkc3V92sp6RLfAePHeZ02T3MUAlr9+FIMlopQS18ZLbpSl9/glHrwQVEEsKOhXtNg== 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=Bwc3OOW9WgedNktZ4mRSsYL6iPpgGSM96zdksZDN/ck=; b=qSBe6mZND8DnrRlI9CddO0JL9gYNqCCVYBXszs5yacScJ1cSqua35hkpd1ETz+wC7b6jkZ9CN4ycsR0cIQTmAouUgXQo9vkXLsRUjfVi5yhY4/2EU6yjlbzYRDPcUGipLsVkbQF+XLQFeUDq7Y6LCHQbETJgYTSudLIZB5r5fAE= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.15; Wed, 22 Feb 2023 12:15:08 +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:08 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Santosh Shilimkar , Sebastian Reichel , linux-pm@vger.kernel.org Subject: [PATCH 01/27] kbuild, power: reset: keystone-reset: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:27 +0000 Message-Id: <20230222121453.91915-2-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: LO4P123CA0464.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1aa::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_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: d4f80881-d122-4766-3329-08db14ce7063 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FqG1yi+hx3opVEbvv94FRjhJE4lGjKboj8DZqp4iRzwoHKYKDrdkDFJgRfT+mPTQ7+xbjNWLkddAZS8qhDdlyyv8uWTBpWDn20iYL6e3geExQQ+MYul7QB3Foplzt2Aztg7qC57MLbmZahyzrOMvpTgXyUEErDqVmUFQ+68sL5sMFlmtMFQjtGj6tBWSFXHZWp7FC1CyiTXDXrqEIB3Lo5PMImrVKn/NYE5/FxzW5xIot7nzPpo1uoQ164DGUY//1sG81cckQlTz4I9AUpT/Io4+XIcxx/r8ojCfIbC6zdN8DkWd9//tyIvl6FJMvXK3WrEC4ShbIcwaiNmK80uZ6CrRgDXC27RG8L9d3DqN11D2c1AQMWPOwCA3slnK3VIb+2gTa5YvMPAvFKcM558aQjTEs4c0yxg3BUjCvdhJuusT3/bI+xA5FuESePwHUOTO5Rjsz/Rtv1GrauU2dk9Kk/XxFRrNhNtwgxRw+qosM+5kC2dALC3XwQV/bHEDC36j1BHmi9L5sNxaZl0OhF74uV+nvnIijaut9UuSpaEpp9OONrGOS6zZOjCCt2ZhP3o/BYehdr6zzP6LSNalFqZjD7gvgrPbm0hOQaEHU2yGj0s+mztF2Jn/02kOm4enG3UoH8qECN94jjCEvRtM6O/ydw== 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)(39860400002)(346002)(376002)(396003)(366004)(136003)(451199018)(36756003)(5660300002)(44832011)(83380400001)(2616005)(6512007)(478600001)(6486002)(6666004)(6506007)(186003)(6916009)(66476007)(8936002)(66556008)(4326008)(66946007)(86362001)(41300700001)(8676002)(54906003)(1076003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5SVPsehIyhqjZZ/RuUJcOuNiahDYrQDBm1dF5Od+t+TC6QK4FEHMXvqe6VhQvy1IwPufOLV8O6zthX6DcwGNh4U/yzicdhg0KGuTigXDje77eStaiCQwFX6cPkrRQgHkRsSQVcMvOGR+rcmQBb2qM5oPLoEM6F/WOGOefD0wdtqPHIxMHQaiPVqcj0/G02i5NaTWjjesOOwG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rT82+fQ3bYL5SejaPyrbR1U4VJyoGygLe5XwpGhCTFrdev063NHSg5mlsWmIhdaRaB1uF1+NbJpF1kP3ctV/3c0eSNQltrd8mJeOBjxehbaoa78JA214Jn3g2e7rGK3C1s91BDiZpwn6bCKREv890I/HpqSmupMQGtqp/7SITeETVFiIswNoHHBN5wGVyujg== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: d4f80881-d122-4766-3329-08db14ce7063 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:08.5362 (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: J3eh7uUi4r+D7CjXUB8ByEqCdXOm5vZJ/6ch9ZY8FZBL/VB53sHF2lssIh3tJsCtOIoJxbgb3u3Uuq/JxCXDiA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 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 mlxlogscore=999 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-ORIG-GUID: AUw-ZQG6LSj6jw4ehMiU324xvvAKdkSO X-Proofpoint-GUID: AUw-ZQG6LSj6jw4ehMiU324xvvAKdkSO 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: Santosh Shilimkar Cc: Sebastian Reichel Cc: linux-pm@vger.kernel.org --- drivers/power/reset/keystone-reset.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/power/reset/keystone-reset.c b/drivers/power/reset/keystone-reset.c index c720112db704..83a4e1c9bf94 100644 --- a/drivers/power/reset/keystone-reset.c +++ b/drivers/power/reset/keystone-reset.c @@ -169,5 +169,4 @@ module_platform_driver(rsctrl_driver); MODULE_AUTHOR("Ivan Khoronzhuk "); MODULE_DESCRIPTION("Texas Instruments keystone reset driver"); -MODULE_LICENSE("GPL v2"); MODULE_ALIAS("platform:" KBUILD_MODNAME); From patchwork Wed Feb 22 12:14:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149085 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 6DB96C61DA4 for ; Wed, 22 Feb 2023 12:16:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231996AbjBVMQy (ORCPT ); Wed, 22 Feb 2023 07:16:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231716AbjBVMQA (ORCPT ); Wed, 22 Feb 2023 07:16:00 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B090339CF3; Wed, 22 Feb 2023 04:15:36 -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 31M8x0nO001206; Wed, 22 Feb 2023 12:15:18 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=6q/tzYj7B5qwfQqaKu5mYcJG5fEtdKckVtHoY3Vt2og=; b=FHzUCp0F51lq60yJXng79ha4SXEh42tZI4w03qHxREWVP6qxyAUfWlSFl3lqq96ovr8Y 9XUu+FmfLzgFaZ9MmUvQa8KGJAMBg7GhVtDaHoXEnEew8KwTiLU4hMly2oP9uJZl5Ai2 b8txlZjW9pyOlaWRGoIbOYGZujgFNVnLTA9izUsKY6tkzUBIUFtmbyeDXA/5yz78lJ3w Itp5Sg2A3MlLwfGLVI6yaL31annjx+TT1wKsvRrBL6wgp4PeyLrWn/jV8xrxDRpwD/SM fsBcrmQBmkx2kPFeSm70sJ447t19t6mGGxRHrcmuKYnuxIYOdHRAG5bFSoyuRA6UBWxm DA== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpqcfr9r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:18 +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 31MBqWwB027867; Wed, 22 Feb 2023 12:15:17 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2171.outbound.protection.outlook.com [104.47.59.171]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46qy21-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nCxGqbiGxnqrlF2d/kTqJ7T/zpdHN1H8Beyhq+O/ttkH3EgvDH1QaDQq0hbqVV1amia9gcspnDPE6X//38p9QWCiQtIKRbEcxRsgTmHTgsemvgC+7y3l8P8uQ+HpXPa+2MdMyY5Gn4Fgb66H08pDapVZ9d5Oj+7BKITYexdFrhSx/bKa9In1vrIRhzsfRkl4FNkT2WkYdKoy51DGs7aSF5GiomWHnP598vZ2aQvKxePcBeQ0TnRX08qUkgVEeWvpvSNu+43uQbWLzR/fTiowYf5BciUnF6hx71DEqCJnoKsx8jJbNOdCnQOpNSO3lZj4/H2sYH8TxDzdxJX0U4CNDQ== 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=6q/tzYj7B5qwfQqaKu5mYcJG5fEtdKckVtHoY3Vt2og=; b=GEMvU7XlIiyBse2ztpDfdLgA+jG6uQp43aHp3McEGG1v4pChlKvsu5orQ1p+rDtoWrK+chRSBnWuZt1+Y5RC33eLWhPeH2pL6a7jEy9PEEZ8vpqDbqmyNCbJlf/6+utsSJA8u3QOC2QOxEaEIg1W4a8ToWNEUsTlRdEw6UvxjVdRPKQqV+1G7Y4iahjOiCZb08t8tWEk4OPuy9bzHdJX0zOIc/BnBxqEeGZuRSODI0mNnV4YyXt/fGLq/+ZMXQS6QtBy1ciNvFSsEEhzlhegKdRj9zg1p4n+JxlmdcFxCc26FU7SIwf4evanpJs7lI92WMmtO6Zi3o3aPguXpE4kXg== 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=6q/tzYj7B5qwfQqaKu5mYcJG5fEtdKckVtHoY3Vt2og=; b=UGbbUcUl2x5YjX+AfTDCDyLNClw2VnyHEnw/jDAi0qxphkTcKnKJ5nVqUtziJF2FpwVBiTaNnJXh3zuPMN+pz5bv/8JUlyXNwj9Af6PnHKQ9yUcw0Own7dGKS/GqK59TSuXu2xiL0X527my6cAeNzoYQB96R/R2BkEcKnzezzCw= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.15; Wed, 22 Feb 2023 12:15:14 +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:14 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Helge Deller , linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH 02/27] kbuild, video: fbdev: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:28 +0000 Message-Id: <20230222121453.91915-3-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: LO2P123CA0087.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:138::20) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: 86dc4e2c-7d81-4f1c-4f24-08db14ce7395 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GEGfNEecPCe1aFPb7J+u2mqYp5t7C1QReH/FDqqclpyQj9t1RO08uY2aAEBvhPkCt9jKGZNrx/c7oJP6LSDd9FOguHvemZsX0uoax9CIUsmwxha3pafE9zNfAqwSDx/AkeamVjJTMuwPMOWEsEoBcNIPKRoe6tRpqVWT0XNlrSG1Fk9QuwwzQigrC1JcODks7yQ6Ui9S/v7vzTj9Hz35D5cdutxnFsyKdc22HkmXXt+nadOccjgG3B7m2d6Mhcu8bSUFdepdl/AVY178QP+HbNcWJHzG383py1ded/+1w+9TyrB4UKizn1Ygi/CrwkSYhADTl2tkB0H3IrJTKnE4rwp8zNKTAvW6DTz1JeWGeSFf4PIOqrDTYquQKnAUhTaaUBYZOXEPbeldN+CY+teTzeDE6mNhgVST+8Dl2de/6rsOfWYETexNwvpq6RJPyQJwfB+quFvjACYQVlbGABPAC+vUaRIPJbRXrhsomyFF8LRYzIWzuDemlFoGS1ucuOdn1IIt1vNJKelxDiCwKluGMYkpc3NtsseEy7N87wUzqnWJ4auNKhox3yM5ZOOWNZMO/1JSzWtTh6UI56jWJWWUhaQtOXBIQHAxCFlFF1SSWKugpSlpHhmNPG1uvA8fGxoVetqOSIdzQJO/WYwoGyuW6gPi/cHRQ5uFx8s/6VHOETwwYu8m0E9b1/Y/Qb/DgNoJZyseJ4MKNVwVkcfVJIJ7Mg== 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)(39860400002)(346002)(376002)(396003)(366004)(136003)(451199018)(36756003)(5660300002)(44832011)(83380400001)(2616005)(6512007)(478600001)(6486002)(6666004)(6506007)(186003)(6916009)(66476007)(8936002)(66556008)(4326008)(66946007)(86362001)(41300700001)(8676002)(54906003)(1076003)(38100700002)(2906002)(316002)(504134003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: X7hNY1UQqbY9gfLzm/7sNpdlYB+i0bWGSRHKp6hYFIRc2RCnoeMt8ERuBGbg4LhJfNKAyVXKdbJpGIFiB/6kw+RiGiP4WsLI0tSnCV4oZMtpHBee854tHjqRoVkBIx3HWNQbl+Abjan8gkKGuXAYyY8n/9hpFlBFFsxrEPEoqmXNGXK7q6d7VeJOrOgLc6/ZvE+i55vO7dhtGo2p+XagtGoWSpQF5zkhGErJMYX7JTHW5sKkup3xM6S6YIpI0vRcfstrkhtR0KLftEMHtv04OlEoIYmQD8Ak5QTRvTj/4gr6Kr6HN5DdTXkrmEs633YTtIAbjvpxdpQPK09Wx/mruCLf0/dSLmkkx3sHz8j7QbTNRzMUmnMs5516dN6s+jv5UuPw2v2MtwqgNg1gqe43wWNEVyKwqqb0+QCJ2d2nq0RTNnxFpAylRXJvN2N6Ocq+9pSCRHhDQKEu4RF4MI1DroQIEX6ia40P7/nhqEiIF7A6ixAqA0KiKoMzfYIeCEemajQfrucY4z2WX3VnGEfSleNVfFhIWkMGcBEZfzEDBN95afkxLC1h/NpuA6qfUvsIPdLpwCUxiG2JM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c-7d81-4f1c-4f24-08db14ce7395 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:13.9446 (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: ScTbwpUw6BVdj12rDrwaRmM9YjRTeSp7kDqZbMEebVa3Kro9jBso7EBbGiGV+fY1ZrNIVbSX5dWQMCiNrD0itg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 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: G1wS5ZBOTFuLgULAMEAwaJMi1YzoRlDI X-Proofpoint-ORIG-GUID: G1wS5ZBOTFuLgULAMEAwaJMi1YzoRlDI 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: Helge Deller Cc: linux-arm-kernel@lists.infradead.org Cc: linux-fbdev@vger.kernel.org Cc: dri-devel@lists.freedesktop.org --- drivers/video/fbdev/wm8505fb.c | 1 - drivers/video/fbdev/wmt_ge_rops.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/video/fbdev/wm8505fb.c b/drivers/video/fbdev/wm8505fb.c index 8f4d674fa0d0..2a2997c647f7 100644 --- a/drivers/video/fbdev/wm8505fb.c +++ b/drivers/video/fbdev/wm8505fb.c @@ -407,5 +407,4 @@ module_platform_driver(wm8505fb_driver); MODULE_AUTHOR("Ed Spiridonov "); MODULE_DESCRIPTION("Framebuffer driver for WMT WM8505"); -MODULE_LICENSE("GPL v2"); MODULE_DEVICE_TABLE(of, wmt_dt_ids); diff --git a/drivers/video/fbdev/wmt_ge_rops.c b/drivers/video/fbdev/wmt_ge_rops.c index 42255d27a1db..c207fd917dce 100644 --- a/drivers/video/fbdev/wmt_ge_rops.c +++ b/drivers/video/fbdev/wmt_ge_rops.c @@ -170,5 +170,4 @@ module_platform_driver(wmt_ge_rops_driver); MODULE_AUTHOR("Alexey Charkov "); MODULE_DESCRIPTION("Accelerators for raster operations using " "WonderMedia Graphics Engine"); -MODULE_LICENSE("GPL v2"); MODULE_DEVICE_TABLE(of, wmt_dt_ids); From patchwork Wed Feb 22 12:14:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149086 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 8E154C636D6 for ; Wed, 22 Feb 2023 12:17:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231945AbjBVMRM (ORCPT ); Wed, 22 Feb 2023 07:17:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231660AbjBVMQq (ORCPT ); Wed, 22 Feb 2023 07:16:46 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D8523A85F; Wed, 22 Feb 2023 04:15:39 -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 31M8x0Jc001203; Wed, 22 Feb 2023 12:15:22 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=20YLo72x2r1kZ11zeGXtbizXCF3EJ5azWfd3HBX1HBs=; b=0geTMpyf+CzuRIvVriw903vD5yBKMoNU6HoVUUUJM0DYjnQjFefkBZQmGw8n4WvNi3cf +QxXVfhzi41ajbq+sFTXWaW75v8kVMg2fBWYPQktSk6nPdHabutgdFbHFvn7TSn5qoj+ 6k8ye1pBbm3KXsEtKxWL0cGoM118IIZdH594MeL0S9TyLAq8IAyZZ3HaI1Cp5fW+BBBk +k7vqRl3RSAxn0ehoJCnk45v72wVnZhwrcvotjbMGknsgl4ilxGJyORFv2CYuF8bT7jd nSa3m6h8sMaBVL4IuSqJYD4/vJsFzuMx8+tQAvy9YnUQwyBFSG0RXJwXNtV57t4Aj/NS EQ== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpqcfr9v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:22 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31MBPJaw012965; Wed, 22 Feb 2023 12:15:21 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2169.outbound.protection.outlook.com [104.47.59.169]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn4dtaw5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K/otk7vfJyG+gYBjoy/1KgFXugZd/ys4YvPUJ6AxDS+o0mIL0NaO/8P5SsxmP/6aLbsIBKZ0/Te/LgfCCxok1IZ6OhBUoVdb7qFuOnLMkTfNugzzQGL/H1vNHLFENu9nzE39FWBrH3Oi08Vp6DeGGbLYrp8vT6pFfiDcbRv9P76lRBp167Q+IuubVOkfWTklCU5A12mL33gUS2K3dOBucgdiCFGHpIuOo38uvx/oxa06fbH3BV4M9nje9YuFvl6doduytb8g5CRWn57amBtAEKY3ALyaGf7crTP5uQise1G1h8/YDQ7Mg9yHxdCDH+Y8sU0vglm9UceSr4m5lOpe8Q== 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=20YLo72x2r1kZ11zeGXtbizXCF3EJ5azWfd3HBX1HBs=; b=LYlCKAzKFziP4+MNQeKG5VHx3dnnbOk+aP5FBlIwoh1JK7qy0EHeOMmx5eEMnepXY6dPOX9DQJOZtfXM/IJRMdRmxOG8H4Qz/jDoKZKSxPzwNFZqi8I4MxeA6/7exqZCbHoFkPY607OJHyjJ4uVIsZavoytLIS4hQPOCfBxnuu6SlohGtYvXdvVzLk9G4hpnw85fzdlN8zMJKv3f5fxolHeOQ7N5338g4Jmuo+3hbllYRKWEzQOyLsM1cE7DqKdBtN9Sn9tNKpYdcYBl8cCrg0GhU3stpeYnmhjaQCWllchUdJ07F9gL1wEvmdEXe4ISGV3+0MmgyOkMgGBnDPcjVg== 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=20YLo72x2r1kZ11zeGXtbizXCF3EJ5azWfd3HBX1HBs=; b=0ABc/AZbuK0aaJvTKVZWCuslb5fX7ASF4uM6Ds21uKYzDy9cbQxfGwNuGU3wWJxEU0pMwky8KN8dxF3DDkZdCqayGw8Z3SAU6uqBelfktmu3pnATqe8SjDvPfk9p0PNe27qGxpui4tGR5WSkG9wATM9biFL8sVwrc2msqfOb37Q= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.15; Wed, 22 Feb 2023 12:15:19 +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:19 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , David Howells , Herbert Xu , "David S. Miller" , keyrings@vger.kernel.org, linux-crypto@vger.kernel.org Subject: [PATCH 03/27] kbuild, KEYS: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:29 +0000 Message-Id: <20230222121453.91915-4-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: LO4P123CA0407.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:189::16) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: d3f38c5e-1cb2-4e71-f44d-08db14ce770e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HWHsegwIf7X3eboXvPEIBY/ciLCgq0V6dcb2V/+BeH0q2nmHEkEl7PInijnWaaTJrN26egdnBVXTD2D23qq1UGH3X94ANbd08mvfVn2BbkqPovuYPZ8HAYx0vxkezlWtn/60x/Oe4af705GbM0s9fY2wOKsjFnzsAcbQr2+br5zNqX7wpDzzPuE3/TmXAq7gUlFZu7gYdZqNKdbprJ7AXBrBJBi6TD3AspLXqP7gLoP4hTqf98wmpUJQ1lyCG/pSQCz+TM6WMMr0VzjYIiCCF7ThFmneyYp+xSeCNwY6qYiDknB1Pys9cC1kbgDXG8nR7dUXQcaBzcZqKC10tV6SMxtyd5AZv5HpLc9leIvimLe6LAtyVfwvbiRpp4UhQSJEzzZldNYafFAEclCNZWjLaY4J2S7cMFj0jrPgUNCl96W4u3BUegj9JFGa6WVmU/nziXjFt388oPWR0b8lygmsJ3GWvM+8hur2THPukDu1/ZZoI/JZJFMmu3dZz2nISgh7D/VAnOhMSNX5DgPaIUch+t8Q0gbOh7f+PxqdFRLhFXtEZO4aAqUYG2AMUs/DtljV1qV6VIfclVEUMtkn+PF2NHk4gQtqRS4Lcg4G5/r+0CyTGp1br+O3p9JmOvS+kGqjJYeD7HIOTTneyvYIoojAIg== 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)(39860400002)(346002)(376002)(396003)(366004)(136003)(451199018)(36756003)(5660300002)(44832011)(83380400001)(2616005)(6512007)(478600001)(6486002)(6666004)(6506007)(186003)(6916009)(66476007)(8936002)(66556008)(4326008)(66946007)(86362001)(41300700001)(8676002)(54906003)(1076003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: KoNTIsqLJpTHdpSlZeWwsstegh0dYB1860z5h284JYz4BKtzCHzk7+gLcENtb+gUSDXGN0w6x62bMrnsvAdyC+tTXib6x6X73l5Zi6KoW145kG/7NXvGlJcr2dMoIYFS6yvry2IpJY4ONi52DcuzeOgARiNZ5XIKDd3o936xRZTQxWptHWUBogvlaKoL9PDBa3LPlOVUD72xQfshCSg+DAEX5wHlGlqeQPugIG3J6ZzGwe0IMqOSWg9ZnlQss/FWe8oqDowS6hIDdxrpt2kTbJPatRHNcgNvNvfgy6okRUtQzLkSbW4xHWM6w6QtUm/B5oj9KVkh38itGooByLxkInZ5Gthth+fviiYsNPwNA56mnMLY72av+ZRzH7p/TdI+zF/dtFzmPV4MbmuJjP7A6dF7p7xMvLleKhH4HBRPvx/3GgZaN9TxZ4btkid7K55ykQ5EAJQZ0jQQoI/kw1hh6Y8wx9U1hV4ol42F5ieY52X+f9cMbJVb1sdB8XME+XoEls+67CVzVfbGvhWMaz/0z7gYW+GaVeUGEx9OHsWwhBnzMP7ACpVHV2+QCO57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ce770e 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:19.7438 (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: YFj4YimtZe3NcyXU0Kns1UcmN/PMtfUQd8ghWjnjyaH7IHaeEqLV1rZCjCuyH4YrvnfPquot9NPrLyET5F4Nkg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 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 bulkscore=0 malwarescore=0 spamscore=0 mlxlogscore=999 mlxscore=0 phishscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-GUID: u_Kp6ZgisS9AgGcQxvRNaTFMGWy3XGP5 X-Proofpoint-ORIG-GUID: u_Kp6ZgisS9AgGcQxvRNaTFMGWy3XGP5 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: David Howells Cc: Herbert Xu Cc: "David S. Miller" Cc: keyrings@vger.kernel.org Cc: linux-crypto@vger.kernel.org --- crypto/asymmetric_keys/asymmetric_type.c | 1 - 1 file changed, 1 deletion(-) diff --git a/crypto/asymmetric_keys/asymmetric_type.c b/crypto/asymmetric_keys/asymmetric_type.c index 41a2f0eb4ce4..a5da8ccd353e 100644 --- a/crypto/asymmetric_keys/asymmetric_type.c +++ b/crypto/asymmetric_keys/asymmetric_type.c @@ -17,7 +17,6 @@ #include #include "asymmetric_keys.h" -MODULE_LICENSE("GPL"); const char *const key_being_used_for[NR__KEY_BEING_USED_FOR] = { [VERIFYING_MODULE_SIGNATURE] = "mod sig", From patchwork Wed Feb 22 12:14:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149084 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 E57DCC636D6 for ; Wed, 22 Feb 2023 12:16:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231901AbjBVMQx (ORCPT ); Wed, 22 Feb 2023 07:16:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231902AbjBVMP7 (ORCPT ); Wed, 22 Feb 2023 07:15:59 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0C633A0B4; Wed, 22 Feb 2023 04:15:36 -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 31M8xCCM001469; Wed, 22 Feb 2023 12:15:26 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=Eca+CXM2azDcvPzmOXyHZRiFRm3I5MEXuYxQMgqtQsI=; b=fq3ilILD7R8ezg1e+3YO3iQqET5DvmIMbMhFXxT3wtJZiB4RrbK+4t6fhHUxx0QptcO7 +fFkJtWeidPwqf6muAnldP+nZAO0ZJp/FTTRRBcMvqVmr4GwMGXLdN/MBlEzSiW43RxT 99UFpg6hDG8kJP2pTj3dhUwTXsIQirjPDDFvuTMBkSUP6EJhj/adO8c/uBayWcNGQqXX HZWs46Ntz28os8SK7AX8EvF6aFZfkcWbKf+c2wJz9+0V/1Acr2Zh6AZ1RbZKZIWAUgiy 7M3jkIxX59dBUgwAH3mO6+cmwALpc9dA+UXfTFS0yurSVD1lGdxD6ze8llVO/F4XpBgl hQ== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpqcfra4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:26 +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 31MB7Fj0006809; Wed, 22 Feb 2023 12:15:26 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2170.outbound.protection.outlook.com [104.47.59.170]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn4d206j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bt3tu5TuSI67O6lOENqr6/63NcAr2VroE4n5cuZPZuwidJqP00+EJ+yN6C/bbwNGT1p94vv/FscZcj+YPS6jX8F7X/F89WoyfSZLLfBCovvDoZOSL/dYp0L1o4iEG7Naym9sIhb0C6vchw3Lb1d9pqJZ3HUe/Z4tFSoOBxKdZRQaJVMaz5SboLKMDXimmOhdSRkJ86K2cTfiZvviDFjtXbqKm8vHNq5LlqdrWB9EUM70bDhpEyrMnlGp0tDfg+rSYd2Q8qb8shysZdJ93brMsM25Gj5jaFuvsbh/AZC8Xdo1bcrVhuFD80wCUspubf2NICNCDbjqwECkzSHis1tYQA== 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=Eca+CXM2azDcvPzmOXyHZRiFRm3I5MEXuYxQMgqtQsI=; b=H5FLAgqzuargA9rNp8M8CDu2gsSqloVSJrlzFj6bqaWb1W93pd1ikqZNfmtbj5VnsF6v1yjh8LLmfXMYwJJrgPJs51YeicFmtHUZ5n2OFCd2IxACWQQYCDUPRaGTzqSz6JdVrLK526BP901J36iw1D80V6ZLBoZKjmreea4OjxUvrn4AMbHRX2BEEfHGP1Y83AXHj0m87hoiY2KnNuUz/nBnJ7vhQD76CH4Kv1y9gu1SGT+cQS/Kdl4/LfrO0+boLxlxZAzGx/JeiylaQhitNbAeyX0TQFeCvoZOTXD583y9/7ilESK83iz3lEXXc60W9W4mR1SJJmQgX4wS4fhTvg== 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=Eca+CXM2azDcvPzmOXyHZRiFRm3I5MEXuYxQMgqtQsI=; b=yx37bDVWskD/fmBnUvhnXT2Muz2jZloOlCSmirEbPugtmfd+Fh9S36TAfJUkYG1qlbg9BEM4kt95o1cDtV5HQYfwaSPjS1+HYuF1Za1tJHHzI4SztZfkXq01Gnz/vYhR7v5N9yAxLTiOolfxt4Y9WmszP9z0tQmECbuYX13pghI= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.15; Wed, 22 Feb 2023 12:15:24 +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:24 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 04/27] kbuild, soc: bcm: raspberrypi-power: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:30 +0000 Message-Id: <20230222121453.91915-5-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: LO0P123CA0008.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:354::7) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: 22ec7d31-76aa-4eb2-b80a-08db14ce7992 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3ZTtBikSXKZSJpZrH6ze22YWyAUXNm2lpxon3yS5JOdc5T9DaAnQWpVfjF12qiUeK4dniGvZacKkkRGDkxj1r9ECZh+g9xZ1A9JkpIrlLyDsh4gGe0bKsabcFSakKy4fd1i+a42+yIw+F7DNxqOlYYZGQWIn6LAgjIzA7Zl/iVAWb6blGNBoOhEHZDUEUOJrEkm9ASo2VeOyjxYa9Ft26lSOI9emgJFlBRRMZn0w2avLo6aT7zqLlCakDkbLHKFtniCOmzv8pYS0uRtTmerGFoCh0dQbqkH7pWlUq4erltOF4G8kBm+XHONSoJ3mbroAtzZiu6J6ytQ3Z2HbJxb0RY+pauo4zryYj6b4STHkse4yZkveQPDtydbQng0RuiK4HkHBChnIKVS7mCFKovPploi4AvkLQmNjczRo3EBVam5kGJfigW2WIIZIyrTEGWoV5nUJjmRediQPUwfI0he7HJjJ1LEVgi4tp1ggQECHmjJvZYgqToBMHEUE1H7Dbp1qlhnA1pOrDg/8aNqWgIJp1y+CiiW5bzCNQM4MMqb1fPgdJtGn37NBwS21RCXiYI7b2UK/CsiRg3ADQqqqzLz4Oh3Fy3GwdSW71wYb+nICbODIWMjzruSNkENIV2+rE+oYtmyLs4PP/DzGigEfY9jVrA== 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)(39860400002)(346002)(376002)(396003)(366004)(136003)(451199018)(36756003)(5660300002)(44832011)(83380400001)(2616005)(6512007)(478600001)(6486002)(6666004)(6506007)(186003)(6916009)(66476007)(8936002)(66556008)(4326008)(66946007)(86362001)(41300700001)(8676002)(54906003)(1076003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: UKhzw0RIjtw8l8ODEK5Qn+Jk6/ed9cst2nGJrQZoKivQdixBYpdc3n+yHMSCXRqtin2rKIri9LtO45q5xspmC5ihQdHu3EhxD8ofPu2HsCwNoFrf5iln9XVbI3oAPYPGJCY/lP7sqIXKytplUWsgWbHhX2p6e7mS+QRjR/ruV0Jj8qE+YJB0GdmX+UoxMS7u7AXg1LL2Vo/iJYmuMow/k6IG6RGzUJYR+21oBY/PvjYXIrPY0EcvuVDpZ7Y08ujEWf8hA7v+zU1GuE2P8W3lEzmYWkcF/UZfSH7mA4tQfkbdki4hTNQeLgCcl+f3K87NCkzPnayyksG7VqiG97/3zrPosRIna6kre02GvFv/YpGSQjkrg+sJHsrWtGoddovmtdFElg5hZ0G+URjwOz/TJlrC1JVDmetTTpAYxVjcwpGBjoxRNDAsZO0hp0E7KdiZJnfbifvuIwBOVr+/Ie47c1K9uwgb3PGmC1PvtOxf5Pzjdomx70ENSeyqL0dS/a7RxxB3AwbYJuTxgldD6bxy9pu5cH9ilGbA1GljaBzdWq6zmbEMPytqEY1rZyFhQQoRoWXyV7pqWf81zxqOCTjUsLOw7qO3EDsaqo3WaITs2ofqKBrPzNsgDpp1ZClXwWLOx0X9fKa6lCuAUz0X8sLPqgrrFVXkqWGKHHAD7s6o+qOY5rSDZfZ/aWttyISYSGm+evj/+mSF7y2JrO7OrQgHsGhlUuFfp6+UWKdbnDf40fZbp0KqgULxgT7+GqJ3pBG4MxVpmHpMQrr9fxAcXaMcaAo5/WULtRsOtBZug5j2cUwrVKpwYIbxWPKPU9zPA7OW1+g5NPHGLWttlpTwrvEmY5uxWHNfjV81AZg0T+h5lt9aRxMZF93UGbe7zh7cABZPLB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tfdhO4aCJtsE4B5sqTG7iT5vbPGW/L5229OiS2FLs3DN7Lu05rBOVYiFllM4nX15U+Xeq4cnxdCP4qZ5+D7f+e4GocefSNd7qgDltJyblJMjmFCRztrd+bKp6pdzTctTVMjJhbrX872ACtU+MlZCCdB8f+fbLc3nadpXywajYUyJlReGvR3Y6r7AJt6rxyVGSdCxx4NyAFY5yXW7ErLGF3eWOkwTuQmLVoyQIuz0meSC+qzRDshJk+N6jtOa3GfuE6vNjIFNLqNiy4n+eW8Pk2MsffI9wJRRrr7utF4mVEn+zJl7rBMeeJnUnGNK77Xmmf7s2lzSLIqXUpVws5v1Ep1A2Ew7x61w/MRoFDZDVIRA0AzBAdzZy7K6Q+W2Q81VzP9GrDJmjBl9FFKutsZSFXdX6VIR4inGFljPy3fVNhT3e9eZVprJSYYY4H8Ls79FsejvI983lD+zeabBeLxK8V3YB2DncAPlrtd5xEoyZAlSBwZsFzOKly1b4c8VJnyZIeDsbgAlpHbrlD/L+5Uq/GxCE17pn43q2ISrmu+xMXQwgIh8B7xWLCqOiW5kKpfQt9++CCEHuH21nW7rrtHvkoeQr4s+qcAaEv2/yw+ExsYHlbVbiJki53ui1m4A== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 22ec7d31-76aa-4eb2-b80a-08db14ce7992 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:23.9628 (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: ZCLadXzokZ2guV3v3AcdBVP7q09CBe5Z8AoAsX6y6E2ZzRcpMgdaluj6tww8HxkXx6dECYS4P8nvhTwJ96mG2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 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: 22vHkG5tMlZGXNGzhi1j4knnj6m0wfA5 X-Proofpoint-ORIG-GUID: 22vHkG5tMlZGXNGzhi1j4knnj6m0wfA5 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: Florian Fainelli Cc: linux-rpi-kernel@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org --- drivers/soc/bcm/raspberrypi-power.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/bcm/raspberrypi-power.c b/drivers/soc/bcm/raspberrypi-power.c index 068715d6e66d..58175af982a0 100644 --- a/drivers/soc/bcm/raspberrypi-power.c +++ b/drivers/soc/bcm/raspberrypi-power.c @@ -243,4 +243,3 @@ builtin_platform_driver(rpi_power_driver); MODULE_AUTHOR("Alexander Aring "); MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi power domain driver"); -MODULE_LICENSE("GPL v2"); From patchwork Wed Feb 22 12:14:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149087 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 E2221C61DA4 for ; Wed, 22 Feb 2023 12:17:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231788AbjBVMRS (ORCPT ); Wed, 22 Feb 2023 07:17:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231952AbjBVMQr (ORCPT ); Wed, 22 Feb 2023 07:16:47 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1824B3A86D; Wed, 22 Feb 2023 04:15:43 -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 31M8x0Je001203; Wed, 22 Feb 2023 12:15:32 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=nPitDTwHvFRuV7vrXIAbgD0y12noNf6P5dv7dPuZCmY=; b=vcQrSOwRB4aSVXaqJUWM2We6ZTPWbF1x4cSwPWl9HJwmLZBMD3ZOyH864OFIy/d6yu0d fz6XZnPP+4scjapq0SdLVTXGxn3M4Lx4Lu8v9c2elxOht4a+MWW2SFq2grBISEIOMAbZ 5nEXveer9yQKY1uA8rbTfLTMF+rJZjLq2o8FZ9axVfgUmTGzZOQ+6nbCx8sPX8WbQxe9 wCVtT79QZF5llSD/e5HdAKguqb9N/lKk6pjvi7+6fa8ErsNwHZaioAUVaW13nQE8rZne HJrYbV2IRE+vKWsSMQfcM4bN49HYc4ce4zLM8YfeCx/rRmRnaZNWnAngMFplJmx5pope dw== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpqcfrad-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:32 +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 31M9qgSM040958; Wed, 22 Feb 2023 12:15:31 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2174.outbound.protection.outlook.com [104.47.59.174]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46fv8w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q6dVRJpFUSae4boBwsBcIfOPV4ruzdYdicEP4H5Mqh/BqgVun4WXWFrAAfbbubm7EORrT6S5opNYQaL702tsnNT00fWtQPyOwx3Tc7JfjPLnXS3yPEtVtvvd6FLKPVHbJooI4K8mNRF9b5TM9KZTUbY5qr/oL869pClSzrZjaMB8zKSKn384FOzRH+bohPoqvqBVciBI6JOT0NCnJKTnsLWAQ3+7pCe/YcUkjmgyoCFzMrL/p2F2zkZshna/zh+tY9tOzr8gH/yA3pfswaFq1me4AdD/g0TR1M1hjgmuYKgLryj6x4NE7uCKVt8mU/ro6zfDhXq+sbSOMLQKVthGEA== 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=nPitDTwHvFRuV7vrXIAbgD0y12noNf6P5dv7dPuZCmY=; b=ORH84igrAYM2kI3UJBCAcbMwuezWDWilRCNJs/arytaSsjJbhhriyzmvLeT9ni5+t3/WjhB8A12vVrzIwJKv/GDzcsarn7HaYWc3naLJaqhgv9b/55KlZ91EWEC6pfYhY6qvw9aLM+x/Hg/8DC5SQTjlpFTqUKOzE779WNveL36R3vyzUpORtXGJSoB4AucLoRzWdYqqSNwe4Ds1pP5zPJHeZrLkUTcdwUuC7wcTzq2y+m9LlostzxSNzQlVtyv/erw1dJKFppV2kPEhQnNJbGsR03HQxKetv2YTJVjyMG4qRu4Di89JWO/z6qAlmPmGZHlMSilcZnXP38NpsVvEGQ== 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=nPitDTwHvFRuV7vrXIAbgD0y12noNf6P5dv7dPuZCmY=; b=gWzAXddh2/+fXyHCu+7m1m/uR+neV69C+t4oqVmHo5DN+L9BT4p9tLhlVu2JiE7JwGF/yadeXPsmQ01pEqQvlZ6wL6vN4QZ5Of4CYlndiRdoKPdu+DIq5Ai137V/7D/NARzctN7U5Y5fggZof9t34aO0/gkF2rYUS3VlPJxAz7M= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.15; Wed, 22 Feb 2023 12:15:28 +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:28 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Florian Fainelli , Ray Jui , Scott Branden , Philipp Zabel , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 05/27] kbuild, soc: bcm: bcm2835-power: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:31 +0000 Message-Id: <20230222121453.91915-6-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: LO3P123CA0013.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:ba::18) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: f5e969d7-cdbc-4e29-7063-08db14ce7c6c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JE/Ou6ibDOgW2X6p6aj2c8EpD01RC11QEkeZ8AdpEKFJkP3gRQdYbJsdxvtIBdqh6MiGs+qVuKOjZssq2VN6XSuV78tPhjN6Y62J5FPdY26gu7u5pv0D1+NiRnsC25ZeE6DIQSzeStduhezIUNwGlFZYL6sD2tk3ab93JkiLzYpXJXTnHPxeR17qwRbYjGkGA3BRdsjqLhiWWRij+O2f3dAwK2l14OxM5QXlBjLkRn3gpxAhPX/Hj1DbDY1SatZ9G2T4itCA349N5q/hsZQFRGvaOO+BNW+r+qB72BkV7fhOQPU20gdUtIPrfEj+TUI02SLUbnlHsYvJdrPPU2fgPhn0Gp0MG40nI23fH//ieh5bs9YWDoKO/8a3oHQoB8ZCPUlAVsk49InE7CJeoqSAE2a9RMBmB7wvZEX339pLXV3A0Z2D1lFgmB8JJW5Yz0OrqDdiNDCEm7vM0UJyfKfn1I+0ajiQY9pN+GuuLuuezRWn/yCJWdcQT4V8k0p61OhEXyiBjpe32Vsx1Jnc4fNZaEhOP9jZr8h8paVti3EQQIBqjYHmUD10tYDeQ2bVKrjLKEFh3ahqHqXmk+h8kArreOOLn0be1/zPaS/ZFyn6FoJ6xgHq2bNj1VaLyZ1+Sst8iExvCNbTBIQnK5d6yHCA9A== 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)(39860400002)(346002)(376002)(396003)(366004)(136003)(451199018)(7416002)(36756003)(5660300002)(44832011)(83380400001)(2616005)(6512007)(478600001)(6486002)(6666004)(6506007)(186003)(6916009)(66476007)(8936002)(66556008)(4326008)(66946007)(86362001)(41300700001)(8676002)(54906003)(1076003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: u0hv2oLlKjIoCguGn6OSM2VnYPYc7F8EEOvSo+o9GrchgXxET8z93jSeGIb0J85BfeA5pIU8A3Pq9HxnYO5wJYpHknYwJjz6O67JZIOzS6kaHB4tvlpmAmthEz0F07I0qxqNbmY+hCLWc7TIq4WLKSSohai6erL8dove1xN1k+JFckjFSUsFCVcX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L27+KKRxDMwAOlV+2OyjLHfSSR2XJzpUC7anZrUexFLLo8pVB1UV0hlfCI7p7hfX581wypffRMYOc4n2wNgVTkabfpJWm9eW1Rt1NuzTqUQM2sUecPdxzfLuR8mgkM+2TfJAS4QtmPGio+5U4VZKrzR15hMwoMSduZANzcCbN8LVzv2GekEnSJ4+engw2VhgNoaZ4av317b6nBUAycupNNV1aMQ9eGgdz/ETKwT6Q6XhNRjQ1Z8uYwPXR+bdPzfTqq1yVXceD478tg8UTaO5dFrbj3SOJc06qz4L83KNmBjfatRZZsxov9r22DBgUYCCCCIxCZs5fgFI9THB84VC3qmlsg2lNvGH4lMt/vkLpC4D01U= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: f5e969d7-cdbc-4e29-7063-08db14ce7c6c 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:28.7607 (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: LFFwCVazvjBRo7arykBST7R395/ZcjgQLBLUCvQkeJwPVrxhX0qx+bWRZ1x6R/41s0HOGzM3etSiP/FImYMejQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 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 malwarescore=0 spamscore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 adultscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-GUID: MfOnipQoQBftky3nYGP3pJNa5QoeiVK1 X-Proofpoint-ORIG-GUID: MfOnipQoQBftky3nYGP3pJNa5QoeiVK1 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: Florian Fainelli Cc: Ray Jui Cc: Scott Branden Cc: Philipp Zabel Cc: linux-rpi-kernel@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org --- drivers/soc/bcm/bcm2835-power.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/bcm/bcm2835-power.c b/drivers/soc/bcm/bcm2835-power.c index 5bcd047768b6..831bea6ce5e9 100644 --- a/drivers/soc/bcm/bcm2835-power.c +++ b/drivers/soc/bcm/bcm2835-power.c @@ -717,4 +717,3 @@ module_platform_driver(bcm2835_power_driver); MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Driver for Broadcom BCM2835 PM power domains and reset"); -MODULE_LICENSE("GPL"); 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: 13149089 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 888E0C636D6 for ; Wed, 22 Feb 2023 12:17:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232062AbjBVMRY (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+asytoONYk2cRRm0O6?= =?utf-8?q?iJQHwXlfpTv5crI9CaFHhZmYPOxu7csIRym0mySxKWmkHS6Ai6ELcjb+a4XSm6jE+?= =?utf-8?q?XOIQICxoMUQdrpcCoNWYNWa7h+k93sn9lGP8jXpmsyZuXz5+DRJzIHz01uSYgCr4v?= =?utf-8?q?GmSfmCNIQqsRG7HmTaqOlHDACyamdBFb24V8gfedH4mwjhdnWsLS8kqUW7K+olvTv?= =?utf-8?q?B7AwTR2RQCge453SlGOjPN+QFf+OFfXIgI2cK4vI57GOiDRV/ozrXnzZxokb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?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: 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:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149088 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 42837C636D6 for ; Wed, 22 Feb 2023 12:17:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232058AbjBVMRW (ORCPT ); Wed, 22 Feb 2023 07:17:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231955AbjBVMQr (ORCPT ); Wed, 22 Feb 2023 07:16:47 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 580793A874; Wed, 22 Feb 2023 04:15:45 -0800 (PST) Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31M8x71v004011; Wed, 22 Feb 2023 12:15:41 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=einJNSaaRE9UiqjO6wclI/53/W+AQ/UPoWK/8Ldb7fM=; b=YyM5rQ4krN7dp4BjBZdYhLKMPb6DDWDlo+AGFKFJRDGKuQu2y6ffpEhanr90HOmZZ9PA X8YDXA049ppsryrFWxXKi8BjK5pKmAqwYLOpdt7YpVoUpky7lzLNKErrmka2mBXHYI5Y sJZ0fMmRfBgzGzBa6soF+/OiDeCdjw9obYaWwwBILGiIRrsWPcaXTjcZ4fcJe1kj/PM5 cxccjowbdxjKsjJTeO6C9grRFaZOylhfalXXSAjq99Mvbldlxct8EncbvERxodX8uHgi doeWPqF/6xynnR4bE1nsvwy30Nr/B5DNml/F27G/MVbu8vCWUmP54LLIphgKvJaZr578 /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 3ntp9tqqxu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:41 +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 31MACWuV040932; Wed, 22 Feb 2023 12:15:40 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2175.outbound.protection.outlook.com [104.47.56.175]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46fve1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PBXaIONDCPOKBBsoaR6+KZMRpqKWZc/oQHswjYY3rgUSaWpJWslfGbLxjo1dgDI6N57LM1qUx+kAXrtuzP0FmNaJHQbMJHy1027BVHq8o+w1VIlyeRWl2AgiXYt2548y3gjRmZx9BLJAcHa5G0jH46YeZBM0xFrPvd2sDafwfHAGVHkikBzPGj5j0UKBtZvuQ3qs//ePzuewvYx/XhD3iP3RhvX3l4BKWaBUxY4scLmV2qcjeLOb+LhbvxSw7JZBwqAdi3VilvBHo1iw5Q5Mf4o4DtENkisuO/foatTED+T5h/radcyT/UgQAIyRwLkkUIbhZi+i/+bX8IETc9hOEw== 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=einJNSaaRE9UiqjO6wclI/53/W+AQ/UPoWK/8Ldb7fM=; b=IQ+VUJQHj5qnNRWO2j3t6tCMfSc85d8ABP/P7QBveEvQzRcFHRu6jaemIyiAt6kDbqwIgDioCqPVcLIiiSdXdvci6X0k8ysguDUCLKbUyOiQqbX5zqdK815nf2a63Li5or2wRy5XXZv8iVInd/XQUyvgrDqwNjIwi7NJ3J4rFuJh+UFQPcZ7mJcuaY4QUvP1Mfe0t6HCcJ6cPtunjtxb58aptDbyySevPE5UlFnC+MrrpR/vx+HWZVq+1F4Qq9koMR+RejzFsKaGqJJ+pzN5kBfPDRQiiu6uQYo/G8ttRP6pXQGZ5uvpsNVMKZlrnZHlgAVWOllnky3Y08jxNecdng== 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=einJNSaaRE9UiqjO6wclI/53/W+AQ/UPoWK/8Ldb7fM=; b=DspOByqnnJIuvKSM2rogQFvmMAX6qo+W9eg7AScsR318aEWzNseeGxlvt8tiX2mz9R8tTCZEXoRB8FGtN/14Ho/sK9um0K+BsdhW633EgSy5wfs9FnWn6cdPLWzrk93kzMz1ndbdxgT56GS9dXuXmbqyROKfOvlxwq3yR0K3Czw= 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:38 +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:37 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , =?utf-8?b?UmFmYcWCIE1pxYJl?= =?utf-8?b?Y2tp?= , linux-mips@vger.kernel.org Subject: [PATCH 07/27] kbuild, MIPS: BCM47XX: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:33 +0000 Message-Id: <20230222121453.91915-8-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: LO3P123CA0031.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:388::10) 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: 2a2f6b85-b572-4724-65f6-08db14ce81df X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sFdRSpcaCb/qk+7sUwsLpTrB8EmtdFMeHKH6+XpG3Q6JMOICyjLnFOtcBwp6Y1aOU37gke1TzoOwG+qpSwSE6YJKZ+l4C83EHidmIWdYllY0gHmOW4c1BcspqI1LVOJRbREUSArA60txtPm8C/ZLAJJmL/+yNsgkWKNxeagJLXEV62KWOaVMyc93Za9BU4yqKjgeyvtzNq6Ha1I6Up/4N+YZSEnFeX3WIh2OfPa0JtAM8P1Aq/hTtu0OgfLxxWhh3NeIZ53m9V6vHNbH8Teo2j3/YuqV82sfGZtLU4ALGq1w1o5oJbUk+dJW4mnTPIwONXYELAN5VtM6SoU0QDgprHMOQMfoOL0fW8h7pTZprLSeSTq2vqyuGWr8yvbUGDbSf88lxRTPRyLTw3Vc4dE6xyLQZg0YBxe6SuWBgwNHORP06vVlKMp2E0hzyxuTEvyivamXSfcd5TSNY7vcPlOG5BVLQCbB8b1ufvriLx6s/PMsUVfcl/fyriopIqN6/lsVSlQ75Go6Epw1BGRQrBiJJ9rZz0BmT8CWJAY0aG//vi5okGBDcCETPgYpSsvD58YDPvbbleV/t3emi/tFAU30kp+NsaZU47HctX8qahAVFVFgNA5VhK711zBz/X/E6Ci0sqFz1OuXwhy/tYLOV08qyA== 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)(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?pYSnmmL1MHnDweyN2Iii8e+8LGcL?= =?utf-8?q?U2A1IIGs00zuXzg8OKWSpkXWFr5kRxXL3HqrbbPJzJUZ9iuMKNgqVRHnaIPZwfnLl?= =?utf-8?q?8Q7payC2Za0T08mJd9gEcobXt60SADKm4c3+qeGjNoXxBE9r9cBFGR77DkzKsEhVq?= =?utf-8?q?nSdXgm5NFcjQp0sslHXQjbpCVZ1m8vieQv1cLaZnyhMneYUCLsqPWp27Un+UgrGYJ?= =?utf-8?q?79QmBLzShZYCsIbzovKsdO9ka8MpKLNz0S7yFDPBVy9Xzj5q41hu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A7yq7XjYb+7JJ3AX2ptmIyoyGtuFiWONOwdsnHOCuykE+aC0SjSM+N6q/uc+Ez0QSh3a69L9JWQmI0YfBCbNuaofKRPICPhLPTv1mPkEM+lqGNTJx5BBZ/se0yCAnMmXrS2MUJfSOD5n0yTlD7t6dylpHNSJAkC3n7QrDbpo4+UgiMvQO7oI1qLaOSEsg69E1tHHoOuyP3WebCvxdfhun1qg8DXILnS2y0cSmjdiFq1vGBZNQhifYNuCFDj+t0A/qlLOPpJGGwqpExMBIOK6lTW0EXubFgu7zHOliAjUxs5RG7Y6ui0KJPx8y7oU9SfNOH8/GrG5LygOqCUAGoU/IBhntnXHfhcOBYV+M2Ty+98epQwgQal2GBiupa648vhc4ik/nUpto50AVWdFh4hoEIB0= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2a2f6b85-b572-4724-65f6-08db14ce81df 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:37.8714 (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: /ZHDeFoHST72XWHnDOOxTh3f22kDEkAWqna3s0qUn20N2hZNwCTw0ir8ND7xfWU4NmwCfAhJ3IJxLokegJn6dg== 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 malwarescore=0 spamscore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 adultscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-GUID: tzRgBJQ5qvzCe_pJQM6I3JepKsOaabgv X-Proofpoint-ORIG-GUID: tzRgBJQ5qvzCe_pJQM6I3JepKsOaabgv 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: "Rafał Miłecki" Cc: linux-mips@vger.kernel.org Reviewed-by: Philippe Mathieu-Daudé --- drivers/firmware/broadcom/bcm47xx_nvram.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/firmware/broadcom/bcm47xx_nvram.c b/drivers/firmware/broadcom/bcm47xx_nvram.c index 5f47dbf4889a..0ea5206be4c9 100644 --- a/drivers/firmware/broadcom/bcm47xx_nvram.c +++ b/drivers/firmware/broadcom/bcm47xx_nvram.c @@ -255,4 +255,3 @@ char *bcm47xx_nvram_get_contents(size_t *nvram_size) } EXPORT_SYMBOL(bcm47xx_nvram_get_contents); -MODULE_LICENSE("GPL v2"); From patchwork Wed Feb 22 12:14:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149094 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 1215DC636D6 for ; Wed, 22 Feb 2023 12:18:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231862AbjBVMS3 (ORCPT ); Wed, 22 Feb 2023 07:18:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232013AbjBVMSF (ORCPT ); Wed, 22 Feb 2023 07:18:05 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D14C3B3F9; Wed, 22 Feb 2023 04:17:05 -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 31M8xuqS030215; Wed, 22 Feb 2023 12:15:51 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=LOFmSS194eCpOdU7W6mzUc4pQfNBfIhnAmX2MRGjZUs=; b=F8iUFL4o4b+hQtqITfdDVYxFrmavdK/VzwQOTXqt/iEimv9tYicTkHHgFEO7UI8chL1i mTWRAnfbSfqCIUWwiSfeNYLH/zsKtnJ0/FVUc9GJuzoOvnVQmFWGld+ucWP2127FHnFY 47eVhkksZ8Jpdvdmv19BfSg9YeM18vlzN89/SO34BwlQQ2u4e5t/2HYleXkljfjzAk0V RquI3WLRs92yo6QCJ6HMu/ay5ShuoC/X3SuAftIyQamw0CWgYYcvz31+nWQhOtXUlaME gypeU9QkaiM+E3G0tyvIwsO87D/0q3bAXDPbMpygLea23jsxGNQD7Y4Muo04ZmyfHs35 Zw== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn3dqqd6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:50 +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 31MBejip027290; Wed, 22 Feb 2023 12:15:50 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2170.outbound.protection.outlook.com [104.47.59.170]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46qyfu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GGYgj2ssUITM3yeJLwL9KSgW7LndHD7tcQ9sJvE1rZbqG6afZ30tGPGiJ7VUsBscqp5X/Jt7yY7485PLQ9kEY0LnMlcFrpuswvpmRSWGFnG6pOwiWmdmA9RX/7HoTqXuQHtYqwWH1Q6nXfJCKWjeGYZUIZrHx8wOYIBLA5obac1Xy4/hByKBv7QY6ZXL3Pju5v8gJCe80bsIAGeYPyVoCVfrd2g/ji83Sj2qaCbCTXw0RKZqYwW2gQDCpD78z7osMlpcLfRMC+OMUcGfX1OUhYGHl1o+D1qzH7MoPqlgzFwVtOQLb6yO4Bxs+MdsNgJSkd+QqgaWwpzUduimJqtb5g== 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=LOFmSS194eCpOdU7W6mzUc4pQfNBfIhnAmX2MRGjZUs=; b=dOc4UCTEy/e3kNoVUY+RNhcC2AYY/7kIKvcnzpAqilYRPS5NGeHGs3f8L+4YO2baL/oN1Ghf9WM21Le1yYQjr6977SM5urJsQfBRrtKxiDg4GKUxUPaTX7jIctMQbtNtYox2EdylJzzG4604gh07JtHkYWsZW/tY7KpEu83fL4ROkygu2Mzac9FGHh6gW22htWZxnsujSKLmSqOOM/YujpDzqby3wqz0ufQ7fHM1j/MWsbNMmKgiX5ge5yViB5kmeXEDgsLI9KOf8WAs5TXcQzcqHysr/3E31/XA24EQvGdU7ZsVXw/MWDlVGYnwSm4UBbyF6FyO3fBlmF4/y58s4w== 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=LOFmSS194eCpOdU7W6mzUc4pQfNBfIhnAmX2MRGjZUs=; b=t/0udKaVuLzqaZjZGxFVAKcMJWb9tzFE3CXgIfOChjgPq5756qW+bfQVUqlX5mM+kpThDethBX/eRqPLXsbolpEK+lwAof1v/B+YcqePgJ9pGZrlAIcEQD7ZTs9eD3INRYCyAVPzj3Me2SKynUs9w8DdNvC+Y+pVYnV1vr1qo2c= 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:42 +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:42 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Daniel Lezcano , Thomas Gleixner , Maxime Coquelin , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 08/27] kbuild, clocksource: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:34 +0000 Message-Id: <20230222121453.91915-9-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: LO3P123CA0021.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:388::9) 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: 11a1696d-9741-4e9d-4878-08db14ce84a1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: o/8Qa4oksuQKqUM4YqZ94tokeejZjAo8F8F27EsVa5O6gva7vbYOIdD31/i39PzCIcpElZVJZU+ZifbIsXtt97J8spx0GGqdJwp+V9rSSDIhyMZaLMRteg4Xw7fglmFbYR9shnFx65rkT9/Dm5MnHxotXbxsfnyQb9dShWiI0QE8+BcIMCtlCxfP34k0vB8YcDg8+Kgh2szQmS1j78GQSvcZw4pBHe+DrMuGd9nS03dKm5odoPNcEsguP/BdZ1PC6YeY5GOLiyLDl2Vdaikk3OrxP8uECUqFk/zlE+XTIPA0bP/m9Sxh5BNZbG6TBwmNKDS910uflcF2R898bdQmroajcWSDZe9QOfK5M5RqBGqBs5EGLIEs0bXVvPWrjHI2N0zSFramJiclKwfdELio6GXBUkhk1bU28hHz+LGiZ1ie9UgkNtp8JVJnjBwtY++U2Oub29EbrhGDVaHFdfAuELKSOjz5h+Ob6xGc2tzuZvmc5+F8z9Dk4QAp46ScLqcQ8w/QfosH92IQnCWIgSk+maEODXHU0VsqLIFEYpkor5fNKZB+FYmG6KUtsMCjJomZoLT7eitv6tjd9VNQ8yOh8c2YCPCL7H1oqfkQnHXG3ZGmQASxHr+pAeP8AbO411t8ArDIunqJDqf3YDudx9b2Dw== 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-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zMPcc9YXw4Yv3iFdCJFSjMVfSBGXePMyEs1CbNLmnizgwlAPmLMdU36sX570gtNz1gKnUyD2nurehMVG7WVNvs0KigjAlppGH6dO3wuftOyTdj9tykAMAYfcfo9dwPjMbssR+O1DAQcNcqI0U2IriAMDoY+sVVolCsT0dI387obMV1Ck7o4NqF+uPYu0eqsmihFIqtMXQS9m/V2yvgAv7ibffTFYTANOcBO4w811y0IUkF76qZIAKh+AirmeokX4oZHg/M+QIMlEt+XHHuAQzpJgguYDiJnMNN9FNGy3HbsKEiWNHZP0woOqdFNMpxZK8abV+HdrpLOW+GdrzJ8gh1IOdgHxaCF/CYRw4b3q6/ZLP/F4AnYp3FnhK8uvws1LSuqz85Q774B1WxCvcZa9W2Q5AKZbQIhoLHrWVSaxI7BqgdmkVG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sVTRwTkDaVolvJTjqi5HvKGdwMqY9mkAUaaNQ7NLhd+ppMDzEMODQPbyTBgQGRyh4eeIm+BGZGrfN8+jkbyF/SErgdHy0Ahapm2/dVLIx0z9d+pyIE68B3nRT0t5OWj849RJrk94d5Ud+VHNI/7MpEb5NnnsGvj/2B3wT93K8YkV/YB8QOiDyuZRwh5r17W0KKBH/W4Zt8jBa3PzQShtTOqjfq/YB+ny7+zw== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 11a1696d-9741-4e9d-4878-08db14ce84a1 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:42.5131 (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: jCccGiGcW1bNyPNT5Nr9x/uH3H4cFg5i5A0n5FrdfIcz6CLmzvzx4EiuiRIFog8Cv4YXB8j2CvzfJ32y1BqJAw== 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: ANMkTdMrWwB6_TIzYxwTBHmbgQoON9cL X-Proofpoint-ORIG-GUID: ANMkTdMrWwB6_TIzYxwTBHmbgQoON9cL 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: Daniel Lezcano Cc: Thomas Gleixner Cc: Maxime Coquelin Cc: Alexandre Torgue Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linux-arm-kernel@lists.infradead.org --- drivers/clocksource/timer-stm32-lp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clocksource/timer-stm32-lp.c b/drivers/clocksource/timer-stm32-lp.c index db2841d0beb8..4a10fb940de5 100644 --- a/drivers/clocksource/timer-stm32-lp.c +++ b/drivers/clocksource/timer-stm32-lp.c @@ -218,4 +218,3 @@ module_platform_driver(stm32_clkevent_lp_driver); MODULE_ALIAS("platform:stm32-lptimer-timer"); MODULE_DESCRIPTION("STMicroelectronics STM32 clockevent low power driver"); -MODULE_LICENSE("GPL v2"); From patchwork Wed Feb 22 12:14:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149092 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 54317C6379F for ; Wed, 22 Feb 2023 12:18:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232019AbjBVMSF (ORCPT ); Wed, 22 Feb 2023 07:18:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232018AbjBVMRo (ORCPT ); Wed, 22 Feb 2023 07:17:44 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CED83B3C8; Wed, 22 Feb 2023 04:16:43 -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 31M8xGBZ021515; Wed, 22 Feb 2023 12:15:52 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=l+F2KFQMUog9lkNSpQT6WWttm0AtexdcMutERVRbWX0=; b=HfD1eqkZYmhb5U/78tD5XvfCPpRGe76RDOMqyB3BfBGJzJ/dq5ZyIizOL7WQUts+DvBQ 0he9Ba2YVGAjy57bEU2+xp/FKMj9abPoAN345CgRVwygQkGkiqcP6PMRCCEa7kq7oc17 AHmKmAn2Ln/JdKWA6H7ii7Ck5nn1sRRRDEtQqXbxNJ5GbpT+uYY+bf0Sl+Yx0nEAcH5s 0fu5WfsHy6fkoINja0vYoqhYZA+Mx8bhqAyjbDaAtLR5YJCszSoh72cgHTQ6/gBd2YpX OqLyG+enFbbmg/O+KobTzA+xKf1+B7dZLBd3Z0Wl+TBwIvRV1wBmmvwKBCWOAvenYgOD IA== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntnf3fq6e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15: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 31MBejir027290; Wed, 22 Feb 2023 12:15:50 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2170.outbound.protection.outlook.com [104.47.59.170]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46qyfu-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iXVgYmuqR7dvgILptsxBZGavx7VPuyW86JBTXC2xTw8LwEma5JYj3ictdLnJSOPlbenS5m2qWa8nqiQRbZ7OM/pqDiKLWMAZ4/8wPuyXbK2+2FVTyK/eROyasgIv+6zhfjAGCE8l8qhj48H/C0Ww+t3bKy8VIxKpgXzLURVg8QylOn2dp/V3wGzHtCM9hSyxpkdt0vzNUgfBcRqqCYhOL9l6lpJiTKT6MWweN9yVZ3hu1qaCbFP8gzjTCo2plFwge21vLtvQs1gAgXFnyARZaY80zbM+lTMd6HXHnLHh6xwjAFjgvemPjQ2w9d5C6toDwONmuas6FDa8+ihY0XWNFw== 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=l+F2KFQMUog9lkNSpQT6WWttm0AtexdcMutERVRbWX0=; b=dOAEolK3uT618AhrdOK1FA/mKQgWYOX4aA7tqXnze8tUwielhPenhUhLwy1NDl8fw67riw466zUDDSUSFNc2gcLnvYwaVI4Bt3EwHbS36z1/9OdzEPyGIH/CVWQ3ALRPLlsQj1oUgS1Im7gnfQEXwy54N1xIzVMqTWHtlPFuvwAQmjSquJqMYjS7ewvkcF+YLHEP2yPhrZNRIu1NVEX56zz70E4z0sNy+0I8SBa3MnkrxiCX9Ad/XU2ngC4PxBIUTOz1JjCGtbLUfDeaA2JibxbpOW6H0yYbSw8C+BSwWpN2vfN4UqUOWDisASIj8wkGNEIy9zNG5MxHnTgeGKYjQA== 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=l+F2KFQMUog9lkNSpQT6WWttm0AtexdcMutERVRbWX0=; b=mLKxg1mwlUCVbxyIAOvRpOoIy0l+9OEI7I1aRgWoVxBciim8X1yol7gAgrSRa4kVeiEX5PC8C6a51vBCFUgQd4lvHHJ45sy6hcf0oc6PsWhmYYE0mzNJcf7FqKjfU4TmggLjclr1mL715730Ql9do4jwJyKn/cnBVI5ItlP34rc= 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:46 +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:46 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Daniel Lezcano , Thomas Gleixner , Thierry Reding , Jonathan Hunter , linux-tegra@vger.kernel.org Subject: [PATCH 09/27] kbuild, clocksource/drivers/timer-tegra186: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:35 +0000 Message-Id: <20230222121453.91915-10-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: LO4P265CA0233.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:315::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_|PH8PR10MB6412:EE_ X-MS-Office365-Filtering-Correlation-Id: 8bdd0877-5932-408c-17aa-08db14ce86c7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8wK4cvbF/w4KnvGgGWqjXx8+8WcXLFEla3p/xKayKr/GK6Ei8bsuA22gh8sHYq3NhUvPBDRXztENI96EgRcIZxoyJODKAWiqzk0r1NUlVl3v3jdSJLqcsMF0T5CwnVLmoNUbp/KjZod9FuoIXpJ1RQ953w3MwHkV7h+LXOkUWP0xFiafX1hF3DbSwShWpdnPre/o6VWRsCm+j/djH9hDbzqo564V8azvcYk/yxF2JcwPuDOtYxRCDhNA3cWa8VBQHJaX07cHj8KhbwGPwvN6LmFr734hwWRzKPVdWwfpIIcOgDGcyZynMtlOFdCr14eQ1vvVicSBoj345vZNWpGA+G6Qbesg3IwXigSRO8XZ/uWZOchHOAU6M5Hkj7Kg8+b5LFUXNKg9VPwThPliJRDMGvGK21NqmvM6hYEkFEVWeMb7cf///HPLJC5/kqY6cycK3m0oFAbOOyW/XamcOv4vRE70s00N9oAQQ1yiI/nkhuEOvbs4UD8Gn4E7MJb4p40B1LkM3upyIJDQkfeV+BWFrMfwoM0Z4P2Nv6H94BWJbG27ajj9iTXWET9m3BQICghASUAj5PYc/i9K9LuTHhKorluWCZhlDVk/Rf/hkQfD240lWUrwJxwWdSehELTZlcL4YGc4h+IVABN9h+VJnN87MQ== 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)(36756003)(5660300002)(8676002)(38100700002)(66556008)(66946007)(41300700001)(66476007)(8936002)(83380400001)(6916009)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: opIMhKcbQMuN35PVG7f4F6aqWqlNGf21I8orD9A6W4Zus5uuleE5H/AvZvqCPpgzQWEKG5OxWcIYPHfnra9rGsVDh0aBgHjeCyPGsWY4A580WMYkTw1YBH3Xe5z+8xHXomb/8n+PDZ9ykyVqtnLQ9r4UE1+yprsdbJnqkXwUT0vx4I+QrHWXSv6S+HFuUK6eMXDqccMFEKXKrvLNejVOeI9If1hfNFK36zhXLE18L6wW76wuMCML3ag7mHd6YVCMReNLLrlbHo9bbPQb7l7AgGLuNc0ROaYFs39YNZ12k51RkxSrXbtt0nWzuv0Q2hld6TZ7nyOVmSdJTz4a6NqQvrIIHSTlTw08revybpSd1G5vTGRwUenPWjetpV8vYao5dtwEJKb93mSGJHEgRHdwuYuCK31KRKqPBXxzBM2Sq+r2d/HSu3f/hbwrBltSkDkwyQ/ds+h4+VIa9WbE2EoMHTdGA7Glf3Y1nfIPyclFgLQSYUbje9aCiInTv98mCVWsmM8kNSS6Mf+389HGP9R5gPBaExw7aHjK7ArdH0BErsYUWjMH89Rn5vRK8odYMFujMm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op-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: 90xrW984rA2gdMwQhRKBEGOqd8D9HaP/5KccGr6fXaA2JRxxzRS2q+QLya9U5HPCCIOiGfREGuDeSZWYSESHSIVR8JyKjXETYN13c2aMP52Gp6xzp4FP0VoH+TGjZpu2Lw98sJ6NfGOUGK/UhCZekieb+RVvGBm8C82CBUKx5SvoWbNbBrqVZDt/CT6WQveFmUTEcMEtxlZbzZGKTvr4r0HYaRFDcR7lDjpK+x01enVQJFO/8v+rD/JvBwXuCznX5vgqHDKecmdfpMAcIKlIie3QGxkOImJXePKaHZ5oVbOCq3c5uwtUbKk8B8U6vtFUTUQFOfgSzBjttXMSkRoYdDuU/R2IAb6bFoa2ESR+krYuX0b//G5Ntkbcd+0Rr47od68itJRrWJD5NOyIn80omAoOaSOsfPo/47t33D9FwxpxfKLPDkpGUIaoN9bC7clZt4RTGMaUzhxIoJmo1LJp6zMFJ9MmoSfsKYK8aE06Ktf8J4JQ3e/F7x6ckKJYfXaIrmp1snZfe44yrVOir1TfUEKsE+YtiQR+dncte/cm+ObDr/y/xvQJI+7oxyjrMlPDHk9i60GrXRGE2tMZK/20cN8j+EOPlPpft9BZCd+DMsYNeAbJfxqMKb0eYG29gFz6Hw4CzHMZgfnhrBS4JNssSRsI4IkLQDyCLkl2HgkJf8Gc7D7QKXHxxfxRRYfGfHEvqM+BH4ljdUvnC2peiolmK7Qqhyh8S/KO1nB2i7nn/JZvp5QK17JQ2OqF7cLeF9lYpLrhGxFjsr9hDQDe6MO8Ut+pM5boTeF5sTyujE6VKRpRrvBPZHd6S/QygntVBz+Q5AGySL3ujdts/KwonUWtgqALjxWy1S2jka/74gve5skdYbmh6yHLASq6oBXjgO57qwticWe4/ZsecVryZZtfsWNItYJ2ZInDSaNBiFlIZibtTVtyWKllgeUH3MX9MrJF X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8bdd0877-5932-408c-17aa-08db14ce86c7 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:46.1164 (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: G6Lz2IjCYm1s4oLkYN0wICL5qN4JO9CUOdT4kVY7AHuu7uTbI0S6S/+HKgV5KbpYSxPPvySY2o9bWIDpR2xxjw== 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: uzwDNrt2HB4KFR144RfIpPM7mdmchne7 X-Proofpoint-ORIG-GUID: uzwDNrt2HB4KFR144RfIpPM7mdmchne7 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: Daniel Lezcano Cc: Thomas Gleixner Cc: Thierry Reding Cc: Jonathan Hunter Cc: linux-tegra@vger.kernel.org --- drivers/clocksource/timer-tegra186.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clocksource/timer-tegra186.c b/drivers/clocksource/timer-tegra186.c index ea742889ee06..0c52c0a21830 100644 --- a/drivers/clocksource/timer-tegra186.c +++ b/drivers/clocksource/timer-tegra186.c @@ -511,4 +511,3 @@ module_platform_driver(tegra186_wdt_driver); MODULE_AUTHOR("Thierry Reding "); MODULE_DESCRIPTION("NVIDIA Tegra186 timers driver"); -MODULE_LICENSE("GPL v2"); From patchwork Wed Feb 22 12:14:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149091 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 3F2F7C61DA4 for ; Wed, 22 Feb 2023 12:18:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231845AbjBVMSE (ORCPT ); Wed, 22 Feb 2023 07:18:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232012AbjBVMRn (ORCPT ); Wed, 22 Feb 2023 07:17:43 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF5FD38B66; Wed, 22 Feb 2023 04:16:41 -0800 (PST) Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31M8x6uM003985; Wed, 22 Feb 2023 12:15:54 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=x9g4tZ39cl6GFy6mNclSlBENXi13yBQXWOhSA6D10p8=; b=qbZ+IIKCzpeAu2w45EOYtN9y556GKyjzOM6Hlk4W2ttseotT3vbVOLLnDXkKlFIB587J 2DPGz67dXxeaW4ImmKxd2QEVePtIRlGOEeui4pSIZf0RrrhXgo4Fmz3aEZcV94zgpCJM eXWBLhElFpc4pgVMjLMV16rRPxadnMzMoVZaMSXIpbB7Cy8cBGygl5bJ9eE04AniyA4/ v1djSBE6SbAkldd+hX5k4876/dQDZP4SHI1iomZcsbRRVe8LO4cDC9cfZOTC1j3PqZE7 qZWfZir8O4941JOJ+sa/KoOidLn/mA6wgKIni+AikMt+6hC033+80buUaauLMcvFEzOj Cg== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntp9tqqyj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:54 +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 31M9rASW040816; Wed, 22 Feb 2023 12:15:53 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2170.outbound.protection.outlook.com [104.47.56.170]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46fvpk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O6u9NgeoXsb1HMudILzv6XJNHpxRPVx1QTvbaLZa0wjOoz2+HKacFTEuobZ8MaKgpn2eNUYGl0Tdks8uUZhHi19kbE59VU8IS5iPdBSoB5ju0gilJ0RpXDWKl4qjzBg2dXfbrelBLD0rx0roP/HOjBWd5LTDJHYosPEI/ZvceYXwdtkqy1ZKRdXIAMaiFO0Lrym5vVjQyJPk7quMRlux2ZZOK477S5VNpyHVDEMMgYGKRQ2Lt9vgtZK82w4RWkyNrd2u8mnEHmD6OEq2BiejBwIX+ROBJgbENc+oBgMTXCZxrtTIx4ntrS58ByPvYggUsmzRJT9ZCHdiR6qiBGQM1A== 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=x9g4tZ39cl6GFy6mNclSlBENXi13yBQXWOhSA6D10p8=; b=PQ+zyU+zVgBhYt5XLQC7YkuQpyNmhfkCn+lRjVGs2MFO8a75kg5J1kXDqP83Rqde6ZbieimUlgxJZ45sndBDJCo1+GpOcdKbwp0rd7Q1xSkr2qYTtENByoRexpZvlBeCvKEdAn9lVlhZIB7016g+zUrzuyD8K0xzZCh+7SxwZ5SLOEAVoAxjakCwdCQyO2ofQ2tSfFG+wdlVZS4aZXAJiPZAyZXYjZDLIqadTB0hqP1WKwHvYA1+1JKCfPKqbDVB2wGRgPwJMI7r/QbtVNgojhLricRzTYt3qyPVSWXenqH5hxqL3dWRskp28q3LRFwR8RUsaMEWGVPK4EdZxhe0cA== 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=x9g4tZ39cl6GFy6mNclSlBENXi13yBQXWOhSA6D10p8=; b=LTIas7mZ9jkT2sEWRySTTXdEZiBU40XmPJS/817XdAAsBWnHVKOqIAVuCwKsdqhl9m4gCoHR0oGOhuyBtg/8848gSQNcbjlVRF56l/x6HMlncDsodhGnGgO5PQpNcjUCBuAILwCkXqEEGnOz9/9k+dLBtF0rVdl1bws0rLh/CHk= 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:51 +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:50 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Daniel Lezcano , Thomas Gleixner Subject: [PATCH 10/27] kbuild, clocksource: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:36 +0000 Message-Id: <20230222121453.91915-11-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: LO4P123CA0470.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a8::7) 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: eb171a6a-726e-4fdc-292c-08db14ce898c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DDrrR3mEm2Rl5vsEM00v6RKZ+VM/q22ON+8bQe/3BfdQxW3npgXe5u7BjqzEo0gvAHVaCQz7QK1g0qh9hDA+o9lIs4MW18t9fP4qGmwP5G9phPrcQ2MToG4kosdJzNqAaEXtjOKr68Z7vV4jJqbU6f3acAkQ08iy+U5zuEtj4eas7lQd/tb6EeWRHBNIZI4Mex5iuYaR0UxZFApOLTyQp76+hnPuaB8PVZy7tQnFDLq4uV9JYzhYoY87gS5zemLFvbsHHLjSk27iPpUB5TVchWwmi6lbo0nzBnLQVuoHz6ChgwsgxKzzkr9cyu+wCE+zfDIlZd2N+jAmeYN9ExKgmHAC1OwbC6tSeHMu3GhrQoc0nJeVKwpABHsWqO0LdTW79QEUZEXS6wzO11k6/nrKZ2QC02AEM/BC84eeeimECjUXEtR5KTHOTttXkvawGjTqGY4kJ/PHUMwVhbCC32iM/Nwt5W9JD11C9OBhLN3AXu2givrNgDX8jof54BmTB/A1xbfxPkpNDl76KxS9ovaedFqrCJPmwP21wis5OGlcjEKXqJ3ck5jj2GAN7c887ivdL3r3kV3X0Fjuy5iZzvbxMS0+FLCgmrkZ9mIs9B0tlSn00zSfqX6FMZXxUF4l6JuiiJx8gbkUDHcg3AmjAqC4bA== 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)(36756003)(5660300002)(8676002)(38100700002)(66556008)(66946007)(41300700001)(66476007)(8936002)(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AKyPHvFb7N5DQiKRWQdhXmErxZHtEi/C06+/RnecKNW+FIX0BHQQJQzBbMkhLIZGzo52Mo+bHOhc3qrDPtdRBOz9VgaKVjVudw6T/6JWosxvGTBNfI2Pgb9OYDS5oaYzE7IXTcsfK1zgtMxxaxmvpY9oBYrV7U1p/fk3OIsQ+RV3nIUd/tyLaUr2xRw1FHkTU7D+XZsJKn8L6B/9oAcHrfxoSeuswLhD84DFTiVJHTqaMa3/LkkTnj1T+y0Ow57H2jbqt/H23bVqj2PIhFEV2WqgcSM1u2V9LAypoWk69kt8jnQ7ccJl+3aG8cYxT6SkVn5OO+gy5TGG2vTl2iUGhGcb1aH0ctAXLqINMbufp/AsAfsKVk9cm58W+s/KixU+9bDNPhv9xnP3siNwHtSfPdkvKSuLKqHTw/Jty2mtnpulWxFLe63/n7B4ShMK1VHGyaUhoXVL9R+fq6FD2ue9gcsmpZ5Xe6tnhKIwBToVJrQ6AmL+fli9PcNwUf4Huh7OyYaC6Z+MNRJnt4KXReVRW/Y86vbHbjWuXbz7Vh6OWr2jmPRoDZi3Jp/Zq2j7M/wKS0JMPQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: eb171a6a-726e-4fdc-292c-08db14ce898c 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:50.8883 (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: VH02kARxtBm7ldunHrkYaGw6NqIpihwZ1YK/P2AHeWCn9kkcJHPi2SItfyJnk48HAiG3BeC9W+J4cElORlj7ZA== 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 malwarescore=0 spamscore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 adultscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-GUID: KF7kFIyct6sBE7x31_736KwnDc0enrze X-Proofpoint-ORIG-GUID: KF7kFIyct6sBE7x31_736KwnDc0enrze 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: Daniel Lezcano Cc: Thomas Gleixner --- drivers/clocksource/em_sti.c | 1 - drivers/clocksource/sh_cmt.c | 1 - drivers/clocksource/sh_mtu2.c | 1 - drivers/clocksource/sh_tmu.c | 1 - drivers/clocksource/timer-ti-dm.c | 1 - 5 files changed, 5 deletions(-) diff --git a/drivers/clocksource/em_sti.c b/drivers/clocksource/em_sti.c index ab190dffb1ed..728bfca11d65 100644 --- a/drivers/clocksource/em_sti.c +++ b/drivers/clocksource/em_sti.c @@ -368,4 +368,3 @@ module_exit(em_sti_exit); MODULE_AUTHOR("Magnus Damm"); MODULE_DESCRIPTION("Renesas Emma Mobile STI Timer Driver"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/clocksource/sh_cmt.c b/drivers/clocksource/sh_cmt.c index 7b952aa52c0b..81a9f35d5744 100644 --- a/drivers/clocksource/sh_cmt.c +++ b/drivers/clocksource/sh_cmt.c @@ -1179,4 +1179,3 @@ module_exit(sh_cmt_exit); MODULE_AUTHOR("Magnus Damm"); MODULE_DESCRIPTION("SuperH CMT Timer Driver"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/clocksource/sh_mtu2.c b/drivers/clocksource/sh_mtu2.c index 169a1fccc497..dd19553ef0b9 100644 --- a/drivers/clocksource/sh_mtu2.c +++ b/drivers/clocksource/sh_mtu2.c @@ -530,4 +530,3 @@ module_exit(sh_mtu2_exit); MODULE_AUTHOR("Magnus Damm"); MODULE_DESCRIPTION("SuperH MTU2 Timer Driver"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/clocksource/sh_tmu.c b/drivers/clocksource/sh_tmu.c index b00dec0655cb..0641b5bca75b 100644 --- a/drivers/clocksource/sh_tmu.c +++ b/drivers/clocksource/sh_tmu.c @@ -679,4 +679,3 @@ module_exit(sh_tmu_exit); MODULE_AUTHOR("Magnus Damm"); MODULE_DESCRIPTION("SuperH TMU Timer Driver"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksource/timer-ti-dm.c index b24b903a8822..1eb39834bad4 100644 --- a/drivers/clocksource/timer-ti-dm.c +++ b/drivers/clocksource/timer-ti-dm.c @@ -1283,5 +1283,4 @@ static struct platform_driver omap_dm_timer_driver = { module_platform_driver(omap_dm_timer_driver); MODULE_DESCRIPTION("OMAP Dual-Mode Timer Driver"); -MODULE_LICENSE("GPL"); MODULE_AUTHOR("Texas Instruments Inc"); From patchwork Wed Feb 22 12:14:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149090 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 0085FC61DA4 for ; Wed, 22 Feb 2023 12:17:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231821AbjBVMRw (ORCPT ); Wed, 22 Feb 2023 07:17:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231976AbjBVMRh (ORCPT ); Wed, 22 Feb 2023 07:17:37 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF6FF3B0C8; Wed, 22 Feb 2023 04:16:25 -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 31M8xFie029564; Wed, 22 Feb 2023 12:15:58 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=L6EaaOhVreH1kplkXI6IAzfq5fr/kIPICDShG8yFjFk=; b=oTxs9EfUwaMn7yCap2ahkNoC6UbRLMerY31ZxqgKDreLuxTCj4p4ElWbgXpO6U82BBuQ ohVStc3GFEI9MB39GsbHQZhalnkF1eky/NiR1xuMIC7d+pm3TF4jT/v3/iXSGz5Nz3hW OxMwR4eOEmaWwP50nw4iHUPCpwHC2x7+CmnilVGzwcV1gJ+d8fmCJhFt5m1wwMypODNF pTwXOhbbOAn/0uvLtY6zJ5enxlzm6+9jp6+Pmvs44v3WLJ+WlVbQCE8YYMV+JPj9VTJ0 2d7KmfLiqjKz8dnFP46IyODajJaxUnKFsjlTplt5bLJajAP/zwKZnVopChCo0+Ie7e3v HA== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn3dqqdk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:58 +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 31MBAucs027301; Wed, 22 Feb 2023 12:15:57 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2177.outbound.protection.outlook.com [104.47.59.177]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46qyr1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TTkBX1N7/vgfySNmnCLMF2/eZ0CPIqbdcZAGq/f5k2Z3XuFfAEim5+nXclKQDumymKJ5Tg3qfVHcArFB8r01TLLp0+pRXiAB3z0hTgsf6G3q+vs52INcRvAu+z8EnEWyF+0feRL3KjIomTXDuKjlMeIDRPXh+5mz20WNkKA/qP4tAjnOe2GDiu/m5cSsJtA9jIWBrOdQmtkTh2Q0T4Gv1vgkY34LlDRBxbatrI9uSDzVdC8ZeexgYGnirbVjYqybvAnlftARFjwy9HO3dm0iyZsOOPk0dykeWXVgoITh0VuWQ1yrV0QZwhLR9RhJDhRsUMydywhce2SsGF9tx8TfDw== 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=L6EaaOhVreH1kplkXI6IAzfq5fr/kIPICDShG8yFjFk=; b=O8q4wgT0tmydr1TeGm3cbghsk+rVLVMApB/f97+ys5nqb58RfPDZ9pgsqrlnx/ovPBxxNdYWjTjGupCqbP3+s698qbGBcWPfBwm+LHXsAiz0G1Q1V8dQ25/LPDnDAcc4KtBXOMB7WQ/uGAx2RhEtdhyV5qJ+rJcniq403dH9q2klYHGDp34mpQRpeBi5d6ZnxgLy8c7YoKqDErPEWnJ4W/dS0jLthFyhSMB1mwno1eYDRIWuoKKuQdlmdvjxROGyPcYoGcdbz4D7RGVjEmqDYMkPnwCcya2kqOTGPJRK0IDwD4LQnupzYWJBMt/AMHMtCJUkQXsQJG6E4OrWuCiv6w== 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=L6EaaOhVreH1kplkXI6IAzfq5fr/kIPICDShG8yFjFk=; b=qY9EnoqlOcHBk2kBf+WugHyeIZUBekN8go68KV3AR0mUz3pr15Dm4SXMwrQN0GK9hLKusPqG/qrRsqj6no+N9aUJ587trOUP0fDi/dzmgGcKu6YiCLmYdnWpCbcGKWwsCvOgiBCXE8zS6Qqd2NEyh+9cYJi0eV+7z3FfyLNgdwc= 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:55 +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:55 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Michael Turquette , Stephen Boyd , Florian Fainelli , Ray Jui , Scott Branden , linux-clk@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 11/27] kbuild, clk: bcm2835: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:37 +0000 Message-Id: <20230222121453.91915-12-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: LO2P265CA0059.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:60::23) 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: d66c9306-5c38-4fa6-2b19-08db14ce8bff X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: l/VB7D+kcH71969uj8f27nEhVqIbKUAfptc9CgT49PiAWR+Y7+YrRc5CSnVcQORgqDQGhFdiewhEZ27Oqs+8gPIppXEuq8PLhhT+TpiGFvfNf5ayki7E+M8gTSgQTP36wZeZuGDU18YW659xl1WqAaFtR//3gR12LfYMToVa6FKy0BpoGtKO5kdRq9dk/xFa6TolKqopXYsdhtVy5R2hcGVbMYEvWRBspM8PnRW+HsGrsHzkngkOEc3BvI4SCTmeDbSgr6Ixw1FFKAuvJnIP5Mj4dkBJEgRj/8Sg02pgcjo9w41zLFZSOLSXI+WHzWBxmrMLomBTKIVpZnGVwz/0RrSKtRxdjjJcUMP+iS0J9ulfWMHY5k3nwxuDt1ZYEYpT3cnMgTB0s9ZGOtnVYh0moyIfXvr9yO8VRzckAYXYzIsiZve8xg0tJfDO6vvKwE5Jml/1SKGRGGKu+qda7Ay9bQ6AyjUsa6s0eGpRpMkTT12ly013lScJWOL0ClKsgpTj5bZKfOdRnV6D/xkv4iMVbtNMA/FWOHtRyd+V1VDmhufwAxfF37uqePKEGHWrbeoNemIai2cOjNNJAY+4m3ANduxDrSPisfyIuuy5xSQSZjmvz2pXqYme0qoKgwpQXgBw3AMYymovD/SW5VkILmwoxg== 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-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: WOXjvCfsGec33crg6tEat6RGEgHLiLDyvWb4cSAHASCGX2JDG6YCECWiZNm2DKA80HtnWmjxXQ6oAELAyNh7KtFHXnatAPOk8Rel92pKsObKjMmbkMi9TPfH7xeECAMcHAjVy0AspwWvfVDNiQDZ2Z+Vcs3h7VKpfMY1sHK+XyXBy4uTz2KKDWWUd7BQtkkdPYP6HafJiecH7OfEjh8F3g7y3WAJxtiaYRxp511sprcRgK6SNsol8Hv9H1lrgut2ZGstwV5kuqMnQsxwhjY1x0qp54wwiukKQWlt1B6m3iignn/u80dHv0P3+/qI0LKxWH99MqZgN9nZHLq4DrtoOOCqIQmkmPaRfvLV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z3s0nhrEbipffUFdWo1cntHgEVffFAJCjrk6FaRW0ByyfTXpnAETZI/Ff3ud8HsKxRnQESyOz1AeQS22wx0j1uUax7klwCbgu4ME7w9n7z2dYGSSLTDPvvYoP8J4P0byiKln7hN36KWrPHmhNkxugLgj45t6vG54HMFcHaPzgFAXR1vfUEcA19I61gVob71a9+u0BnG6hHUb/WiIAWkS44= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: d66c9306-5c38-4fa6-2b19-08db14ce8bff 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:54.9819 (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: hLxYdFI9dI/OX+pfb6N/3VXtyqLUzH3Eu8tZFe1oLLHGlnH2jYZweyfhTkvJduattbgh3ZxDV3EntP/RNOIROA== 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: D7ZzeOBWGOXnKjlyCmjvtBZxZvU6DuaS X-Proofpoint-ORIG-GUID: D7ZzeOBWGOXnKjlyCmjvtBZxZvU6DuaS 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: Michael Turquette Cc: Stephen Boyd Cc: Florian Fainelli Cc: Ray Jui Cc: Scott Branden Cc: linux-clk@vger.kernel.org Cc: linux-rpi-kernel@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Acked-by: Stephen Boyd --- drivers/clk/bcm/clk-bcm2835-aux.c | 1 - drivers/clk/bcm/clk-bcm2835.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/clk/bcm/clk-bcm2835-aux.c b/drivers/clk/bcm/clk-bcm2835-aux.c index 290a2846a86b..0fafa5cba442 100644 --- a/drivers/clk/bcm/clk-bcm2835-aux.c +++ b/drivers/clk/bcm/clk-bcm2835-aux.c @@ -69,4 +69,3 @@ builtin_platform_driver(bcm2835_aux_clk_driver); MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 auxiliary peripheral clock driver"); -MODULE_LICENSE("GPL"); diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c index e74fe6219d14..8dc476ef5bf9 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c @@ -2350,4 +2350,3 @@ builtin_platform_driver(bcm2835_clk_driver); MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 clock driver"); -MODULE_LICENSE("GPL"); From patchwork Wed Feb 22 12:14:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149093 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 022E6C61DA4 for ; Wed, 22 Feb 2023 12:18:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231856AbjBVMSM (ORCPT ); Wed, 22 Feb 2023 07:18:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231946AbjBVMRr (ORCPT ); Wed, 22 Feb 2023 07:17:47 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49D1139CC4; Wed, 22 Feb 2023 04:16:48 -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 31M8xEkk029560; Wed, 22 Feb 2023 12:16:01 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=N77FyshD7+elqGy+wtJI+TxNXB/cysj/7vXXeaV4hC4=; b=dwNedKsduEBNPnph8tvnI7ZAdm97oUWcicSLS3bCXeD5Ax4kW36TFczWX6olQ6yj1aYu xaSJ8Kab6MfyVRVfUT8dKEz7Zu5/grrOZOKOZOBItTwIjVzm2+Uy6upX/znZah9f9UZN 2lrB9WwGbl+yDJNpyyfW4d+AMVaN+TPSlmkYMNt+eH7YCFFsH058/MCHKedL372gKEVl CaDIx8KnnFXklvTrqBb0gNgBO+KbZfOG4FeUfJacrUuNncxu0q/bExWRe6dsaujT2lEi 8JdpD7Nk5gOi/26umAmkSJw8AZefK/r0ByMn+RJxNo+jOzi9sPrADY76KntX/uPWT1+l qA== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn3dqqdq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:01 +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 31MACWue040932; Wed, 22 Feb 2023 12:16:00 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2174.outbound.protection.outlook.com [104.47.59.174]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46fvtd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ARVBZ/EGDBprLXVlOXTvrfldIneIJq+OUxYTCW73+JCyJkXtoiTynFCuFOoVl65aw3clfb5Fvg81p6jUS+wEtALdjuQ4RbNzpJ4fL+cdMXfasF+DVkYhMHV7AAqNnOj8oUm11SPqk16uBKGoQvwOEISeiBVbKppgokAvQy2DHzZvsy9HUgVJWlM/vm2Pd8BFDP2s+UlojWF4dktngJ+lRvb+mH6Ke1B7OiM/G7bkfgWbxL6KbuG44iyQZkHWW3WzXZY8mM3kRsGRSk7i6gU5VYIB8rguPdn5cUuPl+qtlOgot70DThfJ4zZ2x+xQb8skhGKLMQoraxRsNM8MLGoZhQ== 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=N77FyshD7+elqGy+wtJI+TxNXB/cysj/7vXXeaV4hC4=; b=YfMGUwGkzRRqFRGnC3t9zsfIIWY8RfoeA3OzOml9l7qGroVquCRlYTDZuyz6jpzoja7DlMPWisQKvD3nib7bHQ03Vp/MkGyN2Ej4Nesx8ugMB1106aR/yFgomaj2f12/LHrP9oOViNDSHgymSMCv1F07gfTZ5H2snIjD12VbBA2eDsZvfwmIw+Tb653FA5BdfA0RHbGZvmIRPnRzXfQ383PsP7PbcQya8am0NFh4VenKCvd6fX4sYVPQvW/ANjQPdD6KkXz31c+C/8ARB2q+Ek30RLDt9W89ExHFibCnmA+UdBDZcs56Ck1iX6/5uh1R2EzAjBkNkKgFLcUUU7k3+Q== 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=N77FyshD7+elqGy+wtJI+TxNXB/cysj/7vXXeaV4hC4=; b=gEb2YzimAYGLUkDb9RDWr6kvLJgOhRiZh0JGAO1DymUUOKRn7DXk7xX6cnNQwWYjKEBDvLJF597c0XL1nm1v3zLZO+THeZEZbExXi4etHBdtWMXhT9W5ApUfTbKFi/AdUc5gb0ziP/aF50k32JVjfYbm4I7Sju98i2B48NHbjzw= 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:58 +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:58 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org Subject: [PATCH 12/27] kbuild, clk: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:38 +0000 Message-Id: <20230222121453.91915-13-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: LO2P265CA0059.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:60::23) 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: 377c9ae7-7d18-4f81-b79f-08db14ce8e1e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ynycHiwZbGYktgf8lAUJksYUlR8DIfw6XF7t6otpFgLunc0cMS8c9HuN41FI8fQ28XKxCGnQhc1o+he7wfMErmiei3GY/Ty6MoGrXztM2N+I80vjA2OSZ2Sa7YhWpFvrjDycnHznvqXFnqusm51VJhnQ+Sy6EkuSZc1awivOOeKlXYjwVq6QD8UWSJ62i4t9hcUGUUWm2C6s0gGQ57q5jU5I79PlsUc1FoZvYnuRU25KlvfVWRCwDfMu8b9HO24V658r2pnaGmoHM8hsUBWtNh85Nhg+MeHiOLIm0SKmPDq+hl+PXy8k2JZkhxfYc72GQt+FCFWYvhefPJMZKb64aLun+0m6e/W4bn+F5x3UsWHV3z9WH4G9LW0IMltDZgBF7uasYThRSmGmTnY2r/1tY50sii7+cMooKAFEPlcJrL2wQyVSooCfajJfLwNeRdmB76E2t3TD9kpG/n/yfgWqZBWd4Wj5edol0wfVVlZ3d6zQFS92KzlvnP/IAGHHp58ItM55AiQTufAVpXX4usDWEWUlEEDZW5gxozYu3R4kouShDEkUMBK/1CYZjzArpoKlNDQ/R9XQmsJ9JFk7T5Bmvi+bjihYL2+HYNrc/7qfM/7/+xB9u1xQV1FPl/5VSCeBc+26JQM9U1Kv+kH1/QDbUw== 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)(36756003)(5660300002)(8676002)(38100700002)(66556008)(66946007)(41300700001)(66476007)(8936002)(83380400001)(6916009)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: k2rCa4RFMYEWMCFlYgGgjmrTBZxsUdoB0KK9Pg845MhemDZ0GqM+WwTzdPvOSMYIfVbJ/EjgjDF3iuPkGo0SbT3ERDkqtwCrCe9bbAS6zVGj/Uwuws8gYgGSUOc7Fq70EjcXXilz3CZyYIaL9QuQ389vpupTrn3LF1Y0FatLDJbPRav8njiO3Ig5eSyOKIpwSMB53eqK1MPCNprub+T04499qEOdHKJYPf/yF0GbnspdMPbkh/Jn2EkDOwEeUfm5s6cK+KEIEkAzKiL87gw8w6v1bEMjoFLPYGiexaNVVPaPe0C8OI5x4aZmLuS+BYCUSHw+EFme2ieB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v7pN56C6FPad2rJr/pcmRjP5cZaQe5HADYIsZh0FggKq6vMoWQm9OFobEv5rE3THVkPWu+ujlrxd9SuPngjauykAV+xrDK9P+EM18W98kNY0= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 377c9ae7-7d18-4f81-b79f-08db14ce8e1e 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:58.5297 (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: o9LAoT2hETHl+kiHujwGaFfPvtE3dTt2WktxdK65fawHxwtrLNej3hg+Y03flXmNRCmP1hSkGm1/eSoLB5sGIQ== 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 malwarescore=0 spamscore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 adultscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-GUID: 4Hl2DRw4MBacxJZICm7l_Lk1QCSY4NNp X-Proofpoint-ORIG-GUID: 4Hl2DRw4MBacxJZICm7l_Lk1QCSY4NNp 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: Michael Turquette Cc: Stephen Boyd Cc: linux-clk@vger.kernel.org Reviewed-by: Conor Dooley Acked-by: Conor Dooley --- drivers/clk/clk-fixed-mmio.c | 1 - drivers/clk/clk-fsl-sai.c | 1 - drivers/clk/hisilicon/clk-hi3559a.c | 1 - drivers/clk/microchip/clk-mpfs-ccc.c | 1 - 4 files changed, 4 deletions(-) diff --git a/drivers/clk/clk-fixed-mmio.c b/drivers/clk/clk-fixed-mmio.c index 5225d17d6b3f..8609fca29cc4 100644 --- a/drivers/clk/clk-fixed-mmio.c +++ b/drivers/clk/clk-fixed-mmio.c @@ -99,4 +99,3 @@ module_platform_driver(of_fixed_mmio_clk_driver); MODULE_AUTHOR("Jan Kotas "); MODULE_DESCRIPTION("Memory Mapped IO Fixed clock driver"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/clk/clk-fsl-sai.c b/drivers/clk/clk-fsl-sai.c index 6238fcea0467..ee5baf993ff2 100644 --- a/drivers/clk/clk-fsl-sai.c +++ b/drivers/clk/clk-fsl-sai.c @@ -88,5 +88,4 @@ module_platform_driver(fsl_sai_clk_driver); MODULE_DESCRIPTION("Freescale SAI bitclock-as-a-clock driver"); MODULE_AUTHOR("Michael Walle "); -MODULE_LICENSE("GPL"); MODULE_ALIAS("platform:fsl-sai-clk"); diff --git a/drivers/clk/hisilicon/clk-hi3559a.c b/drivers/clk/hisilicon/clk-hi3559a.c index 9ea1a80acbe8..8036bd8cbb0a 100644 --- a/drivers/clk/hisilicon/clk-hi3559a.c +++ b/drivers/clk/hisilicon/clk-hi3559a.c @@ -841,5 +841,4 @@ static void __exit hi3559av100_crg_exit(void) module_exit(hi3559av100_crg_exit); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("HiSilicon Hi3559AV100 CRG Driver"); diff --git a/drivers/clk/microchip/clk-mpfs-ccc.c b/drivers/clk/microchip/clk-mpfs-ccc.c index 32aae880a14f..6ee92c7925d7 100644 --- a/drivers/clk/microchip/clk-mpfs-ccc.c +++ b/drivers/clk/microchip/clk-mpfs-ccc.c @@ -293,4 +293,3 @@ module_exit(clk_ccc_exit); MODULE_DESCRIPTION("Microchip PolarFire SoC Clock Conditioning Circuitry Driver"); MODULE_AUTHOR("Conor Dooley "); -MODULE_LICENSE("GPL"); From patchwork Wed Feb 22 12:14:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149110 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 7B06CC6379F for ; Wed, 22 Feb 2023 12:19:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231935AbjBVMTK (ORCPT ); Wed, 22 Feb 2023 07:19:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231784AbjBVMTG (ORCPT ); Wed, 22 Feb 2023 07:19:06 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7394738653; Wed, 22 Feb 2023 04:18:17 -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 31M8xokI029999; Wed, 22 Feb 2023 12:16:07 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=TYxiSO+DpfpDCcYxv5sIYzBoPGCJ6wmgiXkP2Oel+eM=; b=x9u2H6vtW0G7MqZTh0YEMU2D6dAFsotqT1hgpzig35NYuiz0NbsoX7oCyb7vnwZ2UxCv 1ES6uYtaPbBMcLcWkKEnTjNsb28Ld+ahSyaOr4PLXPl/jI/Z7KgTR6rn+25y/AOFpu9/ U18lFQWoQkjvjdfEcCcLp7T1FyBCsuXHowQyoE2OETAZu6Q6nGl7cEBSL73mFaVETgZy iZI+zj3zGE9gsTL6pVjH0dm0bXZ5nFZ9MZcoZqLBX+ds4WNRHsvEfN6mc7lSpJcmjuA2 oLSwmhjluuBdNysO8R3LjVi3GXUfTtOrlsQarVUUDTQXS3W/jLoJJAZ9guG9oNdMGeDv vA== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn3dqqe9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:07 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31MBaI6P012903; Wed, 22 Feb 2023 12:16:06 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2169.outbound.protection.outlook.com [104.47.56.169]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn4dtbq1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G+3XAMsC2uVX3CpYRX93u7DtZfPjhTlidtUyfE9Nklpfxo9+UD0D+Mr5ep0PyWD9HM9Nb59plukJFhp0qB/Pm9vJtXZbA9NBEsj5nRL8F2SUYDvuG5q9d4GF8Lu/YPCFOV60MhiuEUtgF4zZkt+jGOD10a/m11m0PEzJkeUjT3eRLdZzY3x1WJpOz4OPNb9nMufjIj3IpnqNyiE4hUgaxcnKCjElR+t0AOzsPNDNBQ+v/dvIBfSHHQCrvJ7rXa6fPf3CcxmuxubkyA5zxpVgr1RelM0dp6FD8JZTf3W4qnsnCozHuIMeGPTD+1xnvi5HlTE0ZerV7L0cKkSxg8T6Xw== 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=TYxiSO+DpfpDCcYxv5sIYzBoPGCJ6wmgiXkP2Oel+eM=; b=JyrsceS9kWFCq4oD19MFvCpISsFmxThf6rtMY3KQ7SRBrmiF7uDuKWKN6suCcVU4uUgCV8gfa6weINmF8hRe2cYBi1tJMRohVuhHObpVQ83uhaNdYix4Id+sK1IoPhCyHQqfRQIbt0yi3cEvrT6gFtA/sV8RNpa/+8lmmyi1Zvqq0WE58hQTdysKQsMQn9peiUaMKdctSb1y/s13koVk6f7/sTc4Uq/Imh+qLXdN1BsCmI7HfYvqw5eaw1lTlhyiv8ZxxXKoyvwQYARe7n2th7u/iZGnS+MkY1Nsw0AZqhsAkW6HoY0B7WTFwjrC5vzhei+zSB4ochhnLiir04zcaA== 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=TYxiSO+DpfpDCcYxv5sIYzBoPGCJ6wmgiXkP2Oel+eM=; b=GHmdgfWWbpe3EEpZiD6QQywfvLt9WR8tGh0+sC5mB/RGgRXzuVKR6YSJyHXfQDmOLFvtwH3jAm4kJ+hZVBAEXNW3kjxgQLRHtbf2MtFKFuHw0gsNv5zNvpDvLx2jkVzgvaShHQUSP1haFRbVOanrGl+Ce87DrFsI6m+vtHXDgXI= 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:16:02 +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:16:02 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Greg Kroah-Hartman , Helge Deller , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH 13/27] kbuild, vgacon: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:39 +0000 Message-Id: <20230222121453.91915-14-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: LO4P123CA0507.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:272::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_|PH8PR10MB6412:EE_ X-MS-Office365-Filtering-Correlation-Id: 521109a3-31a9-49df-878c-08db14ce905b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: S+9Q8aco4/lov1uIlQ8dD73AnbojautfLraLO+Cc87pF83DkOQERUbZsJxRh82/wOC6r8T8+6wYognJV59Wk+fAlGztdahWHXOX4drJvBeoUjSqZ5fLbOpcyhWrspwOBoPhgHkgigrLotKh3dL4OEhd7wOCbMaJmM5hkIvx8dei4I3o7c+ImI/Vqv5re4dcbiGlXKl1fRoVFXKL9JsoahL4nW5caVk+kDGXIev/SzJlwoL9DGgc5GUZdDmt8Iyw3Hrw4ZU39ZQiOCGwrR+fHgV3IXVDtaU6g4G86+y03+6dNZev/A1VohvWGGlwkI4j29Fn6lOZZJj1XuFexl4N/DFs6CzxNJ/EHS/qigig+sqNGxDDO5K9HA1jFhrB4PpwQdHAjnNUKtzG3cF2vUd5ZoJct6pWBStG+QHJg2Gp187wotZ0xvkUVW+vSRk0IJ8JVSndG0DxMYBmbf4nR39pHQenvrexYONBM12kqlUJ9+wsNzi+ynT2I7S5xfbHt9csWAAVOc/YjCK1Dz/cBUIRJFmBaMbGigGMnecgbC74z//FN6eTu/aVkR0xgVLY4DhdV7HmNE9dCfhcvvSswFz/3GMo8GfNIIzkPKOpJT+mqc/uOXJspaRd4DnrQCCS0ROagcww7KcNpbBdv8PMPkZ9Wag== 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)(36756003)(5660300002)(8676002)(38100700002)(66556008)(66946007)(41300700001)(66476007)(8936002)(83380400001)(6916009)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: o3yD/ujfelHmhZNPbrL9paXnOV5eqkDSLGqz7n/zNgn7im8UkQ1faQWqSI0YdLSx4miO862li2uedUMu83ljCWhkKamSlcI4YZJd/uWeZ9K4m9r5uBycvFpD6bStvwlhRRze9769mm37LKYGavhW4EMNiujiEU3Xb+OoHVv867rnxbxqqh2o1sPBi7x8RxA3C+RIyrqmDF8i9m4jZtaAnMF6dhE0nKI/5W0/pHtE19TVlRoyu8YMYhsNTXD39M/CBfQOEKuFRPt6yho0ip+AWUmRw66t4f3yKC6nWzwRN32k5F0gPJJfbgFnHGzigFkNavkZoGLjz8axUJujtfkwxtaleVfTOtRUT1MGyGY200woaL4uilmmQC91sngpTqTlPc3oyFo6kGqpvzTVWKSU+iGsjrMVbDM1Y2/8+KvHptlGdnH936ixv1cGwDYlwZQ5SZRShKBsHV3oXI9p6MjiI358BZN6+9v+AENrohANKuMePu00DyVzs3mgCS2D+bKVs9Fb9X4qazbfhhbS5Nv04343nuQo7LEd6Lr+2R/kHUxPtlNZaLiT7FFvGFgr8jRBprvwjiVTme6XQFJfxlagRNCRnFl0A6HWwOJ9gBL/hrT7TuCcjOP4xLpVB1oUqYVxR9xSbUqxiU6FiDR61XaNaXhjhUlm+mZycZsCLxCKKhKrTQIWZeNwm8cfa+iQ2uDstoRdpAjT3+GFBiKoWVaVPzs2ak14n3n14wVyHahd1QWL++ZwjC0wMOpBKk1Ge7EodUIbzDOBiW/bZRAnNG4XWD1ROMLRzXMswaAFJ2kRdEWmYAi5NcaE2cttXh5wZXt1TulO+hJhylFRauiXP0r4Z1dWTSn6icPsTLsWUJDUP2lfUWpbT+4Xqv41lZssy3SBCQl7HyMxg+9bnO6lsPtOP2OceRcYxKBep/UEfvTTFsJ8UejKXE+XqfmN6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WOQOWQnic/V2JV9t4DCVe3E7M9yL7vHIRhS4+vqovWAEAy30RTAhEXjj58nJOf9pQwwOqoesT8LORG162zBl22C5q2DnWMqLzHkkUU51rqmZeNcjFQtTpdrpYT6/8aMv15fheVqzMCKi+yVSbvq/Vyx3dXT9N60KFrlvyC4bgIMrDdPIMO238BtefE9xYgPXY/70P/V+Q2jG7owxuiLVCyg9XDq7l9gR2fmbzpIx/Sq6TYK4YQPzYoTO/IGxtvCjHQRGCVjJkZbhAK0KlLPjA1/X3TTzlPJMmmOSQVsqk43mdMHuYaqrlTl251kHKHI4p+Lz1dijs+To0NU/bdQ0upMVqWSvCb0ywxUwnq5IiI2sipDWFvIxu+BSeDcJ8rdUHoCt0RmsCA7r/QthAv1JSED/jYK+KpT/4gqs2SNGem3X9zRZ5bMD6/T3rj1OoaQbXjnBIB6CflRT6Ra7ir+Q1I3q67gNm0wCTfzPbW3Fqm4pn8ZiJkmQFaA00VstPS0lMOWxPMRncW8XybwNluPlUjVYz+0CbFKhRQbmqu5Yxudp/O9JwpUS0fqc7KvX+U3IpIEC+FUhrVHWTK4cG2GpFc65VrIKcGGh9/KDj0sbisfsA5SlhR5wJtLAF+Y4IoeOtmdfQyZLtNoXXtRYKyBLRvVJQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 521109a3-31a9-49df-878c-08db14ce905b 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:16:02.2043 (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: c3orK4rSwVihI/Y658CwFUm31Il0oMDLeEp/rJP2xN7v/f0StGs0k78vY+R9G7eAOJb4Io3n3cPA496yLNZ0bQ== 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 bulkscore=0 malwarescore=0 spamscore=0 mlxlogscore=999 mlxscore=0 phishscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-GUID: PTIHjmNxRg7e8XV6KQMcyIdJHbzp0VlQ X-Proofpoint-ORIG-GUID: PTIHjmNxRg7e8XV6KQMcyIdJHbzp0VlQ 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: Greg Kroah-Hartman Cc: Helge Deller Cc: linux-fbdev@vger.kernel.org Cc: dri-devel@lists.freedesktop.org --- drivers/video/console/vgacon.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/console/vgacon.c b/drivers/video/console/vgacon.c index fcdf017e2665..8e13af1f9042 100644 --- a/drivers/video/console/vgacon.c +++ b/drivers/video/console/vgacon.c @@ -1204,4 +1204,3 @@ const struct consw vga_con = { }; EXPORT_SYMBOL(vga_con); -MODULE_LICENSE("GPL"); From patchwork Wed Feb 22 12:14:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149119 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 F0052C61DA4 for ; Wed, 22 Feb 2023 12:39:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231429AbjBVMjW (ORCPT ); Wed, 22 Feb 2023 07:39:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230440AbjBVMjV (ORCPT ); Wed, 22 Feb 2023 07:39:21 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 082D42709; Wed, 22 Feb 2023 04:39:21 -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 31M8xHEP002728; Wed, 22 Feb 2023 12:16:10 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=RxG6qkKpenjaeCQXI0DrkzFZCGFZpX5/xGj52ap59zk=; b=p5PRrOsBDEyX9FQDw3RHXwuvAWpVSKx2OJmBOC56Z3Hmw2WkW2xqDC5cvNf4kGfelCGR 4nbogl9B4z19OWL9FU60tcDGPY0ywTrJe0+sjYLSXwMUI4ZJjD4C6ZLXHKrsX+Itt2Ab y/wpPl3EKnCfRKLZ9lwKgl+GQ48pr3/STgRAtbzXsIQIwssd5GfXUwK+pXKW0EyZsHGM oZX6ZAHWajc+Cc+rT0XghpCtLC5F9TQ36vFS3RpKKoJKbg2vbZzkl2P6BFb++6zLtcO2 ZZByNGZl96Ymb4c3fvqkBYdlT5MYW4NZ1u85zgYtd8uZFbMNztY1OkaQ6borg5WmekvD eg== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpja7n8s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:10 +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 31MBVZuk007051; Wed, 22 Feb 2023 12:16:09 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2174.outbound.protection.outlook.com [104.47.59.174]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn4d211r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Uvllumb2N7hWv0chzpNt0i4lHz+/gd8TfRvres4hRBVj+oqbsADqVnpugWM5QhPS5jilTuzE08Ibs5EM0FLBbwTBzzMq3Vwk1gm+bTEVpoIYsMhO7n2Vp20B1RUbYF+gIXoqN/QUhRiygIABJ0qLdU9Ak/zqei6ZZFfqn3hVQOZX959J8P/+qhCw6sC7hoEB52HRYbGzPWPSjwlXUrEUvGYQuPRR0JtDYD0Pa8bRbottj8mdLclVvUcOPywLMvC1dLxwPXIFHcNX6m6txJ7X8umA6TjKscd0oJdWMYTvCfxCxKN3uI8odl/jLEeNCjWoY6c2uVqr84ELxdT3iUWpbA== 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=RxG6qkKpenjaeCQXI0DrkzFZCGFZpX5/xGj52ap59zk=; b=a9sIob4BlFP5c6lnPVShjCA+UwWFZrWhRwMl5z5ZoaNmK8gAILz/X/SdKrLp++fVzWo31U/lest8Nzh/6VKKPo2DBwzkoFOSl8HZvhRfrbJwE+Y7h197hVH0TKd+WwYmOFfpdO3yvflb4iaB4SZZFKanob3qhBGN9P2Uj0B3kFiM7UKZxWP/eWhXzww/LL1RHD9cqD+hRUK32slioKSY+tuffXJKkwbOqn5i0YMVo2G7VZfYbxbPbTeUaJu16c2husyYZsdMc8p+TRta9R8b+mmvUhokamnI2poJU1j885YGk5kMoCYbu+MM+hBbQJU9LmmSugZO7TQNTWehB+fizA== 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=RxG6qkKpenjaeCQXI0DrkzFZCGFZpX5/xGj52ap59zk=; b=mYLqKntIm5uiXVwUuUGJEGvjOqLf+vIGxnQ5VAKgFZ5F3ckXusfEJPXo465XgHu7NIF8sXD3UlSHH4HQvrRzPkRjnhkWtwx4vq2aH5Y537nNHA8dI59lxF88bdlvJTirn6jyf4B1Ga5ww+kZVoFoEKYnyIRZ0DClQv6HaDBrcV0= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.15; Wed, 22 Feb 2023 12:16: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:16:06 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , "Rafael J. Wysocki" , Viresh Kumar , Thierry Reding , Jonathan Hunter , linux-pm@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH 14/27] kbuild, cpufreq: tegra124: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:40 +0000 Message-Id: <20230222121453.91915-15-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: LO4P265CA0276.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:37a::16) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: 019b094f-78c3-4eab-e93f-08db14ce930e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pX+2wStaY0yQdxuOn52+UoemkcGx0nyf/Rey89BG/fP615hd/GNjyMd92OaPDmGJ9gUz1uFG5dGejkKkrtL/ic4rjUejZbVTdJkutPI33jvAmq2jWOHhFY4II/uisaEmAMCayook5rD8xBw49+MPNf8ivINWOWFxQ9Qxzk0MmjrhmfJlyWJ+ZZC5y4kGz/AmyKkGjKrwgqqNYTPv5RXE+3JtHRfbJLwkpr8HC6nia1RFv+mKybmpZLoO9XOL4WnctLMe3gSGczrXngBOCbGAa6vdKQ++2J8Tr4ZcwHNQAtOdqlxLQCWmw5Dzvgva6tJoQSfi3MS0cc/hpe2T9JcndnypHyP3zO46cG38hSWSw8AePuE/AbcZQhDH+EN33bRhOqGYz899L4wyGutJkIX48EliHzsIHGEFiKNl+5H61PkCTEG9FMEzZHd3f6ajQmjQ4YTXvNGQs5WK6sW5/vZbXSOjPK6oXZ63wLUNkhYS5RPc1dOkgjgZXVgeWsrLL5AITI3b52Bk6lZBO1mCMVMaNCwBem2yOhUpuWDHFysDGa6IoYb/46uFb9uRDhbZ3iMOOXsrAM3ppv6cBjlwOiE8BguHK8QRRUl5WExlBXRF1+yuvd5s+5Q/8f8SDnyublFFg+xGcf7ZCVpjPVJ70Z1YPA== 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)(39860400002)(346002)(376002)(396003)(366004)(136003)(451199018)(7416002)(36756003)(5660300002)(44832011)(83380400001)(2616005)(6512007)(478600001)(6486002)(6666004)(6506007)(186003)(6916009)(66476007)(8936002)(66556008)(4326008)(66946007)(86362001)(41300700001)(8676002)(54906003)(1076003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: LO7RLB00e7G3Aw3eQ8KFF9PQwDGnA9qw+6LAAI9RRnhrP2nPsJB3M1EAw0jQ17KdQUyp/fGHH3ud+WLI6ofiqBlF7fmF/n9o7XElIlegQTAaIFYeVTLYrAR0+wu1YN+nuejDEu7WvMRiZVFnFtKaKEzg/NRrvRxFsAOUaPn1AEhXWSCAE8puEl0ASeiTQ3H1N8SAUcwTmADexV2eiDbTJ/33hEMHg3xrr0a4lsJd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BcmZpKRQ1eh84BL2mRCh1Kl3ny3/Ja+GhLT8sK5I5RwUFCtBCftZ3gqht9CfNSC14p2BKc7zapnS29z6VxdAe26FM9z4l4x9RA/1Cz2OgYL3+vRLUFpF+gwW4cQH/nUqabi2GOTtUpSgNFh1Vc3zU/9CJe6ztUU6ZPAfe/nX44iH5ilOEHA4IldtI2pMtJM9uBkbGYwyHmMXqPUI1THopVrTioBWPrApPk+MaI/KB0vEqdG4tX5ByRh7M/78u1kLev5kqHZF/kg= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 019b094f-78c3-4eab-e93f-08db14ce930e 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:16:06.7353 (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: prYDNoR6mcJwrFUBBwbXqWs6cxasyo4qhTCqJLuZW5VdViYHPmeHTbjVmbJZruOfs3YPhhRLp7xACJ5bmF7ufA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 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-ORIG-GUID: kpOfAeJD5s5zqt915NBobWGhP_fERCRJ X-Proofpoint-GUID: kpOfAeJD5s5zqt915NBobWGhP_fERCRJ 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: "Rafael J. Wysocki" Cc: Viresh Kumar Cc: Thierry Reding Cc: Jonathan Hunter Cc: linux-pm@vger.kernel.org Cc: linux-tegra@vger.kernel.org --- drivers/cpufreq/tegra124-cpufreq.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/cpufreq/tegra124-cpufreq.c b/drivers/cpufreq/tegra124-cpufreq.c index 7a1ea6fdcab6..788672c0c834 100644 --- a/drivers/cpufreq/tegra124-cpufreq.c +++ b/drivers/cpufreq/tegra124-cpufreq.c @@ -221,4 +221,3 @@ module_init(tegra_cpufreq_init); MODULE_AUTHOR("Tuomas Tynkkynen "); MODULE_DESCRIPTION("cpufreq driver for NVIDIA Tegra124"); -MODULE_LICENSE("GPL v2"); From patchwork Wed Feb 22 12:14:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149115 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 9C566C61DA4 for ; Wed, 22 Feb 2023 12:35:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231789AbjBVMfU (ORCPT ); Wed, 22 Feb 2023 07:35:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231414AbjBVMfT (ORCPT ); Wed, 22 Feb 2023 07:35:19 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DD1E38674; Wed, 22 Feb 2023 04:35:18 -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 31M8xFih029564; Wed, 22 Feb 2023 12:16:15 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=grpEc1+NQTzecieoTcrCjDFvpZbOVv5h3vjLrw7wfSg=; b=uFGAwtUQ4nX/EggBQMLW2q06Ctzh1aLCrBGB7FPks2VxxPKeVrRyWnpcHhm0ESDdmaf4 C9LvQWtCVdJrLcEYjG0j3sKvLwlGG60uEPGuxEGNZ5mWaPg7EJOMIC8nfOyTKSJ50G+g OOkkE1QJTRUqjoSrixrTDLfjLeNhogrnBEJSzXIkgTq3J1Kf4/85LtnVKRiBBe25Rhk4 L3hjco4TVYXWhDJFHU1N+cjw0byN/n6UytYzF7y3K/7TY5DPdfv1LMEDxNddVlKI55eu uTHyBgLmzFFY1DwKXfr5rUNWf65QLihSZvetSRPZWPMLK/ZL5S4QBPgUa3qtcDwR3sWF SQ== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn3dqqek-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:14 +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 31MBaBXI027273; Wed, 22 Feb 2023 12:16:13 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2173.outbound.protection.outlook.com [104.47.59.173]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46r02q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OzsAsPpfZ7nRntrVOkeIG3XyusB2ZiS84Ck6E7xezSSOKplKgBX5AHqF5aJFJlzlN33Bsz+WWCjZN3dXXi03qPc4KRzfvkYyq/uuF8O+yJ/Q8dx3e7UqiurOkQNahkSqLXvHK6ck7auA8e3vkiwm8oDfWLQKOADnRStYDGi/z+InTCzy0EyvGXCFsPZAXoJHN6jFZP7Hsh6lMmsZ79eJbKF0IhwzUS1n4YjVakssaT6JtjjkFXOnsFapaiV5NPHJ+dNFSSd1PXoOU+gij3j27sOCbSEuYwmrfh1fVU4A5AUw9YLzsO7OESUCTwBs09jt6GTkVncdAAbqJwaE8YXhuw== 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=grpEc1+NQTzecieoTcrCjDFvpZbOVv5h3vjLrw7wfSg=; b=N83ry82DitkWTC3aIHqWpXcyAC4SlhxDHnV6NOYrUxrvy9y5EO0ImlIo/IwFJFZxDU72lzTSmIzNlAm38ooO+BbRjHt9vu/jmTIExnDTJpLAf7CeGHWdqdksD87PGkrgcPi4Tt21m+J8aBfup0BYEnqv/izeiXIGxMtZnRvpDqNs1DgdUpiKlv3AGLlHFTypq/jazuPB3FL0+ti89FefR61kr5BcSFCofCehAqIU1ZX5inozzNHoOum7jBBxmZXkPEtXX6e6AmHTVfSEw/23MJ82E02oW0SXTqyAXLjXnWs1MGR5ML/yj0975GhDUC/IS0KyPl5IAfRsGXVCU2YDpQ== 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=grpEc1+NQTzecieoTcrCjDFvpZbOVv5h3vjLrw7wfSg=; b=ZgUKejT/CttF7E2d32bk87h8u7Vdj7GeSzGHcAvJU0kJMOMPokmQ0BR1vMAhhvTv5vmChvvcxublChyt4ng1BcVFBfYVEMZPiqX+h16gMploGi20T/W1jlL1zP7BMp18ecE63n3cSXtWyQQ8NT1B5BhemB+V0LRSPlFIcL7XPLo= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.15; Wed, 22 Feb 2023 12:16:11 +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:16:11 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , "Rafael J. Wysocki" , Viresh Kumar , linux-pm@vger.kernel.org Subject: [PATCH 15/27] kbuild, cpufreq: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:41 +0000 Message-Id: <20230222121453.91915-16-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: LO4P265CA0127.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2c6::18) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: e94d15a0-85d8-4e37-e612-08db14ce95fb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zL8CsODZwFMlgC8VPcOAJ8Fg1ZYXvLYWyW9ZsenvfcAMq16rmq2Mz/eCGU9Un+8u4oJ3IJNf5szPlirfvHW6MgkgR9zbHcq/pW63X+xW1jBo0npgVkK/U5KMCIgk//zKHc8vCL1C9fDZvd9ayePLm1M9kmf6E2GGh8At/gLeObo2SPtmqL1/xj+Pc29z9fbNm8fDDPkf2wQaj6DjLkT+Y/q4p1asVvn02QMdfwiyAhdEbFs7aJfOSPuvNo5L5oUjUeMaG17CXW98aoAMR4+9NjwkedALCBeIWr2Q4vVlO4Kzei5pIx50iypiR/O2mu9sFwKMNJXzALeDRptopcy6p5d+23VZtBFQOIuxua/MZBE2HLZenwHNo4MTnpI2GAu4gewIiOo4WjuwMSUj2FaLU1UmofTEHziLD3uO+iJ52aEZvKGM+Dt8RqqCXDFRJgE8R3dVkFx1ztCOSSJV/jW8Vcg24vDTrO2uBWk2nXtS1XPGATS+llbzH2+Ywv9xWN4QclAJubwG/EIaIPDsJDqB2KijZPauhyOnbl5D0NUPNpCLuR7Mabith5jOaJ1i6on37O1F5MfVx4ryQv0d0O6GCaaGGskxjQfnsoNguT3di3BobOUJ5cdK1Kb5FP4et7lG9bMVDCjgHS6Le5VEUYI6JA== 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)(39860400002)(346002)(376002)(396003)(366004)(136003)(451199018)(36756003)(5660300002)(44832011)(83380400001)(2616005)(6512007)(478600001)(6486002)(6666004)(6506007)(186003)(6916009)(66476007)(8936002)(66556008)(4326008)(66946007)(86362001)(41300700001)(8676002)(54906003)(1076003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PmZrHb+qIijbdUrDZbPJn4SomYqGW1pj476Z3pdJDhNW8Gp/2IqiNSobpQtjkDZCp2+shMGaQfFm+2yUzvAVyKtEja/R8yGv5T/nf6c56uuSBQG7u6Vh+aPXm6q7vRjhy6MKqsbyoI454pvgltpCDtRUM+leduX3EIhmxqT3MIndQUG4GEMFIf0w4MGHxWMpzXc2xBC6YKaBbphl7RgvgfAbQqkkndeiihc7sZ5T8E6diXCa7BEUhpfWlDQjbDEwutN/W4JATeiqhQCVNRZSnCqFDKEpxYj/UCXAtKhe2B/CD6b1FlXkjluZRLhiU4YMdrqTfu010NnNsU1bIzsacoDMnIbB+zS1dUswxGZ0X5/5ppFzyrFliqczS58QSetP/7oa7HZnLdSh2tr/dtkBs69/VWC40WLbrxHzVUJcQ8TI8CDEdW7Xk8GWfOPHqZ6GHLXZmfA6Pm7X+GYxOB27HQRvlxQDoNxew5P12zM49JF7Ld1m23ztX3wfxjg/ZFoBMn1Z0IPTjUkvCLTAcz7BNH8j7ohc3MTknylQEg2r2yK92hWqxNg7dD9yt+Pto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Spam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: 8qWMTPOrTGnfwVK4KsndiZjIKLlYO+QZRPm8uSueabS7Ci3RpDFNoSbKpTexokgzrWpHiOonF5VZTx9W8tTy8mGIM68s4XWU039kqQ7jHPpt1Su5SHlmUVh1E0We8/kkD/FvDict2RRLo2Nf1B5F+hHEonsyVPJ/r0szbPndV2aLoTFRGZNXZk8wZ9UhUGHttonc2bnLDii6+DH3II2RqwC35ySpy3DelEbzb1IlJ+n5hO+rGE36sZ1gnVhV4lll/DgqFxXf9aZz3L4TdCSBUt/S0Ed2bqvNzamLAIrI7AIll3su5wUlAaEkvNynGMoxx01z8lLVEd+S7MeDLwmnflmoiK7kmIOhyZltcH7pmGnmSBNKusOzA+IRtq4xEjnrReRP8pZ1bwFV+wB8qdrIv1kAzJXg9FZ2z6SE6xwR474EiDvfDgjHPzCFtBzeqWDtZfNsEBox+2qeK7jNBiLGfikBq/sp1K30Ab+YR8E86RzyjBzHh2gqfmXVESOf6NB0Z3mQA3PxBoYJuFVDxd0FwQqjUJLIPzIyxDTXoIiUBZ6Ob0sXUVxFEx1LdRjop7dwqSqSTnKS+SgR+Bm7YC8jK5F1HanTXzlukkylbqrbmKvI4IvoxfutBCkYZlZpbxbDabilGRt/Povx/KJxAFofXznRhOEmiIeDrT/weUGZCMaCMRZf7qt2Bw49q3LGNmRR8pmOIJZfolIsi6vZqxquRkzC9bBgBmTUlwKD0vn8iEIyR8eofkfNTIxdBCutwhC93tl1i8t8oS0mGrHjS6ZT6ShzijKF1s5LcC6T6nx7RdfEzJkkJGaGvgo36KDWJNr0CLyohKewS4UBMBqxtMvTegT3Sa/oEMfbyCNVl2fwT48= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: e94d15a0-85d8-4e37-e612-08db14ce95fb 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:16:11.6283 (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: ym08H/UW+U9zRhpY/MdVVopzIE7OPPUfWA/LN55/T5GjUP6k4yGiyQRhItiGtN8HkqEwuHNtVX4WsyYNn4lg8Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 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: MYwHSYPg8reYXdW0AndmqbSMfW5l9r_5 X-Proofpoint-ORIG-GUID: MYwHSYPg8reYXdW0AndmqbSMfW5l9r_5 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: "Rafael J. Wysocki" Cc: Viresh Kumar Cc: linux-pm@vger.kernel.org --- drivers/cpufreq/freq_table.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/cpufreq/freq_table.c b/drivers/cpufreq/freq_table.c index 67e56cf638ef..90bfc27ed1ba 100644 --- a/drivers/cpufreq/freq_table.c +++ b/drivers/cpufreq/freq_table.c @@ -367,4 +367,3 @@ int cpufreq_table_validate_and_sort(struct cpufreq_policy *policy) MODULE_AUTHOR("Dominik Brodowski "); MODULE_DESCRIPTION("CPUfreq frequency table helpers"); -MODULE_LICENSE("GPL"); From patchwork Wed Feb 22 12:14:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149156 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 C8345C636D6 for ; Wed, 22 Feb 2023 13:33:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230284AbjBVNde (ORCPT ); Wed, 22 Feb 2023 08:33:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229887AbjBVNdc (ORCPT ); Wed, 22 Feb 2023 08:33:32 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C05818A83; Wed, 22 Feb 2023 05:33:01 -0800 (PST) Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31M8xZnp014963; Wed, 22 Feb 2023 12:16:19 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=NTVuEbOZde+p/jgqvcg8eYJr95Mho3xzZ2JnVLOF9ic=; b=XrOhMx3ey0pqzD7mVhK2yrNGu1u78iECLdsYvNFzufX/w02j9weGtYrO7QZEcM4RRr4q 5j5J2u8YZVHS5FW18QgTqmEq47blwJxp3yWHs+meZzSfeWjAzxDJXkRVjeJJnKO4Hk8y TgIhUvA+dsqGFnL4sAQwyhKl8R5gtwLS5cNcM+VbanTYmW79Q+Ewxt4i5FGKszrwuzRX jecMWHkHVeQksc7cT6rj1vhQmkFkz7CxJaNkQnmGXcpCytJIewZDeiEn9C57H5nfomIl a2wO2MMnrQ4QND0rhpEEi4c/KCtjfLMd8ZrUztZz8nO9ITVyXaILKaqPD94owkaUAkSX og== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntnkbqntg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:19 +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 31MBuiRk023484; Wed, 22 Feb 2023 12:16:17 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2176.outbound.protection.outlook.com [104.47.59.176]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46j55f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m92oiAKE+asw6ZpZp3kGxouY1gAklNfAhJ7QwN7GCRoTWi4XWfzzXtOcQbOrFKp7A9Vs1tigj6E85h1RIbFxquoZLU5lxEOgh7Ah9zyzAQWyo3SKvEoFAlzyzqpDMW/qMpRn7ogWBOTivwA6lf4bC+Yv6JULMB6tCPhivw+4fL8oheKzZ/AiQd3Iigkv5bA3ipiub0yehrmDJBQF2aZb5axVwW8XmwCxP3c8U74Aek7olhp0ltZvjgFxKYDyhdIhQ8Ca/wjQ+VjTjmLEX0mi+xZE/67Q5l5mMCgEz1TAMZpLctJixbErhqwTx1JQYl3F0sUAeNF9okTscZCdvWuVXQ== 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=NTVuEbOZde+p/jgqvcg8eYJr95Mho3xzZ2JnVLOF9ic=; b=TbuXSCOhPyVCT2QmyNUn5TxZ7U3wHyrxz/yy78IXlY+p6X5FleyiSDcSdD0grgyGD+fyqJUusMZDoKrqzFhqw0rMSZdzhi5c8Zlr6JcuUkknocRbY+jnWvV/wmRSJwRb6P5RDVDfxeGl8gvq7bI+SC0sjBdtJ10Uzzvn5R0gl+hofMBbf5IrQttBcMvNAL1uJNhf9vJLsw5jX2pVjjtBtElF4Oys0wVayVfCABEQFDNorsgfdiO6R/0jS06mNSxSzibO9v7vk7wHL4ey1BfTwuFVcTg8H04EActf3KZ0QAOAUAVzLloTSdxxujj95R/xvgERrH9520BG2RiNiE+ZVw== 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=NTVuEbOZde+p/jgqvcg8eYJr95Mho3xzZ2JnVLOF9ic=; b=wzqoolyJuPn2V3Y7dtdUhNGIL32FZ9q8Nl5mITeBXpYmXU9tbT5rQc1rWD6Avqh21Y3eoEgjp8cLRDZBjeSUKE3qdvrly5xlqhsjlMwRKsqLyGsEQzKFYwQPwlWnp4eSRSA69xJC7Q2Nbc/Ujdi+tx3cC+4YJbClIP3/PZ5/PCE= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.15; Wed, 22 Feb 2023 12:16:16 +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:16:16 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org Subject: [PATCH 16/27] kbuild, crypto: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:42 +0000 Message-Id: <20230222121453.91915-17-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: LO4P123CA0318.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:197::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_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: 786ef094-136a-4964-744b-08db14ce98af X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ClxuefDHLoiFcPV4xGEV1niakI493lbvcUzq944q4aLTYQDECyCgd/2QEytKjtJJH1OJE4rNAl+JreKKTNslRiw4CN73yZffxwjSGRLOdZ8ZyKgfCKJaoQrneM2XljOfnK+XZdLQk/badEF1chG69NGX1n3VKGJtxJwyBbUppnQBCyRBFBPtdLMFjbn6NAl6wfGBrNSr4o4CkIz7MVmRk51+iIyKxbcYjrXjFuh32HBtluFfANFe+UQp67zHQqUST7qjHR+JlHTb5nUK5DIvfqQERBntbC40A5cJvL3zIQQHOaDtxFALnBRssNgoaRWdA8y3uQi8EywBGac4M1uAi5+W/okwnV/w2pX7i3zeDpaew0vAifbwtJbkX1rBnoiCQbAPnsp2wNImJ4KawZWcBhSfGTMhRc6lvgFs+aBXxaPoh5TBuy4KgLO4QC5fE1s0/IOiFs5tgcDbrJWT/EyqrcM3HvzU2CPHHHJKtDdeADf/OOrH4hrHfiBy0ezN1VKns9Lre5EanfliveuAho3TeByZ2BlN06c4MllTdYhltmrLvOu8Iam1Gtpv3uyLPawO2kmNrzR42eaLm/G5I5Waop7t4Fm//8Buv11BUw2rQ4XYjXhwaebJNeAXXffCydT4XyoC7TbcxDIDXkuKYIHPCA== 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)(39860400002)(346002)(376002)(396003)(366004)(136003)(451199018)(36756003)(5660300002)(44832011)(83380400001)(2616005)(6512007)(478600001)(6486002)(6666004)(6506007)(186003)(6916009)(66476007)(8936002)(66556008)(4326008)(66946007)(86362001)(41300700001)(8676002)(54906003)(1076003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-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wfadqETWCKUyFXx2KOLUW9g1wayEntgm/76ofBIBrav7/orccxuCg6o+CFmUw7ciszi88jVXBwu4er1qZAGb4zXDH84NyReF6GFnJEtWzO4smEXi21IwOssS+UZVp/FMR2REN/vBAQBHvH8y/yGVLckOro3UJ/VqL+767MgpD7+e9iDIyWtbNTbOFzg6I9e29egCUXQtAMoX6mxO9PumfLv1VP11Zb70U4phtCvkhC38V8EzBQi7H9+NbqK2RdsvF7XAyc1Uel1alZH6tzEdOsWqKtxRHtAgk6SMdf9ifR/2w0lNjtZ+VtPy2eDTj4xI/N2k4EFM8Kf7K43AKAk0zncRGKbpmfaUS0y0YREJAs4ewmi/Nlx7L830lhBPpR0OGWffmTb9BOnLymj3gq9/m2KGW7b+QpCIw4jGvgsUodhJvAHN+LF197q/SMgvtqfRw6ASr+kqTc7L6O2S6NXyfeM895uwnJExcx+f3zeeLQYgg4NXPzihs= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 786ef094-136a-4964-744b-08db14ce98af 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:16:16.1761 (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: ZwjCFNSFUZSSKgM4pN32Zizx2G7KfEHohYN0lkMvKxSyYObcF5hQrDfMZMj5MYzyPlNpCG1ogWAfu+4qORP/JA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 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 mlxlogscore=999 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-GUID: 7SoA89snVqvccuRruo5nybOtdW4UxxZ4 X-Proofpoint-ORIG-GUID: 7SoA89snVqvccuRruo5nybOtdW4UxxZ4 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: Herbert Xu Cc: "David S. Miller" Cc: linux-crypto@vger.kernel.org --- lib/crypto/blake2s-generic.c | 1 - lib/crypto/blake2s.c | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/crypto/blake2s-generic.c b/lib/crypto/blake2s-generic.c index 75ccb3e633e6..4ffe3d927920 100644 --- a/lib/crypto/blake2s-generic.c +++ b/lib/crypto/blake2s-generic.c @@ -110,6 +110,5 @@ void blake2s_compress_generic(struct blake2s_state *state, const u8 *block, EXPORT_SYMBOL(blake2s_compress_generic); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("BLAKE2s hash function"); MODULE_AUTHOR("Jason A. Donenfeld "); diff --git a/lib/crypto/blake2s.c b/lib/crypto/blake2s.c index 98e688c6d891..71a316552cc5 100644 --- a/lib/crypto/blake2s.c +++ b/lib/crypto/blake2s.c @@ -67,6 +67,5 @@ static int __init blake2s_mod_init(void) } module_init(blake2s_mod_init); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("BLAKE2s hash function"); MODULE_AUTHOR("Jason A. Donenfeld "); From patchwork Wed Feb 22 12:14:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149180 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 DCC2EC6379F for ; Wed, 22 Feb 2023 13:48:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231821AbjBVNsn (ORCPT ); Wed, 22 Feb 2023 08:48:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231359AbjBVNsm (ORCPT ); Wed, 22 Feb 2023 08:48:42 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E271113539; Wed, 22 Feb 2023 05:48:40 -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 31M8xQaC003325; Wed, 22 Feb 2023 12:16:23 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=ZHUAz2bhJhnS6t0nTgcmdMvzJgsFyDQ4/PwsowkdRIc=; b=oT2XpeQhEdN2TETWNjrPydBO+FZJPKTGvZGJf8MjqGijwwtOm64nF1nCGZrAgD25jfvN ixG8M3QydRSrq2A3+O3dbi3Ars8wi3cNRrEizGILAaueh0TLdjAm8Qf3D3N0BnFK83dd fzUJ9VW4fodCyJOVL7ROZMsqex3s+Dalg7Y5dbFpsXVlr4nGKVnmu2xCNDCxtCUHIfiJ 2NqQKzN++Wnngx8n1GX6j2ujuPESrUur6sOUnQ+I0dN0CeV34aoMUxYVENgKL1PeBzkn 9mEk7Q/MUspBLNMN6gDm8erQ6kWPlW1yhYiXqYG30HIyGBIXwViBSAGYBt7KoEUmlX6H wQ== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpja7n93-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:23 +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 31MBleaD027309; Wed, 22 Feb 2023 12:16:22 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2172.outbound.protection.outlook.com [104.47.55.172]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46r07e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KRsx4OE44cI8zhi+ZBcKkPr3G8ADqWNi3f3hgI7uIM6QCqmgYtWiJrFELYVMpIBdeB37LI5lezWOKeY/6Ednb/GwoogeHOV6+74GNYuVDSRmJ4jeZN/OmFW7u4Xw9pc1q/j+AKmBQymRVD/FJif77YC7jLoJv4lKDzeOnC7gqIilv91ntOz1sDH9EWE7wCrUwA6O5K6dSULwS8qs0h6AdTFUVzIq9pMtT+JpEqEYcBQx0qG6J8TAUbfKiiKsiQOkzmOSDafK1eCffodpe63Q2PdfgRiFNjatx+iFTLkPVLC+wGQ8d9q+fEChfi/z9WU//Mi52xFFRaKevQ9YhqwFXw== 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=ZHUAz2bhJhnS6t0nTgcmdMvzJgsFyDQ4/PwsowkdRIc=; b=EpYR2nosLch86OSItOym4HIC+vcd+7n15Fn54HRfJzpDdNO495UHiXOe5SJMb4UGnchOPTipccJce5whkyYVqmz1Tz5WPWQcjRhGVhSKcHLrgiqJvnfrUanVekLc30Jn3pVG8i5kkqF9oAQ8z1P2iAmFjLS88d6uOCqbqmY4nUYUJdcPItctnn0CSgN4d39t/YjDOu2+U++fghlllVig7zVk6tWuqM09Uw6N+irDN2G0EZebdgKZZNvz8aNVWE58KczySImhjufSCKdo1iZ4zLoTC9/WdfbcRSP3ugSTxo0C8LOWnxzbaYeCIxd//lcArVeZEtGsJZ8bp3OB6SpegQ== 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=ZHUAz2bhJhnS6t0nTgcmdMvzJgsFyDQ4/PwsowkdRIc=; b=He723fKedc0fE/k1fcoVBsphX1JtJfdUlYgLXXnbZsgEciwXy8o3bt8WPE76wtLhN9C6RNNwzEd1AxTdnDvPd97MIm3gfdDLky3dnc7FBgFmSfv8qsw+NOeRQGtBW+msMo34FvD7OrN/q0T0PC4nj9K26hBxWxSoiPBKPrJqmHw= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.15; Wed, 22 Feb 2023 12:16:20 +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:16:20 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Herbert Xu , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, linux-crypto@vger.kernel.org Subject: [PATCH 17/27] kbuild, crypto: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:43 +0000 Message-Id: <20230222121453.91915-18-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: LO4P123CA0310.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:197::9) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: 48581092-a258-4b9e-3911-08db14ce9b38 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oZnPSBpYs8L62gXcdgjdu8lA9YxUzUYH9euLXjFXI+/P0Lz6qY2nTd/iBkZmDn9iMEK9ryEOKSPJGvuZ/HgUgyhUIGr9CsifetTutgUajBZu89hkSboQBmQqxRP07UEq0uUNsEfH3HtpW1GvtP8+CBYgGcnMebrRQ0zlIOwHh7OuMoF7XFG9PPTBUpqEFAtxn5FgHM3a76siIYjrBf2rGDsOYR/VzMq0KddWI/F5yYnptNzrpva8rQyb1DmO9Z/YlF/eJKwmopGM4PqxrbaaMqYI2QLUrGIWQ9/Zwjpb39fUA4KXxtogjTpGQ87wpg+Dd7v9K3PWQuYGqrISqKT26aHnpV6rsd+X+fnmqa8svRGZjf1wWjGYfEsZOd0Io/jfi9UCGSVrrqCDslM1nVMWEWIalasPrNKVZC+UbB0TfN+QxM8w/GfGDIKXurmddTL+g0Gn1YM4W/+7o+9ZV3wEpy/AhI7uG9qai2SOXtSXyiiYtE2nGvn7m90aClhAOAPsLwQLjhl9uWTIDPLvkiKUUmBLsvuOyAVRk3vVbPdWrZiz3t+O28/dZ3MBHJbZiztLJ88xnJijm8Iy4CexrkbLUdVRP6Gf8iKuu3idDnvbpzQbeSmcE7oxd8/Z/pRHCsZYjSwAq15TKOW7SugQdpyQKg== 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)(39860400002)(346002)(376002)(396003)(366004)(136003)(451199018)(7416002)(36756003)(5660300002)(44832011)(83380400001)(2616005)(6512007)(478600001)(6486002)(6666004)(6506007)(186003)(6916009)(66476007)(8936002)(66556008)(4326008)(66946007)(86362001)(41300700001)(8676002)(54906003)(1076003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: XqrY5+4YCOMoUDzeAOZHVpRrM6ITF98tn+jS5JRp/dRLQuCSgRUupmAOZVrcxKbhDzuFPI+9zSs8bT60MghIfW99sEx9MCQn4z69b4q5/DvhpGa0A7JCwRbEJYkTrtg3bc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poRtiPqjj0jihg7UeOqBnc7E4qOWzTGHpIxxWWxHvFp/gU5zx+MVfWlrzpJ051BazmJoOp0fCnXRFlFoxkzeTQW8lfjzfMR4M1GRs70QwaZInZzdXkXR4NN9a4mHl2SUIlZQL1noVuPzBmOOOlQ8Za3C32AZBkhqGaQIPHk53+HKoG4MHx0XLBSWtSNm+UC1exn55Kerqm+LGSixt7HO1XbnohXBAL3ATitRIDN+rbSeyQVyNDoORMq9Ja9GP7D10SIayc3wlJc/pWAsYcZcUxSzu+J4z4qCZrJwBH0ASCJ4jEUx8grvxE+IcD1LTs0h1JrbZIfzl4HPSXPAPgRBUqYrVGSp5duQblk1OgTuL9OB+QEaj8rzp87NqPYAZXuHZryi/NSldncmTLBlOVzYjFh+cMy+WVQyZRAostJvDMR/I= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: 2BKw/XNTHB38DwzXviw3DRhuc/75Bhiny5CHd+w9h5TY2+IERuV1pCAFnEqW+mj1mB8WeJJeV/ZU5Yy4tjToXj9vPhm2S1jvqrRMxcMJcVXdnlp53DZILs1R0X13u3XKBjWncmnmG+RBik0yEYTWyqau/zWAxcX0wOUHUqO6tYHmKssoG0XsU+hS1VALxHhzApv/GZQhWlKo+MDqXuo3nak4ejMkVU0Jz2F6j3XS0ECobELkTUH6VnP1aErCbSNZOOw7DAqKy/8qliXDl4jCayh1lRH8+zz7hWY+73R56KF7iAJxM6X9w7TxmlRcg5fdkrXuUJ1L5qHp3Mw7jjRB1uv+maetNWig6XD1npxAu7zI/C4mm30YLrtEXH2T9a+dOhF1ZMBiQWSXSKtA1H9psc8uprstjorHX8TFzmhdGAp8xQoMYNab8CajXSjE2zgY51U6NApxNJNf2FNQl7ZUx1E8UeALAjY6HUMmcciKCqDMSbXgfCyhcCzHn73bBUzxps1f4V231N/JoeYz298+RszvRGhDG3ujdolEQWTlIXD3Bf2Fr+7kUrWJ6VACzOX532Box00/HCqIwQELKwilbE25r9PZs9A2GdqvsI9jxixu0Tn+vKvL3zJLCOVIZ5RtIqQRf4LfaNLtjlW7clV3erLhUMDJiJQJwHlXa7DwETN7wbd6+YU3iHUyy8dKYEib26ihXOcfQGJJdqtxvEoXjq4vJJj6vO/mDrn300gW/vGro3aPCCLGIp+Mc6uQeu/UNnsYtetiyFPJAtHQa9/ve6MiVSdrgvrrZ/7FSCpNdV+yDqxRRidwqAUwnq0OBPixGP5m+C8auU4Y2gOQjEC/N8YKl90PzjH7qomwUmz8Y0yarFEYb3OLtZ4HtGESyJDE+pIhQDammo2rGatlMG8RIhADhtGbO4Sd28aKAdszwnt8pRICd724svzhXTGk4Ne4Bel8dGuwoQayRiV0udsjKk/PIFVuhjnUKRY3+h/HetMsFdYJdi0LfeO+xinXRvFkT1XdPAm8FCAS8agqDyRH0/tY8c+bGUKQHiLrm9RBWhw= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 48581092-a258-4b9e-3911-08db14ce9b38 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:16:20.4122 (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: 9UXXPKXqlYMnt+vho5VyJi1yDS75WJ1xfeqh+NS/AmLPDUElnNk5Pvqm7JQIPfOplgp5pQKks6+k5ZNiJBI3/w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 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-ORIG-GUID: 4pF-3LSQT_SXBXjYE2KTVotnFpvHGYdD X-Proofpoint-GUID: 4pF-3LSQT_SXBXjYE2KTVotnFpvHGYdD 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: Herbert Xu Cc: "David S. Miller" Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: x86@kernel.org Cc: linux-crypto@vger.kernel.org --- arch/x86/crypto/blake2s-glue.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/crypto/blake2s-glue.c b/arch/x86/crypto/blake2s-glue.c index aaba21230528..0df9ec15643a 100644 --- a/arch/x86/crypto/blake2s-glue.c +++ b/arch/x86/crypto/blake2s-glue.c @@ -74,4 +74,3 @@ static int __init blake2s_mod_init(void) module_init(blake2s_mod_init); -MODULE_LICENSE("GPL v2"); From patchwork Wed Feb 22 12:14:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149114 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 09963C61DA4 for ; Wed, 22 Feb 2023 12:34:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229557AbjBVMed (ORCPT ); Wed, 22 Feb 2023 07:34:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229528AbjBVMec (ORCPT ); Wed, 22 Feb 2023 07:34:32 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B0BB2823F; Wed, 22 Feb 2023 04:34:31 -0800 (PST) Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31M8xHfv006785; Wed, 22 Feb 2023 12:16:28 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=YbGJfL9cdZUTxiLThH8ld5K0YfKsE8MVqeQJAZTeDzg=; b=jqKFhkmVuYVLV//B/8IpKpwENyV19pnY4y80zqGKclXNRvBbWT0J4sBA9kfvAPbb3VSq 5jjTYw24QK4lfoQfXcLtWKcCBFhyzP4IGqm6eMRLrP/G7ouvCI7+7tCPxinvnsbgnnO4 cQZUfZgsKwRJje5zY6R5yW7UrwM188hIIXC2yDx846BIXbZRhPM9Smx9sPjA0a1znQ7F rHViXxJPebXEfxlA4XAvukuhQDcTYA3FjHBnlo5hDqrz1f5qAmteDybMtB8Fz/t69waW 4wlYMU84A5DFTqZ59ZbBlqAwG40zU8cY30Fwn98m+nh2oupb+j9s+kubv3eQuHN6QV2j ug== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntq7ufky7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:28 +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 31MBOOLX027244; Wed, 22 Feb 2023 12:16:27 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2173.outbound.protection.outlook.com [104.47.55.173]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46r09q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fBOWU7uKgKEboK/bUDfMolJPvAASJiOL9JrMIDCBjhhOeoiHuFI3LJ74GhKUYlx/u6d6lo/CcvcAezm+WTOdVAoTBQZhaTlTwE+I5qeGUCf88S8p9jqmQqfFfstk36qrxLmMQsBWe+DekL4EVuk4Bkz2DDfdZ9otVWyfoz4imNNMe7kTEzuY9rIiRzhJLXhWwsFaocJoZ0hWNqLhOAhbizhEmz6ewrGMVuE5fpLgP7Dmc6gqXOij06H/4V1Tn3GphQirFV2sLgFpafiMt/ZsA70/+ScRg5dpPqWKqwotcPDQDuXRwJ27H2F08phHIVu3v7mcd6ihRuavmH7LtqQnww== 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=YbGJfL9cdZUTxiLThH8ld5K0YfKsE8MVqeQJAZTeDzg=; b=ngE65jNmFT9inFQFCdOZldkA50mw+2v0ooHFbBbSRn17GLjPp8nCOUYytX4CpLSUahDIQiQ6GXWIYhUscFzLRlx5zspOGwFLLpA2sULnnITx/8m/mDocrZKqiVcbTaExwmsvjUKKJ9j/V1BcpHiLxUwbyxiLjOoL9nMPUg0qzCO6Zjop+zUJj1f4UXfkylvlrW/wVnU2D5JNQ/sK2QCxX5T5dNOF/N63HjMtmhpr+2OEymPTU6F00fFOQNXnBE5iKgp19Hw25GJmCPRR6eeLtR2oZHu7JO/ESSeJOm1xyPEjN8yUqG3Bv+Uqa+zx2RwhYs6kteFaiv+YWiUcyear4Q== 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=YbGJfL9cdZUTxiLThH8ld5K0YfKsE8MVqeQJAZTeDzg=; b=zkViu2ULD3r4HKaFxch4tAWc0C33wwmmBc23NcvMW5/eCT8tW6tCfNXf9h7uWJjXsx14vxuVskeyz4v7Wl125DJvkZLtDI4Aegejylifv+1Zd9aNR/FyMLpk4z+jwDyyn3jXhH39CEIfnfs1ifZZUL/1roGzl6rTEdsFD03Mpic= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.15; Wed, 22 Feb 2023 12:16:25 +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:16:25 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Support Opensource , Lee Jones Subject: [PATCH 18/27] kbuild, mfd: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:44 +0000 Message-Id: <20230222121453.91915-19-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: LO4P265CA0210.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:33a::13) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: f26ee753-0741-4578-d36c-08db14ce9e24 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: h2S0WBZJz706o3w7gxuuU5n5wVsDC+ddL/qmg9iYydBKn5ENI9j262OOrNymhwHupzlnVGsa78pb/YdPjBJk3RB9j8XZF0ZFapsBew3oRUgkUW7XtsFgbRiWIiUgXG8XxDu9npxvzIOSVZKJPTU+1smAbL2YwyP2qDn8ltr/Da54HSM8EIRUt3UoWw3LMK+7jJWOvSHdEIiRvtb3ZbC6rVdMhCU4ZTM+m6bEpvMsFMyb/r9I0jvItgxuJehcmvCGH8mcjwjT1hgU8s95P9WPZEcwWTruGVm9IsnN5n5+2EHBPnwdf496u8Tad4l39uIs8TC/MOHtrFvaKCyfiZNGbkt3aVWhJy2CZokfkoFRxszICpkQRqMbwdBk6xRLcSw+xOxvm+mjWCcYAyQrc8PIwKvvTB4X3P9bxhLAe6YXknT2kWBUoqAJiPaOpTLVaNWH1K+BsrfINTisx5f6JM0FUzSflfqMP1oooBUQH02r08hMrvS7PIR4JWK6cyLQJAPqwjWFVw/QnmDfwbSdnhhttaLeLlbGOqNZkcu7da8RbJDsWy0bjSKh3kL8e3WVWfzibHTPy+a/15gAeZm0WppIM//ViC+06ECa1ombOfzQoyuloeCCWniNjfbetVmhqfZCa7u2VqzhqcvtsPnC2MheFw== 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)(39860400002)(346002)(376002)(396003)(366004)(136003)(451199018)(36756003)(5660300002)(44832011)(83380400001)(2616005)(6512007)(478600001)(6486002)(6666004)(6506007)(186003)(6916009)(66476007)(8936002)(66556008)(4326008)(66946007)(86362001)(41300700001)(8676002)(54906003)(1076003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: nWDDUtsjy7wvwBQ10RbeqskqhNIwRXwhDR0GNWd9SIMUuJiMy4M1AytkHlchL0whY75ZEszr1lsukOD2rZ8Z6ILcBK7x837RFu1z0MWArxkYSn1R9TMlHD5ZoZ+5mVaWIt+hpB9cNlm8ufPrQXMQuUwpicwhOOafCcU/N3o82OLgzMQHELgwkN/ilCw3akxgR61AN9fQ9u6X8uojJmg3AEKUa8L3hr50Lhws43CmI0NzIyx28n3mwlm6VVICxjm1d7K3jBEnNnMcpIESiGAUvzXoXbdUpTcaIVOIcZOEm5zUtIGUDYfn+ryR18wsxoOaV7DtlMqoCDm/8Gz2jQtcjO0olbQnFJSp5IhXd/LOVyKnGe9T6NZaXK+RtRKwyU7vRLgt0+2kH3j4pEmmdYDA92H6wO46+vg2Zk9VSozN7NPKRATuUbQy3cccQR+BdkBaLzO7Vjd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g: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: f26ee753-0741-4578-d36c-08db14ce9e24 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:16:25.4589 (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: Fa17/nE8xNLx4XFQFYCivvDg54P9ckrkzwHxq+aKkAielPWJlQzc0mI/ZAJ2l4VDfEd7Hq8c/HpD11lcS8FJiQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 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: tFFTafeHthh3Z6rdpuuwKtOt8AYjAnvl X-Proofpoint-ORIG-GUID: tFFTafeHthh3Z6rdpuuwKtOt8AYjAnvl 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: Support Opensource Cc: Lee Jones Reviewed-by: Adam Ward Signed-off-by: Nick Alcock --- drivers/mfd/da903x.c | 1 - drivers/mfd/da9052-core.c | 1 - drivers/mfd/da9052-i2c.c | 1 - drivers/mfd/da9052-spi.c | 1 - drivers/mfd/da9055-core.c | 1 - drivers/mfd/da9055-i2c.c | 1 - 6 files changed, 6 deletions(-) diff --git a/drivers/mfd/da903x.c b/drivers/mfd/da903x.c index 44a25d642ce9..6570b33a5a77 100644 --- a/drivers/mfd/da903x.c +++ b/drivers/mfd/da903x.c @@ -563,4 +563,3 @@ module_exit(da903x_exit); MODULE_DESCRIPTION("PMIC Driver for Dialog Semiconductor DA9034"); MODULE_AUTHOR("Eric Miao "); MODULE_AUTHOR("Mike Rapoport "); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/mfd/da9052-core.c b/drivers/mfd/da9052-core.c index 8b42d2f7024f..150448cd2eb0 100644 --- a/drivers/mfd/da9052-core.c +++ b/drivers/mfd/da9052-core.c @@ -653,4 +653,3 @@ void da9052_device_exit(struct da9052 *da9052) MODULE_AUTHOR("David Dajun Chen "); MODULE_DESCRIPTION("DA9052 MFD Core"); -MODULE_LICENSE("GPL"); diff --git a/drivers/mfd/da9052-i2c.c b/drivers/mfd/da9052-i2c.c index ecb8077cdaaf..03db7a2ccf7a 100644 --- a/drivers/mfd/da9052-i2c.c +++ b/drivers/mfd/da9052-i2c.c @@ -209,4 +209,3 @@ module_exit(da9052_i2c_exit); MODULE_AUTHOR("David Dajun Chen "); MODULE_DESCRIPTION("I2C driver for Dialog DA9052 PMIC"); -MODULE_LICENSE("GPL"); diff --git a/drivers/mfd/da9052-spi.c b/drivers/mfd/da9052-spi.c index b79a57b45c1e..be5f2b34e18a 100644 --- a/drivers/mfd/da9052-spi.c +++ b/drivers/mfd/da9052-spi.c @@ -102,4 +102,3 @@ module_exit(da9052_spi_exit); MODULE_AUTHOR("David Dajun Chen "); MODULE_DESCRIPTION("SPI driver for Dialog DA9052 PMIC"); -MODULE_LICENSE("GPL"); diff --git a/drivers/mfd/da9055-core.c b/drivers/mfd/da9055-core.c index c3bcbd8905c6..768302e05baa 100644 --- a/drivers/mfd/da9055-core.c +++ b/drivers/mfd/da9055-core.c @@ -398,5 +398,4 @@ void da9055_device_exit(struct da9055 *da9055) } MODULE_DESCRIPTION("Core support for the DA9055 PMIC"); -MODULE_LICENSE("GPL"); MODULE_AUTHOR("David Dajun Chen "); diff --git a/drivers/mfd/da9055-i2c.c b/drivers/mfd/da9055-i2c.c index 702abff506a1..537fd5de3e6d 100644 --- a/drivers/mfd/da9055-i2c.c +++ b/drivers/mfd/da9055-i2c.c @@ -97,4 +97,3 @@ module_exit(da9055_i2c_exit); MODULE_AUTHOR("David Dajun Chen "); MODULE_DESCRIPTION("I2C driver for Dialog DA9055 PMIC"); -MODULE_LICENSE("GPL"); From patchwork Wed Feb 22 12:14:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149181 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 C8054C6379F for ; Wed, 22 Feb 2023 13:50:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231359AbjBVNuV (ORCPT ); Wed, 22 Feb 2023 08:50:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231460AbjBVNuU (ORCPT ); Wed, 22 Feb 2023 08:50:20 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C1D52799C; Wed, 22 Feb 2023 05:50:19 -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 31M8xHwc002711; Wed, 22 Feb 2023 12:16: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=O/CBxGNxjrJ28ER7IiPoe7hFsN+PlSY+oTxoRb0xqZw=; b=bLq8Unt+t3Azr/YGwurZofxi5sbzVczKlWwFZBs37XVCI+6JyMu0GU8JSS/mzxl5wbOq 1sgeD8kOCUnPG6zoPUmucmxruRuAR1TcDaaIiaHLkgAtwSk7XG2pSmpEhGHD8yA5miE+ S/aIXhd/q3Gu9GiHilKtcWbzxHk17nMdFvn40mplOMT88pwQ1DtXMg+1SE4/08mFkhPp KJxcziRCwzLJrvik0ylXRn/HNP8SH1PDviASI0yD7HShlDt3jG51JyuppsBfw5SjOeHO xW52zqVMXCHTG8+T6xfq3Zl4yd8GIeP+zb9Dc0atn5QXPdq9xNi/9Ab62DVP+r2Cr4xh 0w== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpja7n9e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:32 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31MBsT9t031257; Wed, 22 Feb 2023 12:16:32 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2171.outbound.protection.outlook.com [104.47.55.171]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46fm7q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KI7BDkwP4KRu917R41MNn/nfd4BqM52be/XBD82rWDBhfLRSgTfqH0Hb2P/PB/1CMjZ5YN/IbuIAXrBsD8K5paAiXGBpsxlpAfE2A0Ur29Yruax9Zdbp+YmVkZR6osxZmaCHDE0R/aFvVuaqq3pRmq6XxJtb1AMdM5yXZ7ByQ+SaJG3JGuQdsxRMyzVEGfj/Hd9fEmBjyUHNCyJdwJYHRs8pBD2s3+CXQ7YUfMJD44tzlwukCTaTdUdR76z9l3RFja/xJ9yuu2Ur9Eh/z9Bw4pLM0kVO2iEgM8iXSTKPYqNObmIj57A9LeZcyHmtg9B0CC1mS87tZv3r3ddJoPULbA== 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=O/CBxGNxjrJ28ER7IiPoe7hFsN+PlSY+oTxoRb0xqZw=; b=ay/jx6VW/Pb7PCy0p08APsfmSRSfNk8vN1X2haYPEIzTFufOZ00lfPmVa35kOKuthEPE3H3a+3BQjOG76w/ipoMIJgSifGWVVWE0nLw6FIIn8pbsTgaZnpo8yArRmSpetx6t5hKC3BvY5wGr09rpl42AB/f0gpdiPPGhUGhkS3fyMTQw5qcVWjtTmIAKuzeDczCu0MlzTIv929x7lbHlH4dXgWT5GgjWKNOtbYK6CzMb41B+C+c93WWGWn3XjjLJVWszHGkIFojt9OCphIMho9ZodFOd0TPDFEAlsg17gj3LwJO15k+p4mFxE8RKlQRD6oJ3DZDkW43fOx80mCiZNQ== 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=O/CBxGNxjrJ28ER7IiPoe7hFsN+PlSY+oTxoRb0xqZw=; b=W1fMY/0XQL6bBIOuQPiQ8qZUXb33CXEE1e0kZU2331Bp/9uQrBFWir+1hHvh8ky7S+GTZGLJNt5L+3FRl0AA+/9duimSiblenXFC6zZWEsPqS/ERbP57U8Y0t61EYdk+3tOEn2seeTbaOE5s9GC+Ug4Wn2CPmIi8clV3CtnxGnc= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.15; Wed, 22 Feb 2023 12:16: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.019; Wed, 22 Feb 2023 12:16:29 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Vinod Koul , Maxime Coquelin , Alexandre Torgue , Philipp Zabel , dmaengine@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 19/27] kbuild, dmaengine: stm32-mdma: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:45 +0000 Message-Id: <20230222121453.91915-20-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: LO0P123CA0012.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:354::20) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: 15b8f96f-091c-4b0f-6c6b-08db14cea0d1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cs8UT9AyqbVg1I6C0fXWHHqpoX6qPY2BBLGws94FIehm1Xxe0ghj8j1K9enLXXs4nND24Vnc4gAfwgE1/EBY2Xh9DglJp1RiMbaMhvouYJeTLPBE0mJQ8vW7V8/o3s7NEIvmZawoR8kQ+Hda+xn8POhzshauHkF3oFHCTaXh6g+PpJITu67ruBfAjrhsLterq/E5U3uCH4PLu9GQwm6Bz3gTutkSYBW4wTpbCDQMQ5CcE+y7ZSDnGP/cFFJpjZHHokjImVZx/fGL4uHPH5fJnIXGgjjqeGTIfS8qQ0O16htOM8OYJ0J0qMbrKKcOh0UKylLF0xeFYGtas8Qel3HVpvReliHizBTCOPBuU2qMoC2GBekVZbzALEcGRtA93rH+SPd09OJyrL6cg+dewyhoLBBsfU68M9+Tn/+/INL6YSElBZZy59VtDhRhn24iCHdrfOLS82x9quSgLRfwH1EXL4h7zAjkzQ0Nv6BE+sO7SvD0NdyAjEpvJqKf3LHd983SXnpP1lD4swbRjTYcNzRz2OP6Yqt9quAMs/fdPy6+vnW80kii8teve8wXyqkYIvrPZtVAvU9pMgThzmS3jIxznRFiC2t0PECqkBJDPaA33gGWkT3xNAnSokWc1EKkorXChtpQ4yDc2ljbpP2a87ku7A== 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)(39860400002)(346002)(376002)(396003)(366004)(136003)(451199018)(7416002)(36756003)(5660300002)(44832011)(83380400001)(2616005)(66574015)(6512007)(478600001)(6486002)(6666004)(6506007)(186003)(6916009)(66476007)(8936002)(66556008)(4326008)(66946007)(86362001)(41300700001)(8676002)(54906003)(1076003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6+DLw9vc6Z+eDbvy1PxBKdiG6zaz0EHYk77MOJ5T6WrYQKrNU9hIw7YDLADaJg7kbuMsgDKcVqYRGftxiBQCuN4Wm5iK28C/veZq98L71X3f6IjcQqWm5HRtPQRFCrxJDhShOE2EEoVMVicV5/0f2op88fdw2sQJY6x7h09Pgq76xbtw/frGT1Vd7muNPwimtC8aB2axL7AVXamYKvXF6RYbi7Alzu2rMozWqEzia90eD8ij7YWfawAXaQlBNoJzEetki4xY+2TrTVdd7kYZjkfmQXMewoeBuRv6lkvVWnKQI4THe4Do+HIdY8ET77sAlmgGUWfIVmpia2tWtAn60b2PZ/xmcQEb7/NGHi3hGosq7c2WbxZJmH4/2FZRhsOl2F9AAwDNT71YlL5vTYy9C5jxBE780YO6f+5xC4wE3AXoLIe5zHWXhwI7CNiW6iIILR0B9gn/GQriUKmUCc4Lxs2ouXZEP8hFOpIY3GYiCO1QHjhh+wOf22j3IcgdROKVuPBly1dX/Lt22AvQqOfpY9yqXobu1WfP7g3xDN3dABkxmWFC3e/rHH7L5Ol0oPDT1jBMgeRYwBOkPlWHWu00tiKej2D14Wa4ZY3EEViELc+M6PguQAb0tYU83Fo02ObJ5qORLksVJ6MKUjOqrFr/EB3WwbNicrZ80xKwvPoP89gJcIg5Qy24Wm6h4Ke8z5LSFg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db14cea0d1 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:16:29.8986 (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: tnPL5uSBhRnvydSVvHXRndzErQn0gGHTAzRc3kF97oi9QkYHXZGtpiNX6Ri/mepB4EHgxd54r4tIsGk9AShEdA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 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 bulkscore=0 phishscore=0 suspectscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-ORIG-GUID: dE_XMB-8T0lskgvGwdAPCNJ-N3UCIB2O X-Proofpoint-GUID: dE_XMB-8T0lskgvGwdAPCNJ-N3UCIB2O 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: Vinod Koul Cc: Maxime Coquelin Cc: Alexandre Torgue Cc: Philipp Zabel Cc: dmaengine@vger.kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linux-arm-kernel@lists.infradead.org --- drivers/dma/stm32-dmamux.c | 1 - drivers/dma/stm32-mdma.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/dma/stm32-dmamux.c b/drivers/dma/stm32-dmamux.c index ee3cbbf51006..8d8bb6770cc2 100644 --- a/drivers/dma/stm32-dmamux.c +++ b/drivers/dma/stm32-dmamux.c @@ -400,4 +400,3 @@ arch_initcall(stm32_dmamux_init); MODULE_DESCRIPTION("DMA Router driver for STM32 DMA MUX"); MODULE_AUTHOR("M'boumba Cedric Madianga "); MODULE_AUTHOR("Pierre-Yves Mordret "); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/dma/stm32-mdma.c b/drivers/dma/stm32-mdma.c index b9d4c843635f..3f2e7a55cd03 100644 --- a/drivers/dma/stm32-mdma.c +++ b/drivers/dma/stm32-mdma.c @@ -1816,4 +1816,3 @@ subsys_initcall(stm32_mdma_init); MODULE_DESCRIPTION("Driver for STM32 MDMA controller"); MODULE_AUTHOR("M'boumba Cedric Madianga "); MODULE_AUTHOR("Pierre-Yves Mordret "); -MODULE_LICENSE("GPL v2"); From patchwork Wed Feb 22 12:14:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149095 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 AAE51C61DA4 for ; Wed, 22 Feb 2023 12:19:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231716AbjBVMTC (ORCPT ); Wed, 22 Feb 2023 07:19:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230431AbjBVMTB (ORCPT ); Wed, 22 Feb 2023 07:19:01 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93D0E311F5; Wed, 22 Feb 2023 04:18:13 -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 31M8xI1s002850; Wed, 22 Feb 2023 12:16: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=/uYCaNM4Qy16wWAWAlH6XbdxDrO6v1SBJDJyArU079s=; b=mB/A+RKsN/MzNNhA9XSHchf1lYEHKTGxECN95WtWbNOXgJpsIEAJNbV3YdDIul3wx/CK b05EVj4A5wMf3meezett8EaTNbsQFli3mJmp+uze6k30swcMLPaqVOEJrBBKMdNQBGPJ ERpz099jQirnFC0t1uKMgA1m+FLyDCLDLVdxhKcuQOstWuebkPU2HX7TtlDBEL7jmNzg tOYucc+O7eUodIlrTKa9jMOhDW1knf4+eDtQdZXaggPJ9otvDl6Wh4aTQOSvrKPsaIGh es0Efo7UT17wvyxHhou/ZrOrvd7xfniNqiqF+tP3xa7Vy/A3g/nJ6YKNb1ZOzgzixMFK EQ== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpja7n9n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:38 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31MAdVh5031252; Wed, 22 Feb 2023 12:16:37 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2174.outbound.protection.outlook.com [104.47.55.174]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46fm9g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=keUIIV8opDYi0Mw20gyA5XtlfZVQ0lSDiEiZu1ysLkvURVHQzGFGVcB5C2Y4gk93PvWdLbzN7vJp40iDdbVlRkzXM+frchHNDgPMjfzNN7XOt3wFPH1RzqEQb0701bUtJjd/S1Ho1bOIhhFC1nLG1irEMn2V7yOd5Mf5hrnuQAIv3jEmAsR0dq11HvyeRrJy5RwxDTPT8gjR9bXF328xX1OX7nsVqqhOc6QZhIniM2SbqTgvt7L/I+9gOmGIbwhxll8voe2pAOc3uIyoNNuJmIt0CFr12wAUGjaxjMmn8QsZEp2qkfeFUaWGLWA+vtwJC59nt9bXMuPh1SBHJYfMOw== 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=/uYCaNM4Qy16wWAWAlH6XbdxDrO6v1SBJDJyArU079s=; b=d49U7Gv3UizUSted6x7UC4f88vv/m8jZv7NJCpYkiNx+7XBDygmE40M4Ktf3Ss5070itd7UIi7e3DHXwhqnFeYqNUK3mp05ivoo9h29mCS97G7r3z3Lz7EUoffW0MiRA1TFmW4pikv/nqyAIa47w0GGqsXogpszeDklLx9N6z49F9P8YKK0h0srtOJuaCb4jvirkyMsU9C7AfGQzw2/4ss+VPgxNdriBdAexE5xs3Dj5ta6gMMY4XbADX/m6z83CTKLkv2got8Bn6gKowaf+ipWymLtZIY77sGz6ZpZhBzfZXvlDPxXdmdfqqQyOktUtUbBTZ1EpRwdXxxayqvEDDg== 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=/uYCaNM4Qy16wWAWAlH6XbdxDrO6v1SBJDJyArU079s=; b=atrl9sM1P0dBxI3ZdUIvtFOpn59HEJWenzg99FVRxUKOipQaae4NqVtILA4/RvHgyWutBYCZxV3SS6z+F4QhXMmDRhqiXxcWEfbsx7hMwuSVzeu38Ohfukd9aTxZzITGpRbsB8N0ieJWIDNFQdk1Wh1iN14qOQZGaVPwfJlN6dg= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.15; Wed, 22 Feb 2023 12:16: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.019; Wed, 22 Feb 2023 12:16:34 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Vinod Koul , dmaengine@vger.kernel.org Subject: [PATCH 20/27] kbuild, dmaengine: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:46 +0000 Message-Id: <20230222121453.91915-21-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: LO2P265CA0397.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:f::25) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: f84dce2a-89de-4186-6b0e-08db14cea3c0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1g6/80ETeR5gAy1J1G9tQukteUkWEAT+O8DxaMpqKvaILKHOtbYw19cQZZ0+28yeig679rTe733nW1RiiFBxZHz6MH+JRfNTzens2155E+17zmNORp29nfzWq/SOcNS2XZde47ZnNf6VBXp6UvSbYq0LHUZyWS2neqnLjeJ//6WWrpHS7qbY27MQqKWqI3FNltCJvNDuQP8Xl1I8T4ZP4NFMp3a1LeK9ZoMgp5e871+O+lSWUFuZN/r9QQtuoaArUgbKwHnK3Zj2Q/TdJ21RIz+pgveaHHw1NdLhB/MrFlhtvfd8RI716ZyJeKjotZ/2zANE0HfcgxU4OpJmIRjW3S+yC9IvvxdnQDOMysVoMCjtahICdqeiOSzEZFJeSuRuNpzNudN+TGZX3PS19j1fXkTwDZ/q/v2IMo/61yh0nctOXQ1MQh0/M5rF20UNmdf0ds1sCtZjybv81vtXh6+4N7PrmHE/GxpSDoOitO5Q8dz1PI8wOmGqsEsvlwoBBAgrQhUC4/8bux2/5TvX4tuTCPZg59TZPDNFWXI1Fruxz2yqVzL19Ew21mk52OSjbbZNxe7/D4f6P+ezYDrRjwET+mYYg7kbw/65uq/C7+szNm2C34B4b9GDd4QJ9w8ZXuOZoc5qEqSgUu2/1c0H2t99Rw== 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)(39860400002)(346002)(376002)(396003)(366004)(136003)(451199018)(36756003)(5660300002)(44832011)(83380400001)(2616005)(6512007)(478600001)(6486002)(6666004)(6506007)(186003)(6916009)(66476007)(8936002)(66556008)(4326008)(66946007)(86362001)(41300700001)(8676002)(54906003)(1076003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: kCJo+BBS1ElLtzNk3IlpvLU3N8YC4yka1Qc3gboLAL2dh9sZrXqH7on/xaoaKI6dRezKb2vGOxByExHBriIhr1wU7xRj689nUXcLThXIHDM1MpXhE9YCBk4eMcaM69U4EV0ptaauCRpvfb2cqCHoZd1JKswDJIOgC0B0UcY8MLvwLtinqwNFRX7cHFhXdlgts1Qdz2S45ZHZii4oVSebIZEYaPEjmiHcdltp8vQaD5E9Y4x+PlpINqIZKOG8Co7Vh/va/rv8HHFjReHwCDHluPdnUoQcnByT9ogLvDamKaKlKlA7S7rdQvXHlDolUmXZ7DUZQOL/XFqoYzBChMDOXBG5aGXK+8AcO+JvVsMkQGq1IY0jJJzW/lhJ3kRZFWcjG8heyXfk5MXq4LfHidoEnhS1/zxBjxd1MkAEuwNrr/4LXWXND94ADdPNjdKq9sQEHrkjOjMyx5fv5F/ggShH92ngaxDNFnfocPEcejLqpjbTjG5ZVSHJsK+oL7TydK0LHvohZijiLI7b233Jkyu+tQ5Yeka+hOKnKMwjZi+KITv29Z6xK8EolMPX4OsSHrku+wpvKNrw8hrFQkGdwOLLnsSlonhYUE5kzgHIimnskbQSPtiGdH0zKdHxcRocOd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hPgFJCs+oEkSnGHmeC42rRM8thlR+nBiZDEf9B+IVCM4EvdQqryDXTBk13arg6b7DkoD3gIoPRaUs7de2jxBY65mBhzTaDSvWAXLMnWI0oibpDdl5mRqUw5PmOp+3aRk0EIyxnoJVwQUJBeN7Y1KsBDnFs/1/ML4T5DurUKR08tnqI0/fBoOnBRzm9tRJE3IdH02KjG3hvKxSaAcZarBCfjN5fXPuVE1h7e7MrXWjCjTfJwtY78SuJKmZoDWcvXWakdsUwt2tVm8Jpqtgz1upseQKv3YDq0LwOSTwbqbz1vNr/N9IXl2iJb9Uh+XcJd2UxPeaz8eOl/1xfUgEDOV5fx97sZ2I/J2r+nrApi4i/4IIJMF2keCPL9JVBgVJEc8EQ/h3Wy4eakFAgO7fSHa+4iVPBGirgeppC/Q3M2HI6lLSsPSXDR3IAHGe5Ky6YhpCipiOAoqsux1RvxI+SnCOmsnT/lKwb9mBowmyn0iQIm+g7rw3zStzzTcdyX6ib5dW36v7d96C6BPDG03Sapu8QPpUwfxIPqCmkxR1+hC8ejhaKt5lI5GVioZXbANf7xGgcEoH7qbLwioTrMZZyQW/+5I/6BPUeB8cqnLVwpbSWNhSQ3Gh9HtOWRW2Pb0Tfw/xhwwws1m8DbLDH8YwodxPtcQqZluE2wyLGmp5ZJdEufV7fgPBvWgQNAu4kBUsx+N73RWFRC7iQsZkVuYICSsLD1PBejeZ/ZNxI1d2sgtR84BRaspmmWj1PX22q5jVLPpnq6adGaC9ALdkpBxjKDK77qQcNVTAXi7cnfsd6tedma4t8nbi9UyopTQsXKpDrKJKVqmERaHFLr5KK4eUXKNw== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: f84dce2a-89de-4186-6b0e-08db14cea3c0 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:16:34.8359 (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: EEJyVz2TCqrOl/IiTtDuVkzNGNtZlkNraN/BqIXpZyuHb64nHRGkcBWDHHDK3GQZezQkqLt50+hxjkt6BLmPxg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 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 bulkscore=0 phishscore=0 suspectscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-ORIG-GUID: qZV6mT0DTvbdTTjuRd9_nPEsrghk7ZJU X-Proofpoint-GUID: qZV6mT0DTvbdTTjuRd9_nPEsrghk7ZJU 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: Vinod Koul Cc: dmaengine@vger.kernel.org --- drivers/dma/ep93xx_dma.c | 1 - drivers/dma/ipu/ipu_idmac.c | 1 - drivers/dma/mv_xor_v2.c | 1 - drivers/dma/sh/shdma-base.c | 1 - 4 files changed, 4 deletions(-) diff --git a/drivers/dma/ep93xx_dma.c b/drivers/dma/ep93xx_dma.c index d19ea885c63e..5338a94f1a69 100644 --- a/drivers/dma/ep93xx_dma.c +++ b/drivers/dma/ep93xx_dma.c @@ -1431,4 +1431,3 @@ subsys_initcall(ep93xx_dma_module_init); MODULE_AUTHOR("Mika Westerberg "); MODULE_DESCRIPTION("EP93xx DMA driver"); -MODULE_LICENSE("GPL"); diff --git a/drivers/dma/ipu/ipu_idmac.c b/drivers/dma/ipu/ipu_idmac.c index baab1ca9f621..d799b99c18bd 100644 --- a/drivers/dma/ipu/ipu_idmac.c +++ b/drivers/dma/ipu/ipu_idmac.c @@ -1797,6 +1797,5 @@ static int __init ipu_init(void) subsys_initcall(ipu_init); MODULE_DESCRIPTION("IPU core driver"); -MODULE_LICENSE("GPL v2"); MODULE_AUTHOR("Guennadi Liakhovetski "); MODULE_ALIAS("platform:ipu-core"); diff --git a/drivers/dma/mv_xor_v2.c b/drivers/dma/mv_xor_v2.c index 113834e1167b..22f485465951 100644 --- a/drivers/dma/mv_xor_v2.c +++ b/drivers/dma/mv_xor_v2.c @@ -920,4 +920,3 @@ static struct platform_driver mv_xor_v2_driver = { module_platform_driver(mv_xor_v2_driver); MODULE_DESCRIPTION("DMA engine driver for Marvell's Version 2 of XOR engine"); -MODULE_LICENSE("GPL"); diff --git a/drivers/dma/sh/shdma-base.c b/drivers/dma/sh/shdma-base.c index 158e5e7defae..588c5f409a80 100644 --- a/drivers/dma/sh/shdma-base.c +++ b/drivers/dma/sh/shdma-base.c @@ -1047,6 +1047,5 @@ static void __exit shdma_exit(void) } module_exit(shdma_exit); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("SH-DMA driver base library"); MODULE_AUTHOR("Guennadi Liakhovetski "); From patchwork Wed Feb 22 12:14:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149183 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 70F5CC636D6 for ; Wed, 22 Feb 2023 14:03:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231511AbjBVODL (ORCPT ); Wed, 22 Feb 2023 09:03:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230406AbjBVODK (ORCPT ); Wed, 22 Feb 2023 09:03:10 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B43991D92F; Wed, 22 Feb 2023 06:03:09 -0800 (PST) Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31M8x8IC011276; Wed, 22 Feb 2023 12:16:42 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=4MmwrWnKBOyxPQSoqL45smFNsISedP80rLcsqa0OXMw=; b=MXnemTBCXB9BTso6zdPy7LrOmOBtTfuCY/X0A6+iNENirmq3kRJd3/zHQa+EXv5wHFjr F0udXRpjpsww+i3G9AKlPBewfLGkuB6VDszGXGvZEaucXhvash49PYMaVYCo8uMQVm6m tEupVIGFk7H9ddXxpxA8triQh5NnygjLiIhrmgTocKS14ani78bO35Kt97dRar4GKbZ1 lipMmspZDki1cVy6P2rTV1Efn0Jq1WaFxm/VU8PM63qGpZGE2bVAqqr2kPH7VLfTYOHL s6vH4hpe5OKdczVV6atHoa7A+gP1X9ExjFUpNbby55THrfssy7ANvxKmT2Gb6nK+AYdq 6A== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn90qqpt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:42 +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 31M9rdix027245; Wed, 22 Feb 2023 12:16:41 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2171.outbound.protection.outlook.com [104.47.55.171]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46r0e0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h4dShGt6ttd2YdvxSC6IVGtybFgcW3N+FT2ic5t+msbJhI/SoP1tRov2oUWCb09ozTnj6IyMmwJd4eOSiRgclASZRD6fRBXb5W9nRcPz+gpYbQeNG5+wnZN/cGrPxqF+xbY43QQKYVzqBvoW/3QNyiwN44UXRo5HJr/PZFvrUGhgb9CV8cCGhcBxir7gktgX2hCrZKHbzu2h4KX76k5RrzvnHv6UthtHfHZf7N71GlgbaezWMi1lTIur6UWP7fg+pnd4g9jyLju6Xez7thq3NF44jzkMHH7uueFc7r0l6MI/X/rLbeoZxeS8dNFhPwCpkftNaLIy8mOhRh/tWKGFqg== 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=4MmwrWnKBOyxPQSoqL45smFNsISedP80rLcsqa0OXMw=; b=lzubuX/RzSL8ZUR5DEDybEpWuZR4Dr00zL0mSdfBz7UTfWL8kBC0Ep0Hmp2IHwt3BvONRx6AUOvB2YnlfpwfoSx8Uy6esYVd6ILbcDy6mKsHtVJl3+5nHpjIePi7FtrhaFCpvZKcYPJWE2b/7ixJwB9ButPCh1SCTS+X4acFXZaL3zVPz39+UzQSxCs9ieMxDiV3ZXDqFSmM+tFl+trotcMToTUTqs1GHitr78wU8PZVXHRjxQ4R+Ri++q9h7hIQXQQpXSMu6IiF1kf2RJF6rxpIcJmQZECW0dHG6X8VyH5MUCwfX8nbngAWQfAQx74yUUKA8ITN9/Wj62y05yEOfQ== 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=4MmwrWnKBOyxPQSoqL45smFNsISedP80rLcsqa0OXMw=; b=JwEiD585OvHdRAQqv7Kxc8IurasVcCj0Ed1QK7M8O8K8npm61PKgYi09N6G364sYnurmLNIt/WP3dWnZE5PpL58dIncTEvhKZDG+NYtBk6jH8vhZxdlqS45VGqpoIPeRs7O4ZzeRYLzC6NSfc4pbq5J0yQGW5JKfjk/jdf+t5vU= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.15; Wed, 22 Feb 2023 12:16:39 +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:16:39 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Christoph Hellwig , Marek Szyprowski , iommu@lists.linux.dev Subject: [PATCH 21/27] kbuild, dma-mapping: benchmark: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:47 +0000 Message-Id: <20230222121453.91915-22-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: LO2P265CA0390.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:f::18) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: 1b785eff-df15-4ede-3585-08db14cea6ad X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bQHKs5uWnhgf3sMlI+OzrnmOUi0pHIMQsFF1mmwc90TKHEHhoiIu4wWql6I113IIDIrS62ENfopIjt7i0u+6PsXT1i3B/Ikn1amB/GJLiX9jmchrAxSQWXvJBpoGIHmxp9p8p78gT/grD1FuxjrSSxk3/DYlOSl1vEh6uQ+el4oZd/HU9LC/KZlpgg6aoEYP1kafgqKkC2cfV5oBG24ccHPRI6ni9OnSPtztfN/aOGzLDqRl6n+tpT3RRdgMxoDM8R08qM1KtOVaejW9y3yqox3yzDiHRTDFIqIt6x32N/Xl8of5TzJnrCfJhbsgNw4MtzzYLGQ6pkEXnoybylL9m2a88gV/+q7NDClu7+UkuItn3yU36NEdjz1OmEZYenTYlfY50ImI25jf7WTsfjcAPkU3CkVljrRCb3ziOTZVn5g27o4e6bzUdvzwqraXoM4+H48AF1nXpEmTFHvGpuzKg8qz/lDXqd25cLebTC0LJrazGBNMTJJOT870dNo+4Iz/WdOeCBrYg0vAGKUcFqguivG3+oD/4fDl5cgaWzHQy+sXGsuNMog7C3dwVSGsUYVJ3fKQCCN6qqms9ZuKciE5n74Lvn9U/VLwo5h1FbywMetgeyU3NNcMNmINfB5CnhWAlHv0c1ycJBCoHXPcYSwX2g== 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)(39860400002)(346002)(376002)(396003)(366004)(136003)(451199018)(36756003)(5660300002)(44832011)(83380400001)(2616005)(6512007)(478600001)(6486002)(6666004)(6506007)(186003)(6916009)(66476007)(8936002)(66556008)(4326008)(66946007)(86362001)(41300700001)(8676002)(54906003)(1076003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: QadeF5O187roTrNegKrA7VkK4/mZkLNq/8I9SoCwAK1cm//Buvnb4iW0xgQuDSP98G0/AovyYArSGigox8+8REgnTJ8TqPl5OWe/O3NzXf3kaPkK/LzqQv+gwNQW8ePwU0npOGLfA4aopA22kZu3rlFMi5lF4GVv5jCqs4QWbxDff77avYAOS54Y3cnN50rsb5lixdaXYUfJaZvswbTGTZqZ9ox5WLdCMBeV0h56WdTMq29uT88yRDC3AtolyWejvH+r3a3sIaGkKVKHz7xbeS+hTrdtrzBhmkrAxKUyiAwfj5qw+q+u/szxVZIOa0Yn+JVR8YFCJWpUMuQPOno05Biaf65GIhJvX1hFRDKqT6e+1FmQOJqXG/4H6YtjpzXHi596asH2w8/+2xf63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/ISJyTWG1NPP0NEdwYAQLFBaRtk8uuJ4t33x+f/Ukf+PWOmrTRNDHVA3haHn0jcfl8I2cOXMbnwZGoHB6sza6+Xxu+cSG4OLa6YxnTHf89/zf1iAfo+jldlpA= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b785eff-df15-4ede-3585-08db14cea6ad 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:16:39.6338 (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: 4FcgdtZkEhzD8SqnDvKMbZ+Egx9omVBscRT2o9h39XyIlQbJv2DtnTBNwt5dQdkHCm/xk+p2+Ot4f8xw98U4XA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 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-ORIG-GUID: kFSMlKis_qcg46bWUVbdthemmw_BGerd X-Proofpoint-GUID: kFSMlKis_qcg46bWUVbdthemmw_BGerd 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: Christoph Hellwig Cc: Marek Szyprowski Cc: iommu@lists.linux.dev Reviewed-by: Christoph Hellwig --- kernel/dma/map_benchmark.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/dma/map_benchmark.c b/kernel/dma/map_benchmark.c index 0520a8f4fb1d..02205ab53b7e 100644 --- a/kernel/dma/map_benchmark.c +++ b/kernel/dma/map_benchmark.c @@ -356,4 +356,3 @@ module_exit(map_benchmark_cleanup); MODULE_AUTHOR("Barry Song "); MODULE_DESCRIPTION("dma_map benchmark driver"); -MODULE_LICENSE("GPL"); From patchwork Wed Feb 22 12:14:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149123 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 1EED9C61DA4 for ; Wed, 22 Feb 2023 12:49:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229557AbjBVMtU (ORCPT ); Wed, 22 Feb 2023 07:49:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232012AbjBVMtT (ORCPT ); Wed, 22 Feb 2023 07:49:19 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1057F34C33; Wed, 22 Feb 2023 04:49:14 -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 31M8xrDP022840; Wed, 22 Feb 2023 12:16:46 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=SGtRXeJfNFfM/gBHhH1VwoE+tnJqvkB4bqZxQM6wlj8=; b=k8a9fd7P2UI91b0fR5rm+e+bzlLHBOkb4PE30J7wPx/PVRCaK/yxT4h29cmh9Y3Q2ou0 pPluNlN3Lm21mq/phpIrMcdJdrd1pNcjfO3PKujcfcZUWah5MNw/yBo/WQt+B/bkjM4B 8Pc1xvO7xLck7Mfzg1AF96cWWIue01JV4DY6O0jFNkTQbAq0bEO4kyoFyCklVCWnyHAr Lm7YMB6GwXKqXmAR/UDvWBUoB7Jk4Zi/LH2j5PC6hc3NhV+dfCJnlvCbmgIcbleE/cqw gdqdI6MD8+agNNi2TrhRUVs8QvOckSTr7TJiG1sJ64j01oHCSIVVjCdKuBRfegGOG6WS zQ== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntnf3fq86-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:46 +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 31MBJD7T023916; Wed, 22 Feb 2023 12:16:45 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2175.outbound.protection.outlook.com [104.47.59.175]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46j5ec-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jTREfshGE7ON5olB8yNu+saIRjmnA+BMwwIjznqtuiqRPrgG19CWhuSWbF1SL9O7HFEW5KimHYuZ6MhMhZXU+2pSXdr92qZHCMeKp5FTaP4efXc/vbZvvaCWqeUaR06mYhSKqiy6/nvO7m9YCbL19w1JW1cJ5ZHdTWKSwXfOem2IzHmFj+e/9nRP9hbm3xpVnvaBZoZW/uuJMAEsBc20RbJ1dke88/fo6I1RkSvREtYg6k7Au8AkeyURJ6mIGvFAu4caTV3YnLj+qEpLOL75tm4MTF4VBl7g3Jtejk4jCJOtgFhMElcgPFYn0+FKyPMLN6ccVEMjRJFJphnQOCZ8rg== 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=SGtRXeJfNFfM/gBHhH1VwoE+tnJqvkB4bqZxQM6wlj8=; b=jZnx4qz6aLIRE4/bQOSX7DfC432CSThG18ZcIujw6Urz1dI1T4gKz42SsjjcNyuX1pLbAygGsZKnTlfUcp9PX9cKE24lhPVqUm1TWqWLRA/qntLcNqswKV2j1HYAP0OarlmIdx6SNiyLPNdBVaUo5vnOY+whj402ZZY07t1lV+/CDFsj+bmfyohqKosfhPeF10hg9XU92+VhJTueZGix6yr3qpUHSP2dOosQscqu50baXKxmcp1i2ojv397xtotN58MdhH1+lbrlxDjdwTNTQaIOinDi5rWuTP3JUYHEj0D/Z37uU871BD0BBmsC7Br2/RdG1hOhDmDP7K1UUscs6w== 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=SGtRXeJfNFfM/gBHhH1VwoE+tnJqvkB4bqZxQM6wlj8=; b=ZeMMCHpwlPCa67idoX3Fc23CorgY92uCjnvo45uXL8NQ8xRA5/Mt1ymAje3FzlqY9t2UEBRRS3KOHErGQOSujo22XvFWbXumKWHl9042JP/hP01Zlzxm/xQa+nKaxoueYCJvOSrYvCJ9BQZ9bN2yMUGin/l2V0yEOK6UNgnxp3k= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.15; Wed, 22 Feb 2023 12:16:43 +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:16:43 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Sumit Semwal , =?utf-8?q?Christian_K=C3=B6nig?= , linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH 22/27] kbuild, dma-buf: heaps: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:48 +0000 Message-Id: <20230222121453.91915-23-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: LO4P265CA0053.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2ac::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_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: 3cfebb90-62c8-4593-ee1c-08db14cea91f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QtbKnKvNBdGSmELJvDMICAJMXjvVd3RFfj+gm6u21/GNM1ROLfadlLfQsVgjLpmRYhktZQ/8112Z5XEEgO/El9fX1xap7s3NuEwwXhwzAOpTkUFxPHAeBxX6lrfWzUpivUQ9LZZDAWegUX2K40skc6Bxtq8a+b1XjDbMyqf03b8upF90/2vlbIWpWOkBrZoNvKAjdMZoVlrAR3C2s/9c1GaRq20kHlAeiiifwaQSjgSRTvm7/qm586htpqKopijRruNdkVt7PD2xVT+MhYwa9mkLu7qX/As4O8gNatkAErsEusNVETjSvnvh7TMns8lq54CG2OQ8iQGQkemo1PVymAvfADnofe61ig/YSI3XpRwSpvwBpAgQXMTv3CPVexAmiR+40lFaNf7M5vgZkkEzjXI86AxqA6q58RWNEAHe84LnIF5i8Mpe3MloTwTKc4dZRUGXnGhyTgzVdFqEo6yo7XEWFlaKbhbe/ahROwY82+dhuV9oZMjw6mCWVLcI2gPsx5BLPUbVlfVKRt55IAXxA91cscOO63L9QR/slNLpaKBLj8WMrUkE7mVNahvosOo/pbY5l2ko0vOWj07Yj6kCU8ptvYRsHB5xmgW8AOjr3rtCbcy6t5pnovoy7KRx5rUXii9AJTrE8ivr/vhEcvwqYA== 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)(39860400002)(346002)(376002)(396003)(366004)(136003)(451199018)(36756003)(5660300002)(44832011)(83380400001)(2616005)(6512007)(478600001)(6486002)(6506007)(186003)(6916009)(66476007)(8936002)(66556008)(4326008)(66946007)(86362001)(41300700001)(8676002)(54906003)(1076003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?qMzApThiaNzEuEy/QNMx9EcJqEbI?= =?utf-8?q?hncglfEUareg4f5xkrDXu2Y884IjT39iMxmSeun+j4tgDbcv53iOcjWJpNzKyjD4B?= =?utf-8?q?f27XcZogdQLnTeHHCLw4q4vUOLjvKqbjpWF5O2HkCcr4IBoNUY+Y+Vh0RQkWOsmrE?= =?utf-8?q?MJ+8eRnmzqFCJ2/gr3dNjO9BOboS3mzWA4pbyjYJuKPhtabA6iLfXdN4v3OJP0ACu?= =?utf-8?q?OsLjnvCkVXMEncg3x2gGcjVTH5jBDsHC3ewsUx0yc7q+CNnG/t8vmTsJsjoHVRVv8?= =?utf-8?q?y55aZ4VBNXpQMIIlplc5pVjApuPby0dvRDnJ6ykZv09ntWEm5fSxwmXOhrPIbAlax?= =?utf-8?q?pJzN4fWitLnpyFm23Hk/kAyfDuqvNjfxt7AnJwNIMngk/jj24lkguJ+BsZ3OugN+P?= =?utf-8?q?hsvHoN2KIKpkJZLpbQXETmWraEeMVrNworW6i/u3vzdwbiLEhc/6oa7QtQd6Mv2ua?= =?utf-8?q?Jy1ENkUFTYxIOELTCAP84lgJWEDuBzK+GuzgmAb7b+xf7aDXd0RiDPSFtlpBDzFRV?= =?utf-8?q?prZtm/q5yLGA33Dtb0JqRMsUcMB82Wt0bhfXYxqgK7YmkAyQTtTzZHTWyF6Aijgpq?= =?utf-8?q?2xmCat6uTOPt9uh7yfrBxKtoT2R+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Xg+oUZruIzBkHkHjB0?= =?utf-8?q?r1KsUlS82OIlRsPSxO+B/HWJqop9o9DT1IVjUpoYaFKTXE65lFbwMKE=3D?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: =?utf-8?q?kGjwku6vD92L5+HN?= =?utf-8?q?ZG7ngiToCesMZbz+l6X8K3atcXJ+Qbw+Mysf6JJnta5GMSNwiTYQIy4yIAU/Y1Q+r?= =?utf-8?q?b/5DFvqYCzoDCik57PIprvJ19yt+PiSrdCDPiljltEwyUZv6L5dsIVcb9743Cupd/?= =?utf-8?q?SXbT48k1RaMYgGyT3rP/V7jUW7iFNRapUMz/aozMTs9w23wKHHh5sKO6ieii3p1B4?= =?utf-8?q?xY9Ayar2BAc4tJ4P4VGk+OsCxoZ8GYxeC+uvDabUnvY3Y4PuyskxLfcVErxk9Epwf?= =?utf-8?q?BwYmsX4TLkblu7jRTkJADQBnGkYa0sUJi712ep+yc1AU17iqYj1kBdAEc61Cy2Byk?= =?utf-8?q?X0PuoNJ3/YzsXdij6IjZjAe98M1q7UC4c9Igz9MqYRqS1C7kfV6HEr1WEY9ZElYXJ?= =?utf-8?q?+h6dkP6f6z9teHdwqs7gjUkHvZpoz8Qs8fuKNQUievMSLKTyddl6XpTS39VomB7mJ?= =?utf-8?q?XerXcJMTdEG5hbsOS2bkq0wl/XdbExw4+9mPdbxgGhiOecX7ZGIHZkbL2XtKoZBfq?= =?utf-8?q?3xl2LCn5YhoVBr/WvlkUo/oaMbBxNDXHEoHW7J4hAlL9MpGuz/iQK3hKtq5poo9Hi?= =?utf-8?q?JINiA13YXhJz1r5jNlBH8uYYL5ZuwXuL5CBGYtvliMRQ8VnCcQBWcr0IYzux94n3G?= =?utf-8?q?K1Kzv4KY35pCw/3DjTMyUnPSF3z5w/wTMX50HVUhkVWfLY6RL5+Nqs/g2vNmybAOU?= =?utf-8?q?UbfvVo+ncYAZJXmaYsych1jcd00lEpkMXA5hPBBFBGVKTroMipNS7J2gZn87L7oli?= =?utf-8?q?Zsnzy5ZjMNdU8xHEKg+J8YSC4NDE6hWoIx2iTiHhdIlEeUukVqUeWcEjcvBwpn5ej?= =?utf-8?q?pNHEpvmtDy80L63CuZWcYy7y0C4r97Xgy+yQTo/CTgUJ6GM53krHbxKPYJa2ekpp1?= =?utf-8?q?y8s27vZIo4ODEZgboFPk1e90//S8WZ+N/RJ+Jyi+xVjKLJx0iIlFmhD6lm3P+lcHZ?= =?utf-8?q?2vKsG5NBIrkI=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3cfebb90-62c8-4593-ee1c-08db14cea91f 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:16:43.7422 (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: N7WygTcLIyOy1GaI6WQUv2aXvtSRJAu7sauU+RMyHPSLEqPbflUDPzGitrFdZDUwwBIuNYpS+twfGJaM+Cnpug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 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 mlxlogscore=999 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-GUID: tVI91aF08oC61edgE4ziXez_K1l3Aryg X-Proofpoint-ORIG-GUID: tVI91aF08oC61edgE4ziXez_K1l3Aryg 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: Sumit Semwal Cc: "Christian König" Cc: linux-media@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linaro-mm-sig@lists.linaro.org --- drivers/dma-buf/heaps/cma_heap.c | 1 - drivers/dma-buf/heaps/system_heap.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/dma-buf/heaps/cma_heap.c b/drivers/dma-buf/heaps/cma_heap.c index 1131fb943992..a7f048048864 100644 --- a/drivers/dma-buf/heaps/cma_heap.c +++ b/drivers/dma-buf/heaps/cma_heap.c @@ -407,4 +407,3 @@ static int add_default_cma_heap(void) } module_init(add_default_cma_heap); MODULE_DESCRIPTION("DMA-BUF CMA Heap"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/dma-buf/heaps/system_heap.c b/drivers/dma-buf/heaps/system_heap.c index e8bd10e60998..79c03f5b4e28 100644 --- a/drivers/dma-buf/heaps/system_heap.c +++ b/drivers/dma-buf/heaps/system_heap.c @@ -440,4 +440,3 @@ static int system_heap_create(void) return 0; } module_init(system_heap_create); -MODULE_LICENSE("GPL v2"); From patchwork Wed Feb 22 12:14:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149111 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 72457C61DA4 for ; Wed, 22 Feb 2023 12:19:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231839AbjBVMT0 (ORCPT ); Wed, 22 Feb 2023 07:19:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231788AbjBVMTZ (ORCPT ); Wed, 22 Feb 2023 07:19:25 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1C2039CC9; Wed, 22 Feb 2023 04:18:41 -0800 (PST) Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31M8x7oQ004003; Wed, 22 Feb 2023 12:16:51 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=9po34kKpeVMtERAXMZKVnKoD0RDdKaUj15lCSpVNXus=; b=tX7MrKlwhUqDB1jC2YH+fb8PNs6z1uUP75su4LHmLBYgv2YUVLqmWm9QIzz/K8eefvov y++wxvd3Usjtm4ajXz14RmKZzpbE3IzwBkqryUyka+Rs39PhlMQ0cEsvy9ZsDCQ+JCCu rsG9/bI3A280TI1iHhk+3JfK28WM87CESlW8NopgA4KuFHHFUzuMK7NKrAMl32s9683V h4ZqOMPgsKvllOhNBds1bBsfqqSuuedfOZ9Gwluf5VGntvlP5zNfuXn2JwQwiqVmHepx eCbd7bPuDfB1HVU9bbT/DJCjPtAz7d6WziyZYhAXdT/xvrJdNPVds9b5LjF6SN+6YcAb mg== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntp9tqr19-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:51 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31MALiw4031211; Wed, 22 Feb 2023 12:16:50 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2175.outbound.protection.outlook.com [104.47.55.175]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46fmee-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dhJDe0mKvubYTuq1LUTRnImsKAoXDdmdW7qWNLGPTBI6PGpjZQPRAY1ETHx0Qe7ZZP4gVBvHfTwQIyOgEl/ID3HN6FXTdbX6dnWRCVIDNbgaFrHsDk7jqL5qNdHFI1tEonNOcFsEYbkC/Gx+TKprRtGTQeAEwmO5hG3ViakXe4yt4FKnz+DHCU22bAHFIGK5GfgTuWSvdWJGmT4AE5rlmaTo1lRwj4S3fabUuFJRFKoj27mZ3XRSn5DtXmbv8yvk7kqNHlvv9lA/sNnnfG2rgkQP2Js/C9U7Ep2YkFyVRCby46quXdmKm51cA4JWfq3Opfy6B6LaQv6nZq0G1ZF+jg== 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=9po34kKpeVMtERAXMZKVnKoD0RDdKaUj15lCSpVNXus=; b=VtFgsdB0DMfT1ElZSTLfvoqFP2mxDJ+r4AtVyDZvPYJaATXjG5hprRPJ280kPOj3TDG4uXw/MUfZj2HIjO335pCPcYoLwFOD2hGoKZiuaglvCBeJTkg7PXac69eOWqtCsR9BYdkrvEKWZ8H91sYx16BGhqem4SFGVFqGZdhFjkqCfGlzZEj3DVoiHWXATtHExXDgkFkMBu0HSxZzebN4C1ZyxNxr3eiuX3xxs/WTdalpnVcGH5C+ce4i2SORjJZ6mXlEnrlHF8Mizv/rgrSo9+fP/Lw75rd2NCwzDrNKiDh73WxDApBPjS1w/ZJlVjeg8+6tfrVN85fYtyMDuEruzw== 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=9po34kKpeVMtERAXMZKVnKoD0RDdKaUj15lCSpVNXus=; b=UVdd96cKg5M+FipaeMb3JhrMBqt+9t0YIJsknjqNoZ52qcOX9E612Q5ht8nSYG2rgGz1cn6gjG7YxtBewYo808QWTueO55umDZ9uYxBO+NiVaksDF0a+6PaNmZBvzMG++CPCO3RfTyhTrnqCxQlWeIxLddHcjdME6Of2rECGcO0= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.15; Wed, 22 Feb 2023 12:16:48 +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:16:48 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org Subject: [PATCH 23/27] kbuild, drm/dsi: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:49 +0000 Message-Id: <20230222121453.91915-24-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: LO4P123CA0086.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:190::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_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: 8095c324-ea94-4bf6-611b-08db14ceabcc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: l15GKZoS9ns9cFCCxLYKkJqoVz9CZD2zAkXou9Il2naH0pZINKc1QdtgAFEceSCueHFYlX2iBRCjNdn/nisGd3RL1JPaJjmUNWby88L8XwaTcjNuWWlpDSzKlUb78WorGibUrc3vdu3H6BgehhrGj2BILjgiUNJ+QimyMOtQl7VHrY3SdUA+Z2hS0Hgt7gbj/q9DnyIK9oQyiHaksiFj8Zh9TiH66fdoRWPNEjSuSbg8y0K0DiyMeIfs41PEQreegttukDAhgntUxN278szLKBN5WnEtcZqV3W7zKUULl6CIOdcB44oO+IbKRBQ+cXFCsFi/uGqr4/QeX5w3T+OPSNuTi5zSEaQ1a8lJGYmGOSyZt8qtpHSN+8BepB7CdDV3tjFAyUiLq89L8vqzBiAKekmht3oPcKWywqNmCpFOfIR+mp63UMjao9m7dxa1KekjoTK735R+qODvQpU5MBY+L95pjpD/WlIMTlnX4tIyKF0AEEnvnXSLurABMV8ZypAlGL+3vs6YlJo9baz2gFGGfLODiy9Gk9/AQdGLZFc51FKkI7t9PtlizVeOEvSQiBIBWnPcsbrYDR3ovzA3qaM/3LykUp+VUqTwxqpJujU9y9WrjG+JhKIt6K5C51FTx4v1O72ZW4E3NZPcqfOmFiSMSA== 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)(39860400002)(346002)(376002)(396003)(366004)(136003)(451199018)(7416002)(36756003)(5660300002)(44832011)(83380400001)(2616005)(6512007)(478600001)(6486002)(6506007)(186003)(6916009)(66476007)(8936002)(66556008)(4326008)(66946007)(86362001)(41300700001)(8676002)(54906003)(1076003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Mcf1oSGG+9xca3GbsHw7vhAtvrldfs621vCVYomPzvtTdMqpk0gL8P/ItqZ2fD/htVEeGrrLb2sM+EK/TVIK/i7zeynxvcEpO6c3aFTM7y+AKyuG1zHP0K6pSoVsFXhp+sS9tpXqVA9EDpPbWQQqUN1IRuPLnYuW21mlhlw1FVCrdBiHE+LPfv4pYUXbm/29l1ChuBhAXPQ+0LZxLjgRgiwlUwI1CsOC5E1myVVYIiKnv1WpFPeyDMaPSxRP0C7yeKtvN05EL7kDBhjIpEjK94FVa4p+CJdgPPTjVuSbvUrPVqB7Je2ilooM7kGjagzuO6zGiSKswUxco6DLk5TXHrFd1fUN2KsLawgYSr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0CQuYIRCk6MFx/7IvEvF8OWBMfkaungRCk60a5wvK7R9G7iBqkwglOZslZCcKcdYqlllb9/EKDR8eav1liepz1UzzGDgIkCYQ+yAx4M2dECka3UfWB2UdsF9+AknflKXFfGaVyaLyNWVVW6DjGwCd2ShoJ0XRdpfjIOuEgbIXnOtpd6kQGvi7d6i5TrNjbYq9MDREpNUJeufeeiDGxwxAWCEsWKt9vEM+X X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8095c324-ea94-4bf6-611b-08db14ceabcc 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:16:48.2266 (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: uTliqprYugeXjnaTh7HMREQw/rG2zXzdfG3qB7aj8EqQGZ7C6i/z87btbHr7UrkYWr7yhc6KTHFGglDCyNXbvQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 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 bulkscore=0 phishscore=0 suspectscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-GUID: 2Z3xJNIxm659H2bSaR2mzwloFhanCcJ2 X-Proofpoint-ORIG-GUID: 2Z3xJNIxm659H2bSaR2mzwloFhanCcJ2 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: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/drm_mipi_dsi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu/drm/drm_mipi_dsi.c index 497ef4b6a90a..4101d9780059 100644 --- a/drivers/gpu/drm/drm_mipi_dsi.c +++ b/drivers/gpu/drm/drm_mipi_dsi.c @@ -1294,4 +1294,3 @@ postcore_initcall(mipi_dsi_bus_init); MODULE_AUTHOR("Andrzej Hajda "); MODULE_DESCRIPTION("MIPI DSI Bus"); -MODULE_LICENSE("GPL and additional rights"); From patchwork Wed Feb 22 12:14:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149188 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 69BC9C636D6 for ; Wed, 22 Feb 2023 14:11:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231258AbjBVOLr (ORCPT ); Wed, 22 Feb 2023 09:11:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230406AbjBVOLq (ORCPT ); Wed, 22 Feb 2023 09:11:46 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA29636FDA; Wed, 22 Feb 2023 06:11:44 -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 31M8x0Jj001203; Wed, 22 Feb 2023 12:16: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=88KOuSRbfC61Ww7DbSMb1A6sxwOw58WRAstUAecAxz4=; b=Lsd8Kc/JCAp+tnO7aL6NGl7vTacPwDCA0fhqk5youf4zY/iGNK/Gd0WKpG8VvhflZ475 OfB+xue1vlPBr7tdMcnyRw/E3HZsIyaZwXbTUOWQI2y46V4bvUVo6FDF04ggRUJkHCWt JW4zWwo4uWNfh5hkBryyk6qiMF/+LISgS6qjeL7lguJqW2D4K1U9cSfrWKVF0d5Q3K/2 MjGcm2KJsXQR2mFl3kQPi9zPlUTNYw3ct6qOywHXUw/UsfmEskqZuJnliuL7Mw5iX1tS HBREsIyE4wBoGyUaLB+d1hysn+V4TvULk2Df/tdRZLkn/TcOiW7+IoJBvhx/E658aN0u NA== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpqcfrd9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:57 +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 31MAn8Rw040902; Wed, 22 Feb 2023 12:16:56 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2175.outbound.protection.outlook.com [104.47.59.175]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46fwhq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cJiBINgbyASGg7X8Xak/QBXoNrw76uNSH0JbQ/mRk6Hq+p+usoXeI9bLtWaql9RXkknoLZsnVY3SQ4dgl4L8qlYRDzHqwnBPW56Mak5smHwE+HSScoGcoAgR1P3UXDa3eRlirMghNej1BkzdPPj70YkTFKA5pUaAkOznUKDRi3cr10VyEClxU77tE4oMhSGt/IAX0Fo/FaxL/Q4zL5Sajh4RDTNG/eNA1ENmuPupq7iLwjBCoxhCLaZgM8hjHRw3MTlOq/Mp8lwlIa2dA5cYSWefIc05jYphxH4iC3M9xwMvmji4ktJKnty68vY4IPLluspMCQ++xjjl3CKXUMZWHQ== 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=88KOuSRbfC61Ww7DbSMb1A6sxwOw58WRAstUAecAxz4=; b=Ud8OjBcnkV8g4pdDfSWcysCyzCJZ/2bv8khBrVAkb8ynVbugEpCMLB5WhKLtMr492woq9/BvX+7cPw0tkH5vYpzJCOZH6jur2iItisapuLmb0AfUAc1iDOdggUuk6M1j6VheJpDP6lTuluJpzXeB2rmk5/kxSEN9+Nf/xuZOEiPRu5VAJ0Qt+B/TYp/61IQz3R3rZ/SOj/wvoNuPU+b6q1STC6sRD9lmDT671NVa7tGQyObbFQVhhRGsQ5CCLrSaycjWB2EPXUhtryoI2ZZQ6vH+WWAMj69btn0gvjz3a6FxE7tsjdPy8XbhTNZpNaVuA0YTp2oQiGmLalpNGf+ctw== 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=88KOuSRbfC61Ww7DbSMb1A6sxwOw58WRAstUAecAxz4=; b=LlsHgmNH57WtliECHbafJJQYY6zQBTG6nz0guCdGTYuJgNSVE7N5iqxsDZxcDEg7vd8SkPZX9rhh9Jb28twD25RcjHO8YI0je6O4MZACFoI9SGyI5KKzvmY6UHCFoVK+o5HohIDWxWUxX8xTeimX16F1MSoI6/493p37R+tnE4g= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.15; Wed, 22 Feb 2023 12:16:52 +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:16:52 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Alexander Viro , linux-fsdevel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 24/27] kbuild, binfmt_elf: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:50 +0000 Message-Id: <20230222121453.91915-25-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: LO4P265CA0110.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2c3::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_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: d94381ad-3400-4a50-8052-08db14ceae7c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /BRbiflH1d8E7w5ZgGJLg1GvTdKS1CcIrfPJStpn+IQruRNXoQeBBpDWhnSAHhtN9uilDyW+B9RDU2DVM/5kLpYYHw6NBH+tSpZVBD9QuT1w1mBKYY5GDxCZz5XbyHEFZUpRbLFFLwSaQ/SegAllcE6mak71GLRzvHhhv4+4dhxNbHo3Up1elNFS6VsoJK3IuG17fXraR4UzePmvx5+HFPcodnXmm4pnX6NMyBsMvApFtjsyMwZD4Gi4xQ7ZHEmZMpPyZs4Umbb9bFYVlvcmbDhooZY2f1FvMNLo1EafYChwr3t1BLrJJSUqVJlThtK4yRaPJBiS3qr8uSgaWVfcrjI3eU9myaSiNM2Yv2cOrIWxTNqGhpoVGL8nOU8zw3C62JKFa9HifvBEaM70gNHtYyQwHFMg0NOe6+GBV7z89lSf4ZOyi0Ry47OAOWRV8ql1lEzWOn0DkfIOaKjWWv/QTgiRbWvtv95kzVXs7c0hWI0GgM+4vPOZ8cVy0SoViHQqN0MRZpPqF3DwKob9i54/3dbNfwzoXlb9jN3BTpu+zAFiWN3E74LKnEVDnu5sDUg5v65PnIOXaf58H0g5XSweImi/4ajHO7zm5ew+e50WIPOMxdSL+h4y/jXHpuI/89mTX0UrdaNgXFD//jxNZToeTQ== 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)(39860400002)(346002)(376002)(396003)(366004)(136003)(451199018)(36756003)(5660300002)(44832011)(83380400001)(2616005)(6512007)(478600001)(6486002)(6506007)(186003)(6916009)(66476007)(8936002)(66556008)(4326008)(66946007)(86362001)(41300700001)(8676002)(54906003)(1076003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zN26pV8GUFCAjhDCaPuFFfb0iwP2ekB3FeOCe4yMj8xq9BQU54EwLZB80bNAU12eJbSJSRVKgjiRJ3iVOUM9qaEOiGFVl042D+0F7oz5nV4QEBevdGbZNCmT1M231mFgNpaZsgYFe9ICLWxcncBbCj/zcgwAO3dAGzD0OV3PEk0uGBebJsORd1fOnfV4P5arIp1sskGkAyMm+xsj6lb4/Nc3x/0Vf6eCuh4j6XDvSc2CLsajMbP22HWiAE1o4lEkrK10QpLupENqoT62RnNrq39CC6AlPYblNOQAncBkNMPtrGwCBAu4YDc0z5dj9vKPoMcz6RJeFyiWBPkFhYcWSKHt1bVRJd6P8qQEmt652JpRh1aDb5KFRYw+Dm/bxyk5UqwHIbacLLdvkdJGCqy31aianxrIBsUx7r1ZU/EHftnTlW3SnwV7HGAsvZ+/St08DE7kxysw4LMFmQFwsDPYFYM+pyP84XB7KjQ7Jf/54Jyh2q5bOM+4/LRxxwm6rSpkfRFklTpJ954I9BSe6tlIexhO5TSYwYUw4lTxGCjbxjyFeSDyruTcUS+dc5UYlatGT4YTGqvCwbDOYcp/tvEEdmshqWz/QdNVBz+hI8Ado4FVvwy4jSZSdXC7e8a/LVJRmrVii9IN9Ss83q3flko4k/vHfIr+Ra3GNCTcl4qMrMX21Dul+kEOgWmd89REhmMxLmoe5hKk0C1bb+6JIWoTi3I2/DvlqYs4pPRNFN4LFUsjNNxqPA4olj1Q0hihB6WoHKFS62Uu4RA4Zt+9TXeDd9nSH3gisLQ8JF98KYDxUqWdFpIguI0Th1io2phFbUVWdmY/D6jLPNECrQbbKkaP3IW9R1UD+rl12nSNdqHtoesknaxw/r/BZ0792Irx1BWV9Io+VQNaPhvPd9ZhlqmQWJywJ17kfIZSLyP6W6/oX4khs6SaBbw5XPdXfK0tCl7XHPfI50pRXlo85xr7Xc/LHYm6JpYFYYFWi7vtHzSaqIkrpzBGIREJV09av2M41CLFjK0TlB4W715p7Ty0+DrTuyblqy6PiJ+O4P1xLBnXHCCmSHBR2crHdV4Uah1+Zd1ki0PyBy9pU6JQDbVVoV/08iGH/dCHkY9L6+MYwhmZFufKcoIr0qkOfLtcUs/EyiPdU7BwwwHiDRZE9IkrTsasu/EVB7CrLwgY5U20hGUaSxaqExmefenrj4AFewMMdSxfIfWCVVQLZtTdODtjY4ARrSuBlETAFWtyFKdB41aqPUqUqqiy22t2k+eYUEXsPDOWS87bz1ibzHva0XraV/WewbayA90Ylxf+j0EjCQkwIDDNAEi6V/jxirwDtV+D3TJwnEKgdstNldM78GVMItRmR0Jvmxcqh139dM3icS8u2lK9AySLIInfYBK2TH3Yj1yoCuwrg2NnlSn6cLASsnfriD2nZuapUHWKhYslqzw8fy14Y4yHnHACaW+/7qWDZCNxXiwGaavG989D63TQSjNs5MIv3KcsgE8aIT49dUr5HEH1NGcj348uo+S26b0sf+IpOdpA30j3OgeuY4RseT3fOgOjPQ01LDrB6xZDoMA/Dbbh0ELjtETbqxkR8wNo6SFY3Q0FzcDSSaI8rvyc/0qBEJCJGm984tLXF5K4MVzUOeo= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: FVPhoncL0gvMWctRZkkTmgRrB/iljdTFEd++dsBknhFuyKLQeIbBgoGEASlHHfyzZaqRPXk5blEa2ekQzHGPyps3U10aafJX2jLfjTkK7GfR/c4jBOwc7RjmSOJwTeMGUR1845kVMljbKxlnuHEYrEVtSkXIxKHGgGaBkN5pKjVamuFUizC0kTVCddviHxoziIov3uckxfYI+ywd63q2g+TDDQtL1LWuiYWDNlB8VvOsGq0I6uUls+1EqR27q24ExY++kxz86RWW7VQBH4mt68nChsZqSHLzx3WPimYVPBLJr3WjRkcgF0O6g1V+BPYI2CHzZA2CC6S07yZH0YMrg1LyGkVlqeonKL5dK4AnzzwHebAcpkTkfy/67Ia9GcKRG+7TRfvK/S7FZ5GmrU8T5BWt+ECDZGfQh/APlw3nNPt6mrOLZtQt82rCTO2PbW9b8ACcF3B9WoR29oZW1dJ6OR8hrb9hBpLHjPBHAFuMG/u/x1jUREmQpO9DZ87LKzLRcSvcoDBBQsDEVPjGHOj3O9nIOUzYt/f1AXedutJF9pn6oMyYLr+1Ux22ix+t3W9flG+JDGkkob7qMbV7wR899kEtQaDhkdp7fvgXjBOrnIbrEDA9lBUaQev7Sl2ypvkQIQor1qn6RGCBf2voAeHNDrNOHk68kP7pIfaCnGoLqD8rK34xIU60by2h6JoZrvVz7W64NlApBLLb5Bo+FbJuYneRq4+ss+f2+i8BhOaxSiHZHTP7YxMhbOED7BCR/MuV2wCYD8wcJI8Dt+e2r1dOMx/WJrLcIOFuytXkTeEYO4rJEkiE3Jax8gt3TP+TVIbgr6vSzh7SHQ/waV42/dVkQXp93nN4FZjDnwSToB8PRCHQk2upM/Dgn9yKSU1k8F7+gZU0v8Qks5p3nxOMgl1vxg== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: d94381ad-3400-4a50-8052-08db14ceae7c 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:16:52.7364 (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: oNNLkJfCA55ciZvCYtlLvYEL1b2rY8KohhpXVaymO98saUUkvLpL8UGLGAdKzOB3jbJLueVnIOqmRVPifIL1Dw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 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 malwarescore=0 spamscore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 adultscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-GUID: Xm68ASdTJoe-b-r96L0yUaHX0e8gdFe7 X-Proofpoint-ORIG-GUID: Xm68ASdTJoe-b-r96L0yUaHX0e8gdFe7 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: Alexander Viro Cc: linux-fsdevel@vger.kernel.org Cc: linux-mm@kvack.org --- fs/binfmt_elf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index 9a780fafc539..40e87c0eaf15 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@ -2169,7 +2169,6 @@ static void __exit exit_elf_binfmt(void) core_initcall(init_elf_binfmt); module_exit(exit_elf_binfmt); -MODULE_LICENSE("GPL"); #ifdef CONFIG_BINFMT_ELF_KUNIT_TEST #include "binfmt_elf_test.c" From patchwork Wed Feb 22 12:14:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149172 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 EC6A5C636D6 for ; Wed, 22 Feb 2023 13:35:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229802AbjBVNfb (ORCPT ); Wed, 22 Feb 2023 08:35:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232071AbjBVNfa (ORCPT ); Wed, 22 Feb 2023 08:35:30 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14A5F3C33; Wed, 22 Feb 2023 05:35:29 -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 31M8x0H8001209; Wed, 22 Feb 2023 12:16:59 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=6CSUJ2fVnygQu94tFww+KSS1kwIc3t7JRp8em+javqQ=; b=CFXSQ9hIWHE9IuayeiSqxf/KwvBeX/wM2vW/vKroz34SOgAhJurSk1NgcUfzEIybKGK8 X6DX7rNfyCCAcT96jsxvwDh3VmTAAfILA/LmKMrS1BGNdKtKV55gkUU/yDMfwpZmVssa 4hdZzYqFnfd0SPeMOp7uYNEFMxyw+OmB+2utnHlQeZls2jN8n5gPhZBL6bdBN98ChsYS IfgpAPTYrUjSd15r18ocXtO+VgHkWgBp17ubi0k6pzxqEzAlMSy7WUGYzPf/oFziLKH8 l0hYIGg1t1aBD2hnN3HHBugWWl13KWM0uvSVXln4OY6ji/piUBZLk7ZT8HJtIWXfE+JK tA== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpqcfrdc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:59 +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 31MATfpb023474; Wed, 22 Feb 2023 12:16:59 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2172.outbound.protection.outlook.com [104.47.59.172]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46j5n7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jpI2lka0jbLKBW9jssKEmgy9AY+4OsBMBJYuoYQmWE3agKy7QA0le+orv6F+9wVnue4qQUh4STne2dvghgslfz1Wldsp0lll+z8Fxegpy3BwOrsHjG1HL25iTctLv4ExfVALJIHCx9FBuZ90oaJUaUTt175nUagno1SOzvN6UCt+xViaiMfxxjD5N8x+KdRYl1Kqoq7aR6TzwQmcFdZ2vvQakUAEHLxnIUXIEia8nlZk04gQshTgnowMP3HcXgYrHTBcHn5QvXDTNIyJnnp5dusty363hXOQdZIsYLLUdym1/XzLJ+eVNCWoxUg+Dy7ITkBS5BHa3ymVsLGEdidCmw== 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=6CSUJ2fVnygQu94tFww+KSS1kwIc3t7JRp8em+javqQ=; b=GpKuQ1PGECY1RwtbKGgfI7FkMWBKFsaskzNF0keVu7qqnf1Lhc4lI4dHmqGvC2mVxFIhyARemOT+qMpMv7YL0/h21tC+Bwz22UnCHbg8EDCKNvytBIW2WXVgoiHaORIJB2hWvrgdiAYI5Uyt/rzYaZNz7I4Pl6fnnjkko9DfHUIujZ8tZHmp6bUhtqFGgwSUZ9S0Y7+AxivUa1Fkm386fY3HfvJechM6tYPvbPAeSCTyQzh1kVDhZCpOwjU4cdqB8NzP46xz3eNMvAuE4FjqR+JaJdEVYR2Rbj5nUklb3QVH7dbnFmRwYC0/I3CF4kicjXwI/alYv/1k+Ao75TmfAA== 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=6CSUJ2fVnygQu94tFww+KSS1kwIc3t7JRp8em+javqQ=; b=fvG+gb45x5BXV5kbz5zsJ1AsiNiZKn340t7iiAbblP8BGIrE0Uk+RUZ8nCVxOB7espU8iprXTYPqno2MGb4wbEfjJkSsk7zvhhqRN2/fcNbygCmwAHzHGd4DwCTLAwy0z9ssurGjFTxonzhgmzhXNqel1SiKYcqVD4Hf9xlIn/E= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.15; Wed, 22 Feb 2023 12:16:57 +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:16:57 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Helge Deller , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH 25/27] kbuild, video: fbdev: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:51 +0000 Message-Id: <20230222121453.91915-26-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: LO4P265CA0069.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2af::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_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: 9f4fbe0f-f64f-4cbd-618f-08db14ceb107 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: m3J0wuH1f/igTyWB1hmrSNDzUA94VNPlnJpKBBUz09OFw2NYfnb5YaR5/pEb2cdpcclXzvIX7av9bO+cX4OTHBUyR5+aL4aXQibv0E/CXHFzZBHbdRUAyGCtv4Zp9zVGBtfGfcDhCqvE5QkhWvYXczyCJrmpEfk8ePoGQGDvXIuXwcDjxDdOu80DHcAJmkcdXMIm+cZYXUq/vkRBVTH4gZXG0EXUBGpatRj7SSbir6JpcljPC7YkH++EDJvswZDHRUJ8z83GYugVgU8TqF5UnKDGv9J59RL8IDwSOAe+oCgD0J+YQx8yDWLhe0+IUmlvYqTlRbKoRfQBJVJdd0RevTBFMC0ZEMW3OQZNnCHYrHBhl8tRGQxVoz7cEEbM/8fhauOfhYXcgGqK/3/y5kKd0cfj3EjXnW0eCx0eIGz5ZWiG6QkRU3EiQaY/gt70ro22/orGqWjFBepTmEy6jAh8Lg9/muVXhm4DZW8efAhk0Ed2rnmdhaKKPgcTwbAdXycgUQy0SYLfY2WlOgqnoBcSe622o2ZdhGEX7LLgRQkHVWkrz36LHaNLkb08WIRDY6rfAYhVNE+Ut1yZ1t9chzkuc2YahOEtOEaWEGq5HzAndfgGBVp4nwhRJedV90eMgMGBcb8ucZbFqkqrD8dyYJMdiQ== 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)(39860400002)(346002)(376002)(396003)(366004)(136003)(451199018)(36756003)(5660300002)(44832011)(83380400001)(2616005)(6512007)(478600001)(6486002)(6666004)(6506007)(186003)(6916009)(66476007)(8936002)(66556008)(4326008)(66946007)(86362001)(41300700001)(8676002)(54906003)(1076003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: n3H0a/K+l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GABmQl004rpwzwKcf+UdhKGTpc6qwvZFwFDlCy6ahH2uhVH/KZu1YvKWoJ5MyWs1Z5y1+gf2sPqg+8nIdd2KQ3YBFZTnwaZnWLTOiE9stJD8AL3E9sNL2dT41vbPkw+WwAZ0JQDPvwSOrt2HPKVWBl+CDsolSB7IxQQjtcFAnuGny2vgjNQcFSXOadWHLryJl2jpSPLFC/+5UcPEyUKBHu5R9rn07IrYEvK0c4h5ZA1NllLED58QHAtkU99Nu0LUfgzRmFcbrFnspt/v23H1SEo1CzOJ2S84n1fqOJlr4ZEpb64zPdnEsYZ99XmEevl9fOLwqlpIi18q4mrH8LUYTjgiPbWJF61DgIEqy9tnLo4Hi+b6Kixn2SCTr48gCyOeTIfcBd65I1UC+vDCs2RsZEXyqdrOxtVORZxEJgsw7bjX9FyM8l7d7mr80HCm8QN6AADgrYT0/ZaPmISW6n3tuwTbjQgFFAWyzwA== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9f4fbe0f-f64f-4cbd-618f-08db14ceb107 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:16:57.1114 (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: flDBULmBxiR+cmh0Hj1mBz0Bsu2ktS/7x5DX4QdfkZViqavrIkTFm7T6TK+35cnf1ZXkITs80NYjG0KGUkYHlg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 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 mlxlogscore=999 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-GUID: bXZAh0BILeOg82KlkMKgYVFGDiAnc0eG X-Proofpoint-ORIG-GUID: bXZAh0BILeOg82KlkMKgYVFGDiAnc0eG 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: Helge Deller Cc: linux-fbdev@vger.kernel.org Cc: dri-devel@lists.freedesktop.org --- drivers/video/fbdev/asiliantfb.c | 1 - drivers/video/fbdev/gbefb.c | 1 - drivers/video/fbdev/mmp/hw/mmp_ctrl.c | 1 - drivers/video/fbdev/mmp/panel/tpo_tj032md01bw.c | 1 - drivers/video/fbdev/vesafb.c | 1 - 5 files changed, 5 deletions(-) diff --git a/drivers/video/fbdev/asiliantfb.c b/drivers/video/fbdev/asiliantfb.c index 8383468f5577..0d33c75afc48 100644 --- a/drivers/video/fbdev/asiliantfb.c +++ b/drivers/video/fbdev/asiliantfb.c @@ -632,4 +632,3 @@ static void __exit asiliantfb_exit(void) pci_unregister_driver(&asiliantfb_driver); } -MODULE_LICENSE("GPL"); diff --git a/drivers/video/fbdev/gbefb.c b/drivers/video/fbdev/gbefb.c index 000b4aa44241..39e89b9f8dca 100644 --- a/drivers/video/fbdev/gbefb.c +++ b/drivers/video/fbdev/gbefb.c @@ -1285,4 +1285,3 @@ static void __exit gbefb_exit(void) module_init(gbefb_init); module_exit(gbefb_exit); -MODULE_LICENSE("GPL"); diff --git a/drivers/video/fbdev/mmp/hw/mmp_ctrl.c b/drivers/video/fbdev/mmp/hw/mmp_ctrl.c index a9df8ee79810..8b2838a67b76 100644 --- a/drivers/video/fbdev/mmp/hw/mmp_ctrl.c +++ b/drivers/video/fbdev/mmp/hw/mmp_ctrl.c @@ -576,4 +576,3 @@ module_init(mmphw_init); MODULE_AUTHOR("Li Guoqing"); MODULE_DESCRIPTION("Framebuffer driver for mmp"); -MODULE_LICENSE("GPL"); diff --git a/drivers/video/fbdev/mmp/panel/tpo_tj032md01bw.c b/drivers/video/fbdev/mmp/panel/tpo_tj032md01bw.c index 34fae588e202..84ed83ee2366 100644 --- a/drivers/video/fbdev/mmp/panel/tpo_tj032md01bw.c +++ b/drivers/video/fbdev/mmp/panel/tpo_tj032md01bw.c @@ -169,4 +169,3 @@ module_spi_driver(panel_tpohvga_driver); MODULE_AUTHOR("Lisa Du"); MODULE_DESCRIPTION("Panel driver for tpohvga"); -MODULE_LICENSE("GPL"); diff --git a/drivers/video/fbdev/vesafb.c b/drivers/video/fbdev/vesafb.c index 929d4775cb4b..73b35fc67d8b 100644 --- a/drivers/video/fbdev/vesafb.c +++ b/drivers/video/fbdev/vesafb.c @@ -508,4 +508,3 @@ static struct platform_driver vesafb_driver = { }; module_platform_driver(vesafb_driver); -MODULE_LICENSE("GPL"); From patchwork Wed Feb 22 12:14:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149112 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 7F629C636D6 for ; Wed, 22 Feb 2023 12:19:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232012AbjBVMTj (ORCPT ); Wed, 22 Feb 2023 07:19:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231992AbjBVMTh (ORCPT ); Wed, 22 Feb 2023 07:19:37 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 281E9392A1; Wed, 22 Feb 2023 04:18:56 -0800 (PST) Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31M8x8Hm011289; Wed, 22 Feb 2023 12:17:05 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=McxsJ7xw8hGURuOvqjqA3eAo2XMuU36PPRZmV55rBFE=; b=ZGyA4YikEVvtvisITt+QEvsznyRInBvHKH/hQ8565yKCm2MX4vpOLKrgD1sxh5t9YZh0 kYmbQjbgNtFGzvGwl8xtXFSKSrP8+yMsoduyDvaajBbpgBjDN0mGUYYZpNExgh0bmUz2 wavlmBW9fE/fy3/O3dlLc03edUsgYmPpienuKFTyT2LfRlBZMNzeo+2/PN/SmrnRHd2t 17tPBCsvFqdCFUnuFAi0hrOerIwkhHEG+gur8spcFVLE2AiiNzPs8DlULC3Elll4+q0w UdXiOIhpwwsvb6i4azNUPSSo8QmOLGSqjb5zI1ZSyvTIrVG6j33wA/81kq8FPSy3Ek9r EQ== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn90qqq7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:17:05 +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 31MBimc0006828; Wed, 22 Feb 2023 12:17:04 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2169.outbound.protection.outlook.com [104.47.56.169]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn4d21x5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:17:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mo3WTV8jqiRhcVnEIVr8pQcohvy0VX7uqveJVFhVW1AQsrJz+8xITOEFpQkZOATLH0AgJsM7WH0HHnjJkfpt1Tr+0bGheZmmHPHrre9XIQcrCy3SkBKNVCwadDzmYJWCbtK8qR3jOHABqRuw8NnWc9FMv2hyknd/WSBM0YG3rwCnHFs+J8C/vZ2jtyBowFaLw6tUPTTO28p085jYyhx7boCybQTgbx67+0VrBuDrrEzFLJ3PY1fYnIIYqPu9vT2h6IdwqSAU04VGWf3R1suxfuzLbd738NvSMs96A5s1THT9XsTIj3KvHqVwFb9z0VZXT3OYUkFOTc+eMzCwwrJzAQ== 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=McxsJ7xw8hGURuOvqjqA3eAo2XMuU36PPRZmV55rBFE=; b=I1DWHGf/CeV1bef2uwwNejWQ+F5Ei1fLF2JJXwxjjjj669hmZURMJbb3xG6Xj/ulEyurByWws523JChwe0tCDQn1A5MUILwWiOcj90uhj1XVlctNcA82Fy+xhGUeWVdOmS82MFiNbMwTsHosIwhkpKlBfnNa5xYE30ObmQ1XwcAsuXe7O1lzGeUUZCujqgEZx2fl2fTZMO0zTZt1H43xrIEK1e6jy5NEfbTw6h2J3hzwZpE7ObIKCIthDNaks3z/HwBQbEW0Hbpa8a1wye8c8PRtkZF6ws1SlgV8q3Z4UoTUMWW0TOh/lgVNbBTkJT9votc6LN5dGkIOKrQ2jXb37w== 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=McxsJ7xw8hGURuOvqjqA3eAo2XMuU36PPRZmV55rBFE=; b=KxRgZXoGSm4xoWUC10NThVXb71pJMGYPDq2UiPD3zryDoPDvtIaBWzbOt2HDU6/VoYBObHp3dJRDe0rRq0DzcTvUT27RGAk7XKUAYHLx3/CB9a2dxC/AYsuIeHvVFhbMwwvP2kssd0CXXT8i281wqy/xr7UIwQ8n/EF+emmlhqc= 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:01 +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:01 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Vinod Koul , Kishon Vijay Abraham I , Philipp Zabel , linux-phy@lists.infradead.org Subject: [PATCH 26/27] kbuild, phy: intel: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:52 +0000 Message-Id: <20230222121453.91915-27-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: LO6P123CA0042.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:2fe::13) 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: e6dba15e-52e2-4f10-03d0-08db14ceb3af X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wRk45MYoFv2S8w+HRg8Gedja6EZF3OI7Ortivyzx++ggJgYXG+y7lhLkzLDyNOQ2Fv+M1yaGcEvhZ1JVycFW0fadjisa4g/oxSDLMz+nbKH6C5kNDXx9jmvFb7XUWMFyIe8gNRzpWV34hipQKdAi7dBESRzIa0syJqR5aQhfsZvLXWznLjuW/loPwYO2AqVwYwrq1vDd+sdPadvTkB2NS5w/U60ctsbwuYHrwZyOGX/vewBkSx92k4ltPY3g6Lv9kU9IhOtO5PQr9f//r4WCm9gGwfhIGnZCgh/nRqTFY+ZJ/pNU/o70GRCCm472hznqrnfQ/mmlLTJwbfX3gWx1Ishq5Nmj/RI1YjIsxJDs34/Mc/Ez3B4rQy3dI0Hi1Rr/KV87mJ7mC56wtT/FLXadks00IAavym9RCgxk9XwrUvckdJ/QJBwNoUy/N1fhRn/tIUwzzr5oh0T2QW1Tw4HD/5cboiRN2sNeDPpxxP1gx2KoguilBE81LmGzXjPDiQgCZ6zDRYn/ZhyZ3lQyeV/O0Hi7lItnZw2O09Si0QZlDFMxSdvBastAQTiMH91eiL+KlHHclTR36A2qLplXo/xOfCn9nLuTvBge3YTybhdvE6xjI/KagM5UNqQFi84VjYe0tlsOeASE8oDXojP6ODTfaw== 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)(36756003)(5660300002)(8676002)(38100700002)(66556008)(66946007)(41300700001)(66476007)(8936002)(83380400001)(6916009)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: tqnB++FQfFN8JlnQxLlDmbQSu/+/nwcuoxIhFxcM+OLDn9TTVAAa5XBA90A+JDtc9V/U/OsxuDhdRVgaSIaDpwdDSlNIsovjrxmmTHZqRhLnERIhPy7sEC0kq3hok4HcXl5EG42kK1y0cWXR4HUsr9ueFVfboRgB9cYj6JNrY/FS6Ewlui8Yo8I7TaC7TK1pvgBshP+MYAtCRvEnH2icWXT/M0YTlCWZsZli/grfpqg9MenNi6BnVjJnpuJLncqucRljDvLHrq7l+zHIlbg6b3zo7PP14icznCyK2mIhzjhMcU/vuPrS98aI+uAw4FLhS1gIs+gjqTD3UMRT8Sz8EaIRZoGPMkJsEKggXBdxphdR+UMY1ZOSuxgoKlgCubqS6Q084ewiV5S2XZZbwQwEZVcgAt6MGTLPyHF9mKfgRyGVzDWLGejImeVlOJGwdmJis/zv1rZSL1OgckxwMuHlEuov6pOQ0fx2Es33SM8lhIggupWp7ecLb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1Acj6DnjyFnRvqIHmmmzjyI6ob/jli8LqBHaSmoB54xH3NP21mxUCHrSQr0MFdMCY= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: ewgU839TBodQzdAHbMvga6u0QmvdQNZ49m5+xMQjG4isFeQr+91Q9Fn2dLjJq7/gJc48egDhDHEd4KhQwPnuqA9+Q2k2E9GogeoeirYzz495m5nB41JzOH6SYFBAo8+X89AQnOq4g294l3PgpL01qxR9z4c+CiBsIQyFljBcGOH9bJJTmP93/X1G573NRgmoOgYXJ39NZwordlhk6YF+3W8uH2fFbpGtnV1PqUMzKlmWSKBk1DXYQENTElKuG8NPOzR5RW0EldouQxQ6k4ic5etZsB5dOYro2CahbU01jooOr8o+Ww1Y5gYgdfz9KWiqWRI8NxweK6D9ybgoNH39tw1b9xAWrsJmifJuEwElmbKmCxlwzPbjjyFKVEnDOzEh7n8pyhuGkRXICRVdX/k0FEuuZV8DST95fcy/BjOknETlXV7iYIO47gMUOcX7025bJB96nNEIQb4RaVKTCrjW0NSR5DfKRashwSxbbnBnbRMIiqXhDnjeIl6WpbL0bzGepaMLjwTsG142B8oF5IkYSCxwVVhFzmuCWEanOFQN1WvXf9jdKDyh7uV74SsuhAhiOhpdPusTY7TE47yMaBsNOOlx8ioAM7d6tuhzEvpqQnPqScQvrTu5+kJWdcUTuDYr+EJI9Tv72s6wowzPVoGIu0K4TG1o/eziBhDjQxtNdpEeCFUfuE4qQITC6TTyg2hG/5raByZbEL9FD5hCXZ1uI0d4H0Sok1u1uMwjq8vS7fofgBGFemT5o/tEvPoE+fne9+92umIccIVU612oX4EKYIKvx0VzvHY4bpPhzlH2xsHJyNCxEU1+YHH3Er0wwUwe0Cz2aMoLTX4O5vT3U0LRCpLSI4Ilw0W77rmJeuA8KvTGxcMADNtnFnVRBFo9zM2/WN2lhrKXPS61U1iquViau+KLGP24HiQxi7JikhPy1RI= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: e6dba15e-52e2-4f10-03d0-08db14ceb3af 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:01.4717 (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: QRkRHQNf8UIbJGeVrVaOqy+ERAtPEi/U8Om2B4kHipdAwCA+S7TmlV7yQQr2Drbg31pwtRDDHbvtdlvCuMCKoQ== 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-ORIG-GUID: sSmjl_qIziGg_7CNEb-H13KwTtk4Odse X-Proofpoint-GUID: sSmjl_qIziGg_7CNEb-H13KwTtk4Odse 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: Vinod Koul Cc: Kishon Vijay Abraham I Cc: Philipp Zabel Cc: linux-phy@lists.infradead.org --- drivers/phy/intel/phy-intel-lgm-combo.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/phy/intel/phy-intel-lgm-combo.c b/drivers/phy/intel/phy-intel-lgm-combo.c index 6010e246d52e..8c764c457c1c 100644 --- a/drivers/phy/intel/phy-intel-lgm-combo.c +++ b/drivers/phy/intel/phy-intel-lgm-combo.c @@ -616,4 +616,3 @@ static struct platform_driver intel_cbphy_driver = { module_platform_driver(intel_cbphy_driver); MODULE_DESCRIPTION("Intel Combo-phy driver"); -MODULE_LICENSE("GPL v2"); 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: 13149202 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 70BEAC636D6 for ; Wed, 22 Feb 2023 14:22:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231249AbjBVOWa (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-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: uwJFhvrieQlpR6SxQopHZ288r5wWNhtNxzX820PtSQ0sfWRrX+NLANjgXeOfjwAbDAQfKVI+FfrAWS1XtKed9hxwMyCrewQPfo58qr9bCbzDm9UYZtuk1BEhVO9jvuAyoojLOFXKwx90FqM8jKIaRVa3v/DnrYv8q0FxqDswtoXlcgxCsZj36OqJ+gZhr6sr+b2Ayt+w7C44N5gSpht9vhGD4u4wYOof/tlk5Ohv5L3Rg8IOdGEum8T+NSlVXJDQWtdnUVZmdMSNbQR3hCUbUFKWqyVkTryGgE0VYutMIxMI6Nj7oU2s4Yyw/dL0QJaNCDXBSMYvhr8T006ozBa4K7mA2wGRRWhjW/nZFNWHil9wFteg6+6vKo1NfBtvaTsU5kOx/HjeiIVz3OzYmm2WELbl27GQIYH9TGy0ix++J4ktOcZrS8aSuTnssdE9lq85IXKfIzgHjILFF2ArS8nMRSrrUiReQV7vPPvGbMtHYQ0P2sJIPyzUqfDZVvqCx/9zU1yZ8w0tRTJLneLx+2kiVfZ233QHGWPDwzzQ+ToUwDgTlfVLIA33KjoPI1mqpfWnQvUuQnHmkBohgToNTL5/Nxf5GwL1YB+ziyeg2h7v1sAgxLFV9RWoWgDhLsKCRrIe85KR64yACJWJ8RDVMbiPZoT+EwCiql7mWMZ2LtUk366rgsrq+mwBBvb0pi/M1Yms1RNUWjScr104Rg2VIzTIVEsZnv+8PJ2vL37O65CG9toV0ok6gzav7IHAQ8ZYaVhXsOh2QCYzH5StQ/CMyWce9anG8t3Lf82xk1KfU16SNsIzitDr2KigZzJZ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zD1576i7QKiULH5U79DqTcZvhuuZe8CwjE0JWg4P/ibYCBozy83I7XFkKfp3tWE6i4yjlyRl/mHnU/XBFYAVMTxSrQm8yJ8mzn/UjymHjiXxvxCO9yIa+HUunE/nI0UfmedCcPCvYIGVbG2NxW9bWZPWge8sarxh/RfSIAYXVEnXsg0SC1gYWF9oRGi0pbL8HgtrhA3B8hzSShg6eHOd5zYwJZ+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: 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");