From patchwork Fri Feb 17 14:10: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: 13144758 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 4A81BC6379F for ; Fri, 17 Feb 2023 14:11:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229789AbjBQOLi (ORCPT ); Fri, 17 Feb 2023 09:11:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229704AbjBQOLh (ORCPT ); Fri, 17 Feb 2023 09:11:37 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 531076B336; Fri, 17 Feb 2023 06:11:25 -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 31H7iGpw007518; Fri, 17 Feb 2023 14:11:17 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=3VXIG9WkV00ZulvRQaMHURvl/x1M5QUywnCTQDLjLa0=; b=c1Ar4vL5BfR7xXSRlV0Y6Ym0ZgugKXtVv+kjCh9SMl3/sAZKwnR0MTFYE02Fg/Cv7/9u 3N3FGCasGAwC8FJ/koaEGBi5ApZRQwcFwqoTyxHoxB+yqaSTXm0D07bCaPQS5ihsL3fT IvDaubzBJ7OrQUybYJj5NfdIrujwtDkpcsde9xm93KLYHIHbhFTkuP4aMlL91IhNuSbP GXy+Nu9oC7Gsw3jB5SXWuHibEkYZ+JLANhdyAJ0gkW3ab0zfpWiJX9xu2FQGUTYRoddq TknslKFe2A991j3IhrVaf6rGVfI9fRdGoVUf4TFl1VtyaWQo3E+VAQsHXuINbar3HayD 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 3np1m163db-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:17 +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 31HCjqrQ015303; Fri, 17 Feb 2023 14:11:15 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 3np1fa7n3v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KOPEtTQn0uQxOzTHtCLJC9kzMB169QkqVw9fAW7NMC8DIgnQEut4p+IfLzwRHK0j1lh3N619Q9dvTwoBaE4yfX7dQ7FVeu/OZGqJ5uKSziWbtAzJgQFhFTGe9uyt3w9nr2b69zOOQyM8EPyDwzUhVo/N/5PbtghDn3Ic4bj7caWWo3wT5Z/FQyHVdZtuUBddZoPRkws+cOAfeZw/psQgA4BgL0U3g9QIyvck0lAxYbyUm5PbkFj30D/0GHBYKkEym4WREX3XuAA2Y88Qx2eqOGwejk9w0MCJ8BahU0in1e0MrwkEPOB6l9igKrQHF6XVFx33Qv9KE1hFjxiK72RaVA== 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=3VXIG9WkV00ZulvRQaMHURvl/x1M5QUywnCTQDLjLa0=; b=VZtqJrR2LFeaAVztCOJPIj1v3XfjfTNlN4KSEC3VAOpW2mF5k4a9NFijUGeOvJ5CwgegnG7h0Blf+GF1KO94PbVhhCMCHqH1dxDCOW2K06ml+lxiIvLn7gD4dAiEDFkBLxwqDxjMOG7HHB9I061F/j+FUcPjAezCpSiL3HS7joSVmfhPc7YAUe8LlHcg6YofUzm9WOWmHN67d5KmtMIvVeCy4TKG9TAEnzqcReec0hcASqZCiX0qx/2eXMfqn1S7NumdJuOVRx1+nuUuTM2bmpwN3r92xGaSulFEjAYv1n2HlZLFMuVQQrx812dGQ9WiMsqWTbPZnf9xv7AAvvhDjw== 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=3VXIG9WkV00ZulvRQaMHURvl/x1M5QUywnCTQDLjLa0=; b=hCiHcYoA30qE4Is2jntZRid21G/qzhhtoPgBwOdwZFjo2naKkjWrBO+ZhN/UiG6Mi7/UNZWvzUYW2tL4L4t32lt7nGoxIRFDipInlAXBvr0QM8Jsxpu+4UPPcOqr1z+N1rYVRDiLjp2GiGuReMoYIYAWXH23xBcSvBKeUrztnjc= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by MW4PR10MB6420.namprd10.prod.outlook.com (2603:10b6:303:20e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.12; Fri, 17 Feb 2023 14:11: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.006; Fri, 17 Feb 2023 14:11:14 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa Subject: [PATCH 01/24] kbuild, soc: fujitsu: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:36 +0000 Message-Id: <20230217141059.392471-2-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P265CA0169.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:312::6) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|MW4PR10MB6420:EE_ X-MS-Office365-Filtering-Correlation-Id: 27392f87-7442-45df-9384-08db10f0d3fc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kRZXTSXoPHqxa7j4CfmNsfaCgsXL90oxzuey5VKNaxv3MkRpeCgQIdwAlMWIOAqx8PH+hO4W1qqhSd3zZ/S3y+W1vJImU5Xr6cVa8Ugf7Htm6Qi9GPcIHzq9UKW0lUWz4zojE/IEVVobrxA7WPkwfMV152FrF4Qo6tX7DI9taatU0k5KgFK+t9/CiHuPZD9hWj9qTrl0OMZGUGOBC+xuGJ9Bh+QlFDoA1vPyIqa7c+kNbcq36o8kjAKIIugJ/56OtHVIrL7DSTNLHdX6lQp2alcFnCgdvuXtB2CAY1oUd6cOt5A0RRV9rQaJrgj8+ymChvKRG3aqmfdyN9NgYCYopG8Jc0MuNNPQUj9pw+vkzMmh92VqhMCAIRvGLnssc9eF3ZXyOmxJZxXXOQm5xrw/Hq2WSj1ZUCThrSPDo2XTXZlylnufqojXUySqSJf/OU6GhwqA6BY6SDWA4gD51q1FZpqUxmRjVPg4oTZQGrEy9vzlrVJimFzellecHIDDM+tgXu9+cyGwRyS10EP+N5+WuknE/JlxsEuBqxj7s2ln6KEA15r9aeeSwITRD03a3CkIHR1UHsQOVTef+5pqheCr3c+3ZKYe23HCQtxJNApGGPR9/MsbizbPHFyDHHNtIwmJqQigma82TgUd/laS/kshdw== 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)(396003)(346002)(366004)(376002)(136003)(39860400002)(451199018)(8676002)(6916009)(83380400001)(1076003)(66946007)(5660300002)(8936002)(2616005)(316002)(4326008)(66556008)(41300700001)(66476007)(6666004)(6506007)(186003)(478600001)(6512007)(36756003)(86362001)(2906002)(38100700002)(44832011)(6486002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: c0QrKmnr/YBfbq58foTnOeZB1nYxKKTejMAirejfsapJtNgscLWiQNZoBuUEW+84FngqusnOcQSln3mODMtklzFbpXvM3YAy7Ywm9wONPO9cJyc+HY4S4ED3kpngMXxe0kKNtOTb3sGubKwV3HBUfaU5F7hcCbUDTTBJgk/yhgj3AVWY39JelAOAKh/Y0XGlj4qZjPmxhd5FbTsUtNhIkQd3h9mpyPHAY3MLtOjoiDTSmO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9cgeyL6vzHbEWdGArLoHSru1Qk7trlFqINtkOYOsHSDuMq4LNQhpzmeIMc5JfpTzvYHqF308QMgKS7epbhrKnw4YfbHWGCHWLPyjkSyOtC8KiZByMp9ufD+FVTqkZ45Nj/qq+t6tbYhySZR+xWJueWcD5Yk0LWFpcJ X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 27392f87-7442-45df-9384-08db10f0d3fc X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:11:13.9360 (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: LJlePrUFS0QXvbB1mgV6nCELzpdwEZ1Ne14spHeJDT3KKlJSOTpR7dDj1DyH23zbWb6zOVKzbWzCWSINjBvPZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR10MB6420 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 phishscore=0 suspectscore=0 mlxscore=0 spamscore=0 mlxlogscore=999 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: wVgNw3Fvq2ukHdwthfuTlno1HJIRKgG6 X-Proofpoint-ORIG-GUID: wVgNw3Fvq2ukHdwthfuTlno1HJIRKgG6 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 --- drivers/soc/fujitsu/a64fx-diag.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/fujitsu/a64fx-diag.c b/drivers/soc/fujitsu/a64fx-diag.c index d87f348427bf..524fbfeb94e3 100644 --- a/drivers/soc/fujitsu/a64fx-diag.c +++ b/drivers/soc/fujitsu/a64fx-diag.c @@ -149,6 +149,5 @@ static struct platform_driver a64fx_diag_driver = { module_platform_driver(a64fx_diag_driver); -MODULE_LICENSE("GPL v2"); MODULE_AUTHOR("Hitomi Hasegawa "); MODULE_DESCRIPTION("A64FX diag driver"); From patchwork Fri Feb 17 14:10: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: 13144760 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 58F26C678DB for ; Fri, 17 Feb 2023 14:11:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230058AbjBQOLl (ORCPT ); Fri, 17 Feb 2023 09:11:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229664AbjBQOLi (ORCPT ); Fri, 17 Feb 2023 09:11:38 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A5B36BDF1; Fri, 17 Feb 2023 06:11:28 -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 31H7iGq0007518; Fri, 17 Feb 2023 14:11: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=SEZJAVxBkRBJDjyfqQmJkvnbFEC56McKlujiS3nD0mk=; b=Exe1SlWf6dirke1pzkGZoZDWQuA0OohVke1XlV6XZagAHf50G1CgKObSjAFMBE6z3PQe 4VTYXtocjej/T5r1sW9cTnq0BZlIUum2UDc87kOjFqdF8GzvNPXai6zSLYBnuGdaJ/57 CjnQRN2kufiKBnFumLvbJOv1Plrp67U6aq0Zd00OxVFLl9i68oVrBxkdfcVCYWWQzpQl SPW6LiCiSfZexcRUUXQPrsGtQrimtgIdc+RjOqtcRTK2Wdmds+LBFv/T5q3Dftf1iO/i BS77BARXGCeZH5kHDlxAxdxfGY+PUrWiyWKbL8BC5gltsM5W71av6u9l70DHo/kOHGVW uw== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np1m163dq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:22 +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 31HCjndi036124; Fri, 17 Feb 2023 14:11:21 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2172.outbound.protection.outlook.com [104.47.56.172]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fa6s3n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NhZ70DD1iB2J/KzlK3puGuqXedjKOxy+EnVk5/Ri3w4yFx4kgC45X9Rskq14z8za4WIs1R4qEQK8AkvkWQYxaCiOnGRgjfzrblbdBBDcj5UTHbHE9Q6jNKCVt2SKNNfFWIA7lLJf/1nvYX5V46zhcJwHcz87dgnfed1xlXTSqwFI6qxMKdyftVdEgHs6d/Ny4E8Ow9tCJPe7scqq49imTqrtdUw0daPf0xVMCCZ5lYX32+//h+ykrh8+nXsj9NWWkxLhdT8vaAEcVS+MKQ7Za4jzwVz9LSlfr/mffnLR04d/uCnebJpLjVX8gc2lErpRWf1nHEmQyyWTGS1S5DucIA== 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=SEZJAVxBkRBJDjyfqQmJkvnbFEC56McKlujiS3nD0mk=; b=m0+jct3RiXxVDUjhh4t3+v91p50CWtC09kILWm4A8c8JVaN0qSlg9ZMY0B1Io8cj4w9hqkDJlnfZh3vE7QaZzOwpdlhmqtOKCV37dR80bCOSr3xCeuccuTjRw0frPfZ/PJ5aRhENlSOHHioPVNNvVgCNFIBZcWoWnn8h85Yh4ws+z/07ZbWQzmTRG87/tvu8PHS4h6FKLnFBn6XAbqqmITICj6yon7AFDw37a4fGM0Qxow62S/ar3cicDmIYJQEHsE7g2n0ND0d6MdMm4jL4TVx690BHCi0eiE2QBA3ht1Jw3rOHrsElocbUwo9JomDmQjFOWT4MoIlKlw2+Tqt8RA== 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=SEZJAVxBkRBJDjyfqQmJkvnbFEC56McKlujiS3nD0mk=; b=c0dbeCzDjbVE/qFhC6ITerNvLYgfMeLwzyq/OtAQ5cmd8UhVDEJ91ZC1rDOw/OLJCVJ8HWMlgHUK+Rldsoi0kPxbrWnKzGnNtZpxUaSzIJqEgrN5c9HbAJUKK+6tKwfFyXXgE7YjGA1/OOPPqFO1N7LlbYBktkiiUfQos7ANYG8= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by MW4PR10MB6420.namprd10.prod.outlook.com (2603:10b6:303:20e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.12; Fri, 17 Feb 2023 14:11:18 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.006; Fri, 17 Feb 2023 14:11:18 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , "Rafael J. Wysocki" , Bjorn Helgaas , linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH 02/24] kbuild, PCI: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:37 +0000 Message-Id: <20230217141059.392471-3-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P302CA0037.GBRP302.PROD.OUTLOOK.COM (2603:10a6:600:317::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_|MW4PR10MB6420:EE_ X-MS-Office365-Filtering-Correlation-Id: 6b4c1098-caa0-4d4f-9b65-08db10f0d6cc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7XMG4N72Rn6WxgmCG/GdJ0k7Q3RWa6vhDrRvfXpTO4VQtzX53w7rfCwRR1hmZ3bqvHOOIP2XiguSpzOHtd7L5tn0gSJxpusnVKfhTnIs/qTrP2FaOhHByP5p0aG+S+100iBMvRiS831MmxlOzMGhpNpDgsEm4+8TvHA7vnqFTibXyoSF/pWhayPzMAG28SpQCEx4o621SxGj4tUE/imflIWZpHkAUQkQYAS9JcGtGhkbKHdgOhCKFqBoh1eefkVDv49XGjnhqG/OVmmLBheoKjnJwpvcJID3xltxxjih4wn3lkTgDK3WTxlm2BGX/5TvGyb7IOuXrEL+BGFKGkP+EeGhdvTSjUGZWwRpAinCia8DK8sqK9mU7fzb/ic/kh/wdGacxYvJ8rgeFaHxuqkfoKjV1LFsNCzBBeH1qWmp2n6SLYFQq9W5bPlgTVPoTLxXJZBzLwr8g83U1Y7HgsqK9Hek7N05vw9kdUytotbVsg7sB6oDcbebG+aJe4NKOFglqc8W8TgreJ8+oLtJPpA1q1shYeLGsEFiG+ktCTz93dMz83rpoECKlKU4Md5mmKq7/V5y6nFAR9oomUAD1DRPGT7E/WEemMqON2BWiNdhtbeyyAT8nw61rqii3aH7oYFWZxgufdvOJHXrcu26WjQlZA== 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)(396003)(346002)(366004)(376002)(136003)(39860400002)(451199018)(8676002)(6916009)(83380400001)(54906003)(1076003)(66946007)(5660300002)(8936002)(2616005)(316002)(4326008)(66556008)(41300700001)(66476007)(6666004)(6506007)(186003)(478600001)(6512007)(36756003)(86362001)(2906002)(38100700002)(44832011)(6486002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: wqkShMpSEKMWdyJNEU768j76dTjV4FzJ1rsYuH+ivd/flz6gVd2Gsrx012R4Vl2+W1wf7MlJX7n4ls5Etwyxn6YgygSpQ2HMQcme12pNY30OxPYvFtG971zMYhAToTpnjkA/rAPSI/Y488nkIFSy/dk8ROh1MWjLQUV+SBzSxuYzp0/ro7Uw324WcvC0dEFaQKeS+MIwDfltAjOIe4xERpNyRox1fEGYcXL0waqaSnMxZqSQqYRMiF+M27gQ6vvMGPPPnQ/M7aKd3ZnSTR08nLjGMrwdXVuWWO85kigAyxcyDOhcCVe863LhRkRdqcmzCIhZe0UkcUpqorL7caV41NIc9UGnrqX2Z2WXurZBB5R3hGvdE3F5jOqFvzEWbtozTxXuqJv70CrPSZIkhZ5/ukMdCgvyE/WlUEKjFN794or3LbdGNvndSx5FmlYKMURLUrrcF4T8NQhunOLe9vx9pEkIDolSyRoC3oKpYjHOy1Vk7HeuNm85t82EKgQeYmM66dd5yiWBRUDgSS8YXXxjZgfYk2Ksw+EJuM7EVls/4SSJshR89+SWIq+dWxi24hL0fJjITzf9j6zpaUysMM9Tt+OowlYF9SV3FAdWyNeFL0P4RG2atJ6CpHt265RR7CLKjqZ0U+IhLKgmCneAZf/5RD/JmvzYVtrBYCFqAoO7lWKMa/dVMK1vWit+Abp8DmhyLbjueha2UIX4wUjsL855ds/6w2xU3JGQ1bKl4emz24J822a1bqlVcy3BDK/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h2oldF3Rv3tD2U3ItSpy+I3bITgmdf0LT4HDmUjSmchud47CMselik1KJYAmuLErZrVTNUtC2iJGDsp97gdwPwiT8iLeOmFo0ISgkOrUrPHdcO/7TUJ9sTsQtx4CJy6L4XOBcBHkiDwYnE73CGCfVAMIWwJepNfIiU+k7/WqTpsCuPLOA90y8Sb6CKvWLPtsh3BrqgVFo3zolSvcg75fBlm4Qji/sL7p+MMMcfZs5BbSJgE/5f6d8/h+3swhh4NlJJylCCHj/IIj++Kcp0lZcm62zy7SG7j8RKhOzl/e6DlZaIasK70s+TPelrSdz+Gbl8nmBMZtLNjZ19R/GtQnNonbeWvUSb7QoZT4UH3tt3g6Be+wACTvcXpFyVEzeTjRzedgaZpP7lDcbU+WDvRrSZ8KzDSQ4arRzh4kHd59KrOfz+V4be+eVMVF8/spi9t4JoW/M2xHHoGuGLG6NJQEEmHjBC4TYV9VRBWRAjH51+mhS5YM6IY1HmhUWIR2HHyAeruDkkhe2CfZ9TrzAnRErqd4p8OJPJFLvhaXRUWRMxcmjrZNAgVSHL6hx+w2krBNmWmZmRagx14GYwBLjTw10NLS/9a93o+cxMnnW0pi+h11lBf17BKSVWyj4h/wempAg23G5F8N7dP6vnbV8OPk10DvomZjfOGnlOMcaQRqd+4Xo3pWjGoLzAgbcPU0alCA6ueKgKPerpRxSLme/3WPMbKps1/0Te6vV366LbJNQAbihX6ZwmY= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6b4c1098-caa0-4d4f-9b65-08db10f0d6cc X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:11:18.6392 (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: 09B7+K6rtGdl5U6CwKPptRSF9dWatctamnI1GR4COpY7wLRwaHztXzvC7n6eodJkwyXlkr4LSYa4WTIigi3YFA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR10MB6420 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 adultscore=0 mlxlogscore=999 phishscore=0 spamscore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: eqlWxWDXmDCuQW1w2kUg6qMfhDPwEOE3 X-Proofpoint-ORIG-GUID: eqlWxWDXmDCuQW1w2kUg6qMfhDPwEOE3 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: Bjorn Helgaas Cc: linux-acpi@vger.kernel.org Cc: linux-pci@vger.kernel.org --- drivers/pci/hotplug/acpiphp_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/hotplug/acpiphp_core.c b/drivers/pci/hotplug/acpiphp_core.c index 853e04ad272c..c02257f4b61c 100644 --- a/drivers/pci/hotplug/acpiphp_core.c +++ b/drivers/pci/hotplug/acpiphp_core.c @@ -45,7 +45,6 @@ static struct acpiphp_attention_info *attention_info; MODULE_AUTHOR(DRIVER_AUTHOR); MODULE_DESCRIPTION(DRIVER_DESC); -MODULE_LICENSE("GPL"); MODULE_PARM_DESC(disable, "disable acpiphp driver"); module_param_named(disable, acpiphp_disabled, bool, 0444); From patchwork Fri Feb 17 14:10: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: 13144761 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 2B997C05027 for ; Fri, 17 Feb 2023 14:11:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230055AbjBQOLq (ORCPT ); Fri, 17 Feb 2023 09:11:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229704AbjBQOLn (ORCPT ); Fri, 17 Feb 2023 09:11:43 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 509B86BDE0; Fri, 17 Feb 2023 06:11:33 -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 31H7hraF003558; Fri, 17 Feb 2023 14:11:27 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=+gqlOCEUOlTgOO+deJ76kqdWdq1sDWGJGwftVuzBVuU=; b=xgJYi/1JebijJUFkFoKVz/R3qqyq6bzo30Xxy1xZVlAACODFGQ4ioGyG0MC4+ED0T8M+ Bsmmd51i2v//nsZK+uSKoUBumwdwr5MHZxYErqNqJ62WDrTo4Sk1GWCKC/hp+fct4CMT xMxH/lB5Tnykak2xNVdhxVChKbj0KVh4xSrtC7iV5vgNsiWjp0zH2j2+6chQrDPke46e vWthzM1pcG6RQCF+i8w2Ns8CZqKhFhIU95304oHsYg8kELKMXnAjfoDlXjPqNrX8KuJ6 Awz1VmDb4pHsrjsG7dyOY2oa3axVB/mvX0SkFeOD0qPmTc+RbHCQ7lRRy8GYM9lZWpWj DQ== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np3ju5y8q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:27 +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 31HCEZVX015352; Fri, 17 Feb 2023 14:11:25 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 3np1fa7nam-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZbFDgH1R5q+X2kn+qLi4I7kQKLgaUzOPR4dVelISy3MQVIX19UX5fofVtWc0gz7Cz1kGoDUdjSHefkZ5WD8TjJ2B75p2O6O2LnBCTJn0LusL4orOHyb6pPpfPoUvT+8cubHCw2z2DzMvTs6UGFBGqVgSqGJ3QN2nKuoQQxV+7Ccic/tQyKCeOecVcY7271kNzyNeTqqdixgK8PS9f1xYXe0cgoD1coCrKJdFm6jBIPfvlkGBEo3UPMWWzdsO1k58+BEbd0X4y9un++GMWq5kFXtOujrzSLEEXo+TUg6MuGqWiGLY75RxBT0zkywFWYriHT+r8LuqaLI7a2kZyLlKVQ== 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=+gqlOCEUOlTgOO+deJ76kqdWdq1sDWGJGwftVuzBVuU=; b=MNoxpTj2K3FPwWRLAe9FZUJcCaZgBhxcfswoSGaz6nXt54XNXGUIr7jqPqZXW1J84ctfrcz8WMuLJvDXg9YqI5iaiJG4DwMl//P5on/Cc7w7/IOuQn4N9EY1qNXB+Qyf0Iex2mGnwecam8Ykcr0o+e/QKXV7IrZN5QKR7Bm2R7FXNP7yjpUpXioFpyE6RO5tJUA1xsKA9Xtz8eU8HR9Jw6MGRf4IGIvwl6Cofu9oG+K3gfnT9WZe7dkDIG+8nBu3wFTQgyvDTNJKx8w313sRtYlS8/J/nCDrPN3aCmntvIbE2S0zQHpvGIalEdxJoMITRVYNcK6hqxZBlT3WN+T+4w== 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=+gqlOCEUOlTgOO+deJ76kqdWdq1sDWGJGwftVuzBVuU=; b=d7vc2RRzKzBg0uu6ysQbVg0k8fo5F9wJnOWg8q/ZldbYC/17mbo7X2iLNo1PqglYP2QJ6QYVrUGOipYesRk9CQnHj6tGo3OPbUb3TkxI1Yq9McApxw7VEvuSLU1OpGE0r9nK458G62/Bkty7GtnN/VHm8b4QAaoxgEVg8HYlyuc= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by MW4PR10MB6420.namprd10.prod.outlook.com (2603:10b6:303:20e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.12; Fri, 17 Feb 2023 14:11:23 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.006; Fri, 17 Feb 2023 14:11:23 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Thor Thayer , Lee Jones Subject: [PATCH 03/24] kbuild, mfd: altera-sysmgr: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:38 +0000 Message-Id: <20230217141059.392471-4-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0660.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:316::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_|MW4PR10MB6420:EE_ X-MS-Office365-Filtering-Correlation-Id: 370c37af-3943-4a1b-ccbc-08db10f0d9d8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RwdSijA+jLgo1RhzRk6DBKm0kdPvqbUe3a8dS6o3UiujN72SYXSYAZTpAR7Q4QsHiS7JR01g/ySlFPc/MI/gR2d9+Mp5PBEAhpfEoYXWKg0nwt63fpPOXBv8wR1tELx76wInr0X9oTc7xWLLr+945Bhgy/tmz3hb6yIsvtX14McA8G2spJjfDxcnEkpVgPGwx/MjjMUTT2rispPNXB+LyOIZ0E8BvuJOhX4qEDd7TjPejWS3BamBsVgVKyA4J3UwVXur/Ife62KPtlX2D9a2A1qukteVvrh16zmqH/D9T20CSXgnGDEMlK8ciXoE3O7CgCv7bhh4iaynj1WA4Oy3NnKdVLMDH8y9KLFs59+XatRTkZ8y0xa2dDrT/XutoDcYX+FABuavOE9ehnF5vDMHgGR84fgq0E2yFVrVPkyyQR1iuleDSYYQyjzM+okqZgJFlBfuOxmvh+1kHtMgCzgLIEpnbp3D1wMTD0vGaxmK653cWyT35BalCW193H4gfcLt4JGXvUzDF7MEzhtI8YvNY4zE4KwBbOUaVVkDbat7en9QdVAyyHjl27uFUajWM1AjnwmhraF9klhPMO+HNErr3E7flG81FbttZc7sJ0V0EYA4XZ055ZL990q2Z/e4kWgBRYD5MS6E+7EoIbT2pqJqTA== 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)(396003)(346002)(366004)(376002)(136003)(39860400002)(451199018)(8676002)(6916009)(83380400001)(54906003)(1076003)(66946007)(5660300002)(8936002)(2616005)(316002)(4326008)(66556008)(41300700001)(66476007)(6666004)(6506007)(186003)(478600001)(6512007)(36756003)(86362001)(2906002)(38100700002)(44832011)(6486002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NxaT0B1njvcaf4DdSLfwdb4GT1sGak4YgsnWS3l5tJ+cXA+09gfu4uocEJCcx/2T4nsKiT2gs/eeRsoScuQ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SITgsXlYzpQOkFo+hVZZ9Cy6pE5RqKp0nJIFvJbw+NfT8rHqtoGs1mQRW38ey1i6VTnsj9IsrH/IJJ6GP/G6428CYV+2751Mmbj2lCqlxgpclVOcfTA3FmFqHFoN/RgON/Yx4pFeG464qTSHKjhtarqim7b/lUpAOsSQhf9+2wZHOcq8lKWC1mAqWFB2ecrTCx1omibL+HQGsmkenrUACTDuCCJC8ZyXEpQfl+PK7ft7glfG6Wc06Ma50+R+dD3ddTydRBMhD5dTtMCdsgUuRZnZAW+bBzwmOwcc+nfef7TIeiM2cTaf+6UJul0dCpDw47wrxdEsxzbTMj+0WK/KiqZc= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 370c37af-3943-4a1b-ccbc-08db10f0d9d8 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:11:23.7523 (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: dzEXJmRDaR/OpohzV/AOZdrtUaQnpfb2bLcwDYZl/23R9iyzrgL5CjmxjErU0/fc0XJbSvKfUqq33C+ZaJUWFw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR10MB6420 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 phishscore=0 suspectscore=0 mlxscore=0 spamscore=0 mlxlogscore=999 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-ORIG-GUID: oyfBUW10eeoanaLLVLKoht-a1sEHVmdq X-Proofpoint-GUID: oyfBUW10eeoanaLLVLKoht-a1sEHVmdq 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: Thor Thayer Cc: Lee Jones --- drivers/mfd/altera-sysmgr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mfd/altera-sysmgr.c b/drivers/mfd/altera-sysmgr.c index 5d3715a28b28..af205813b281 100644 --- a/drivers/mfd/altera-sysmgr.c +++ b/drivers/mfd/altera-sysmgr.c @@ -198,4 +198,3 @@ module_exit(altr_sysmgr_exit); MODULE_AUTHOR("Thor Thayer <>"); MODULE_DESCRIPTION("SOCFPGA System Manager driver"); -MODULE_LICENSE("GPL v2"); From patchwork Fri Feb 17 14:10: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: 13144763 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 28022C64EC4 for ; Fri, 17 Feb 2023 14:12:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230077AbjBQOML (ORCPT ); Fri, 17 Feb 2023 09:12:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229923AbjBQOMG (ORCPT ); Fri, 17 Feb 2023 09:12:06 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 964186C036; Fri, 17 Feb 2023 06:11:44 -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 31H7htpi012654; Fri, 17 Feb 2023 14:11: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=EUQ9jrYGLjpRq//gECwxFDiVTTwm9KH4T8JbXGUh3ho=; b=nmowHlfKhtHbZNrYzqnUAjaFk2Gj9MDtXMh0YHD1CWygv/YHjH1i77tV7whEAdOwNI9N +NLAvZNq5dS6OfT7XyUZ4mfG3YJ0W5BIpTP88Fx1LIJMdNIdQOYaCjdUZ9Yy0hD3ntgb cLniSlRPKPX2Rqx8w6G6cYGxvbdFrLnvG41pVuMuXz5gg2DqsIlL8opK8hXkAWAd4CMw uJPPMRuFk3an4ZbQczehrflzLwKCx5Fwl0mzdckIqFlQZwKOurtn/WhCh3IGAUHndhbb BthZlPhFl8LDXjPAjT5B1WRFCn2jl6ozpfgyB53K1k0ac0RquKP2NR6369ZesgARRVde lg== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np1t3nw65-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:31 +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 31HCV9QS036087; Fri, 17 Feb 2023 14:11:31 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 3np1fa6s8b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RKWGS41KNtopbLOuWElU/2uGxQsEbil7zeE7n8pLbcwqPLcPFrIgQm93kHbAwMe+vdJ+VHUYkUY3uIk1/7I4mBa3z1Y/UpOdEb/bHocMs2e+N2yvBeE9ApxkIdyxnX80wix3kPQpkFTI7GT3/iKCkHis9iNBKjyY7aAPHW9d3r0F1/r/uPOMAhxpk6KmSzKcQAcHDjmHKiG2gOo/IVLZrw+gsmraSCtxuAdVcjVhyJy5Ozq3Bsl5Hpyh9w7+Az3OU4lzpJK1OMW46LEZAsVP9NCP/z7cBvecRgAKhHetXw7v88/S5uGzjLVt9p6CGVdOflM9tUJwFEOMQ6QmUYyq0g== 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=EUQ9jrYGLjpRq//gECwxFDiVTTwm9KH4T8JbXGUh3ho=; b=Hqy6s/+NV14Q4GZxa7HyjEBTAd1PtroUxCP8McVmkSEa9Xnt2GZ7tW3jxv3O7KRsL2f4QZ+2bXrzCfu03tvtWhvAulSJ0AO/CHhDVtI+5cV440nTCPPn7w0NNsB5duHWwgHBSi+F/wVsxvZV3LDKvpBGB8sZVz4aJvit3WcO++I/g9YAG9oUHht9AGWT0Ofjjb7ozHqPH7pSXbgDyaxVeqGx3O4c1QNQ2NfBdn4oakJNAecdfH068XTg9AaB3Mg2Eqwl+gqG0DPrnf85s5cTnKgpfLR9Vyidq0+OsOoZWb91ybHURKbzhllFsVhekjByN1RsDGjH/XW/jP0FIkArYg== 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=EUQ9jrYGLjpRq//gECwxFDiVTTwm9KH4T8JbXGUh3ho=; b=d0vPAQ0QWHIutXYp2ShmlSgAY91CUaYK+IqvKX0a5klPLfnX2GGql/hQxgK20QsYUZl49hVKJYH9DmLZYqDC2SCjWG5jZ31y3Abd36ZoAYThz4f59FReW9MtyHk8a+fW7TFLHXfa6PHtpFIYxk1KSdt08dnNXLIsMlMrQR0WEoo= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by MW4PR10MB6420.namprd10.prod.outlook.com (2603:10b6:303:20e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.12; Fri, 17 Feb 2023 14:11: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.006; Fri, 17 Feb 2023 14:11:28 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Talel Shenhar , Thomas Gleixner , Marc Zyngier Subject: [PATCH 04/24] kbuild, irqchip/al-fic: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:39 +0000 Message-Id: <20230217141059.392471-5-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P123CA0056.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1::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_|MW4PR10MB6420:EE_ X-MS-Office365-Filtering-Correlation-Id: 479eae32-eefa-48fa-35cb-08db10f0dcd6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +45Ppw9uOgDRmsmt+1GlVqmX1ETiO5v/bWpdSpNJIOHJFGLGvkeUI6apBN6GpUzL+er89JmfqMQMvRcvr7/JWBU+Ay6VoqNXOe9OMgheIdoawRa71SkMfgANP1ln/e2pwePASo8Z3JjSvSAxDdTk124vrbdX53hJzMx7AzgB2Y1wh96Fu92ROSDlIwfrX8fsaRYKbQwhYr9nmDktQqu/j3ej2b6qoZdRk+yZMUu2cJPj1c7YCuW9yyd5QeFxs81rYikYkBnjOYK0wm0iYYqUehTQuSAZvROQi0w6F6y90AvpI/vpER8LDUaW12nwtZRn8aYU3DkKbZGZomItESK2eFrphZdAkyn0Qjtf8QbO3rXoZRl0LV9SnMdecZ6vbUZHFAQOfGLIh/tlYjEeKbNzA8mSQNFYTi73jtECViy0QuM5UZHPtZqhIhzXUdXZet3yvE3pHKay3O8+VagCi9hDGPq5H+tIEukjEYXXwiPwc5Ipz9goIqxEAH78VFfCIjVKcgfLOEad+nzFeVuwxF8W5YfnWZErcnmkWxmQVa0CGk2c3dCUZQbH++Q4J6E2uxRgFs9e5GE+hX+EN1XOYw6jk/7B01kI8X+2VM/RKq7Yb+ESByRr6rPgg8xdfXJIJAowRrvD0lj6K8xwlt89hH4LTQ== 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)(396003)(346002)(366004)(376002)(136003)(39860400002)(451199018)(8676002)(6916009)(83380400001)(54906003)(1076003)(66946007)(5660300002)(8936002)(2616005)(316002)(4326008)(66556008)(41300700001)(66476007)(6666004)(6506007)(186003)(478600001)(6512007)(36756003)(86362001)(2906002)(38100700002)(44832011)(6486002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3rleNz13kGJ6tUsVxO6UfZuKE4othq14XP+WJwQkzumRpXqe48OrfrPL26Goqjc1O6pdAey2RsIAaS0TiZ+QToU3AWcr38KzKgcZzgHleN5N96Rrmk2dLdW/ozPQZRVMscO7AsnwSUS/YUOfGK13UmDglk6C72dq8K7NY6JfRpkoSaOf3+Fv4aOZM7urx3/QvPcbtNU8nSxUkFDISNJQ171THX9dJgryVUk3CNX0/47yXHHlGNQ9j5hO8OiU+zbs7NT4CjoiQn8NwkaEkK6jNub96w66Z0bsQ4LvXC1/41eqkVb8XYw7GartDR244bZ3KAQuhEE4qhgBSWjC7QcEHbWNc8j6LIhYNF9psFkA9Gmdz7Hs+kRpJVXlRVfUMjX9K+lqjJd4jF8VceepPegeLktvnzIH4XcDVuoxPDhnNkLeFUG1d8Cbd0ttRaRV35yjnHkD8koZhAYrveMw7KZa7GiOSBtcIBVclzDvIke4jdD/py7WtcPKIUlOdvNDRdEHYgeznW+LUv71/Q3+fmhSetEBbBsp/9BNHJVfy237E+WXuMFAahySVVEeQHO5UKEnam0r9SblcxRev7A3aOBf0eUKTTld3L9/4j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S-Exchange-AntiSpam-ExternalHop-MessageData-0: OW9LDsiCwmc2QhqBckYzvm7Jf/Ok5xW5Bu7HZaO3YYzVw4bE1igPdx1rXk5yuxlix2PpEA0vIIbZCTnt9QA0FFaUdWkuftyOKFgjvf+y1wfCU4crChuLEasfS58++ex+k898UcLgPBKHMfBxT/b49wXAcLPsYuQyXZb74T9XamLl07woCRFBOr9WXhqZXhIMgk96f/HwZWOGxRqQKBhVVlLuHeShK7KFd6yl2ZrLa8xtUcOedJigGjtsxBFMdWUhDhyobOQuwO+/P7mGe3GoLb3GtZEQ3nHLdqyivpORsIs4Tm2sXzAqJYi5n0jfZo2WuU0iD/pPfAynlHn/YbiW44yhRogiSYQk/fr34IlyIPgZZPl4wOnjdBIPp26ycVHBp54DyywdmirW/mn/mBUd9lf+XGdCgRzcX4UpLC4hnVGayGIgYb6TZp3aSgYkFbzd76jsqqNoVCYmjvB1uMTl+Qd5clipP0E3au8d/zPHVZ7TNA4YpWm1EF4tWpdhiN/dkOZa/pw55wnUZzH+dTseEn7R1B2luPt6wlU3buI6QA1lGd9VzC6DHHxGeQMcsOE6Bu3NyUX/CP09LoLIvKxQ3oeDbnqzP3kmFj+Ge9GgrhGZg1XX1+n+xh29u3fywy2w99Vztx1jQIsYneF678uZpavon7/aJOaqTudJA4Zeq6p6gqrh80eH7X+PHraOxnfGqaszkHjA7dWP2dju1y5mUaTX260L8TKdKAUa371k3SFy+UyxOFMPvOAbiA0RQ3if/p9vudwjmaKq9Oya537E/RBueY1Xaol0AIhlJMTWhQ1GR25GwEZFOR0fGa4ZIU4ssyEsKT/PmDtQdd5srTxXNCk0a3d/SwwVkNSSX9yZP8aImHorXB2exfN+wB8sfRGY5UQEmJ28tPOsJudzDxjUFw== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 479eae32-eefa-48fa-35cb-08db10f0dcd6 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:11:28.7528 (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: /j1owlZq3Qh4ZZfF0ayv/DPUvhPWNvliGnx1FMMP4utGMkSVjT0Z1DfXgmJJNNOpKLcClvRD9ynuqJZT6HM3fg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR10MB6420 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 adultscore=0 mlxlogscore=999 phishscore=0 spamscore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: fnOPKQ_iJ4bKBGFukjDXOvoaOU5pYq2M X-Proofpoint-ORIG-GUID: fnOPKQ_iJ4bKBGFukjDXOvoaOU5pYq2M 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: Talel Shenhar Cc: Thomas Gleixner Cc: Marc Zyngier --- drivers/irqchip/irq-al-fic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/irqchip/irq-al-fic.c b/drivers/irqchip/irq-al-fic.c index 886de028a901..dfb761e86c9c 100644 --- a/drivers/irqchip/irq-al-fic.c +++ b/drivers/irqchip/irq-al-fic.c @@ -26,7 +26,6 @@ MODULE_AUTHOR("Talel Shenhar"); MODULE_DESCRIPTION("Amazon's Annapurna Labs Interrupt Controller Driver"); -MODULE_LICENSE("GPL v2"); enum al_fic_state { AL_FIC_UNCONFIGURED = 0, From patchwork Fri Feb 17 14:10: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: 13144762 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 57080C05027 for ; Fri, 17 Feb 2023 14:12:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230113AbjBQOMK (ORCPT ); Fri, 17 Feb 2023 09:12:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbjBQOMG (ORCPT ); Fri, 17 Feb 2023 09:12:06 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8D2D6C031; Fri, 17 Feb 2023 06:11:44 -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 31H7hqBZ003551; Fri, 17 Feb 2023 14:11:37 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=EUkt+uREkBEJIj2nVJ6yFTWxghXUw9giR6sYjv6Azmo=; b=zG1tcaCjXlEjWEa2tnqSNdaS1HPzY9y8C5o7QlhHnZ3p3ksRYQxo2VlU5oefHzn1xf/r dIL7jX0c/pChcTQWTgYZDfJykiPQ5WBD9Mwtbb2QHmQZO8u1kkJ4VJ3xBH6yTPaU4q8l zANmaSy2cDGhtr/+u/pICxFh16nluvtm0lAYAKVtXZxy1puY7juyutRE5qhpKgM2Q8xd tkPzIFkBM7JznOdqAJbqpGv5+8de7IRUZuf/Xb70gpuzOdiFfMoYgnV7CcYCd8/LI6Cl ScCnZXfpYsu411j4wEdHDPBEUf9zXa7tQTcUvzScruiBSsqzcVv4W/Qns8yVkJ1ozwfe Iw== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np3ju5y9e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:37 +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 31HC5wNB019937; Fri, 17 Feb 2023 14:11:35 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2171.outbound.protection.outlook.com [104.47.56.171]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fapn1v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AkAiejS7HqRKrBYCb/Fj3O3OVNZBd75ObYEnxJEzxuVdFw+wSLwYuBPQJ/LbvF/R7xbEWhEvbxWgFtZ5MHx5crXewMSKNONAo42GJTQELM7u2Y7lwDXHr4KiZKaDhE+e1KQ+IKtH/eM+XVWYh2hY2QFEKYyPsGusx/2+mWpLsHznCeg10Qj1PTb11of+8VNXwrLtayK3y3mhjZdFVMuB/B1VY84KGxutxBzXx46A/llBHWk2qWFJuKnIOxEcVIVymAjxpx/iqeHkOOEhD6vr83EQnKIQfsHt4q3AxoJoE0isU0LmG5FHX3Wv22gn12ja/komc+W8VdgnJv4kasiaxw== 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=EUkt+uREkBEJIj2nVJ6yFTWxghXUw9giR6sYjv6Azmo=; b=RglvJLDH98L3r5183f6M14WQI+QKqkY36ayYaXxonnZ6eYUbTsRUNZ+9fLlELkfpR9cgW9t1wGwysCPDGYCWLKiz631rf5NKUZyQhthWZE2N1aKDNLlgyqnflL8w5f8aEQq/iHwV8ZVvVr+9KfwXQ4+tY4PzbfuAgTO7HWujVDPiaYXuvuBKqzjIt79mjaXlW1SRa6sdkJXZGO/qGpkgqn/ULYmNKXdPcxVDVShQYo9kP4umcRIiSRIT3fHdgTycdBsOp7/oaTapcupEzbarKNXhfKuPeBfL+bdMpQXf91Cn+K3qEdqVvynjiLm0MdcOOF3S2gcuhD1OMsk7kmNTHQ== 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=EUkt+uREkBEJIj2nVJ6yFTWxghXUw9giR6sYjv6Azmo=; b=SvYlurYHQr7zJdOMwLwIbcgiUoB40fka3RHrfHOb9Chou7/HInyjpOaMNcNcNU2Z3Xpk31wkd75/sRJhopnsDLwfkCn7Mk62UEPQeHAE6T0Dfn3eMSfHRnKBiynQgW5igfnSXVNH12W/XkGxDQYmoBdFKrsC4I7KPH1JMTR9wNQ= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by MW4PR10MB6420.namprd10.prod.outlook.com (2603:10b6:303:20e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.12; Fri, 17 Feb 2023 14:11: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.006; Fri, 17 Feb 2023 14:11:33 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Huang Rui , "Rafael J. Wysocki" , Viresh Kumar , linux-pm@vger.kernel.org Subject: [PATCH 05/24] kbuild, cpufreq: amd-pstate: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:40 +0000 Message-Id: <20230217141059.392471-6-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LNXP123CA0004.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::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_|MW4PR10MB6420:EE_ X-MS-Office365-Filtering-Correlation-Id: eb5f1711-cc1b-41df-b067-08db10f0df87 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3FWZ3g2NF2+y76ALinvmTSwpJZJcfVHGKz1+TzI2Ju2RmnStMwrtnnN/ztXCmvENEI3/e9yUkgcFo10cziamAqjbQISqMpBG3AxI9rK6bfGxDlcW80jiVBh6JxPmhJlc+1iOM7hI8db767V97C/VbldKg3aGS+ZwTQTIuS3V0zwaUtuaV8jnHSeToOUJ566CBdGcTjfZvixvFZCzmbE7NakdQPThTXuWdAJMtOnL+fo87xEtGNuwdJCaOTlEGyTuG/qC+PbjzYuRTWtoiM992THnkD32FD1FFX5NtCmhdmU8KTcrsSbgS5wVkjD0Ld4zVJdPZLc9IQt2Ijif9vlkJgMZl/eAh39Pmu1n9tOcP+xVUWlMzbgtVzHFfU9puD4goYvP0Jx+V0L1iPqJP1eYe8Din6/dffVLqYgk2I7jKdBJMFyvl9Degacbn3Wd7jyDorkh3mjEgFXtGkHpBAQ0SMSsMPLAxTeDkoE4zKT2eicKldNHcTBQ6SeomWvFr8giomDWebHi84qxmBW7rsEnXyDlaIAFRyFBk2m4PDeH2NIFTI0v5nSWWQCT7l1LMJ3dU0WKIVTBtiLNhxH83/VoOiZUIWQoD3qSn38AVCq7tR05lo75RNlc0q0pw4CYcD6FGTcBwbFSoavJv62pr4xPtg== 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)(396003)(346002)(366004)(376002)(136003)(39860400002)(451199018)(8676002)(6916009)(83380400001)(54906003)(1076003)(66946007)(5660300002)(8936002)(2616005)(316002)(4326008)(66556008)(41300700001)(66476007)(6666004)(6506007)(186003)(478600001)(6512007)(36756003)(86362001)(2906002)(38100700002)(44832011)(6486002);DIR:OUT;SFP:1101; X-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U596XB4UmQfhPLAsDVdZCzCXIWbgQ8aD//8TkRtyxJjTcIxqEUNYwHpEQN+33BIsb6OkaiGfmJCKJsYUcQRz69TsxM8kC3125PuyD4PvET/BSeiL/rvojqTf6v50fzXsq1FcwzEbXwmZQR0keV1lVTxPmub27Om0sSel9grTVmSZzc9zZa3FhFxLYIBuQFOrlA89A/wN8UMgghLaIPguc3rDPwl/DaKlDtg2Gcvx/yZU6VsoQkPm4VSiYrOe14sVJQkcoC+K7BgKzMFtdBby7VNPLLXvOEgEl80vEefV+isSPk0llurziK7MxjUEIhzoWces1syhONjNf6TCPi8bNC8f+FhGfXRMg5wtyxOcQf8MenXd7uZryq5EUwakK0CU6YefvOltZ2ZK49SnoUSAmR5mXbvY28KdIBoDRt5GXVAIDIMf6zOw7UFr46Z8dC/DwfakEBUPEX7dQUytJHvR1Udygddyc0BlHnzjRWlg3+KJM14nXeE1a7FltWZPeVQ7sZeQ6c45gxe/f5M X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: eb5f1711-cc1b-41df-b067-08db10f0df87 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:11:33.2871 (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: vQHSuGJujPg0003uQdxp9bdzxlQKsUIU+7U6dw4Z8Jg5QAkzpogt2Qos8SeOr0Q88F65Ck/pPxqQv5v+uj7FLQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR10MB6420 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 mlxscore=0 adultscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-ORIG-GUID: DRR3VbIPAHaf8DzzdF_krV0wyRixY8Xt X-Proofpoint-GUID: DRR3VbIPAHaf8DzzdF_krV0wyRixY8Xt 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: Huang Rui Cc: "Rafael J. Wysocki" Cc: Viresh Kumar Cc: linux-pm@vger.kernel.org --- drivers/cpufreq/amd-pstate.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c index c17bd845f5fc..adbc7b0921aa 100644 --- a/drivers/cpufreq/amd-pstate.c +++ b/drivers/cpufreq/amd-pstate.c @@ -686,4 +686,3 @@ early_param("amd_pstate", amd_pstate_param); MODULE_AUTHOR("Huang Rui "); MODULE_DESCRIPTION("AMD Processor P-state Frequency Driver"); -MODULE_LICENSE("GPL"); From patchwork Fri Feb 17 14:10:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13144764 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 B2FCCC05027 for ; Fri, 17 Feb 2023 14:12:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230057AbjBQOMV (ORCPT ); Fri, 17 Feb 2023 09:12:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbjBQOMI (ORCPT ); Fri, 17 Feb 2023 09:12:08 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A6866CA23; Fri, 17 Feb 2023 06:11:48 -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 31H7hXE1019943; Fri, 17 Feb 2023 14:11: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=aPYHPeXqZN575DdfJNkXXs5HgyfvnBJCc0q5aNCmgs8=; b=syKXUDz1Xg5C9t1IxMGQultyJt/DePCgc3Rpu2z7Os6n3SFN+yP99eK9yRb9k20Vkz6Z jaVMiv4o0lAlfxlWYhm6dGP16R0VeDp6vAWE/rAI0g5WY+eg08z8yO5ShSPXKpKwz1/t xS6r5nzce5XYq+ZqgOgaRY1sJI/NajE3MHhRT4Q/8Kl4yXw1eOryM2JOT7cjE4/79fJM aVqOF8VsPNmFyDNkV5AxOquuwxjxeKoXL+2xLDPiDb6a+xB6S9YGAmg9uL4xLFOICz5i vIYyWS+Iu+a0ossseacSKmy5Iwpssgn1NiHQeprqtnGsqr6kNO17GRDb8Xc9ZAHZWv3n Mw== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np2mtny54-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:41 +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 31HCZBeq012172; Fri, 17 Feb 2023 14:11:40 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2049.outbound.protection.outlook.com [104.47.56.49]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fa4yas-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JxMTi7z9Qa6qkXWn6OhZAHqd2ofq7+CK5mpJHdxJN+xK2kJSBLoRkViPt10Z/LFZ+pDGvoLHboIeH2J6ZWYlk4Xn7D1C9/87apmVbuHQ9tvzUGf2wjgVj9gzxKXyDC0jkmGkvg1ufwspvwGv6IKxtlFuwqbwrwd79NQrOW44ozfSfc5FQnWc6QOXIX5PJSbGQKdJR3NQ3ansWmbi77bJw3xKP4qh4gQfg3YTkR6g5gJbgrBqj+yEFw0b5CBD8bu6I6uLvycr1iswF1d7yfaqvxQ8B/r3ZJw52+YggktuE+1jeL8zYSolosg0Xok/H+4BbRywCZNmdMwgKuK4ERn+LA== 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=aPYHPeXqZN575DdfJNkXXs5HgyfvnBJCc0q5aNCmgs8=; b=Er915AcJIN9E4bnW7nKx7C/RcZjDf1t0CncvNbKrXjTpUjjLJHV/bQu3QQXU/V5v5nOXkYULBhZGHfcG5gLaKfTzs7mdPyEjL5/8ALr7wg+uWpuk+MRq7/SMsYj1G40hbv37NsoIxK6l17NpjDpSDHSTreYn70voA1oLf2cJqW/ko1Rz7nYYdhtr8ZlFMO8lnc7SNeg0M2IrceNg5MM8YCt1cCMclzmtUUaukAW4ZIZhn1WvNdEhh/eeI6Mhxy1stA8+z7EjjTgNmhfCHwZsQ1PSQQmAXHW/WUDhek/9bbXLjfzwKj+b1rG0LLKufDZmP2UYOtvaTxpm53FQM/25qg== 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=aPYHPeXqZN575DdfJNkXXs5HgyfvnBJCc0q5aNCmgs8=; b=BFFqRmYik61g137ACL4QVHTBCYT3TUbpPYhrHqGeKDCoJdlkBKI6JKqBr37AnVj2LMUaa4+YjrpuX4WaJGU/m4ARIBZYZ0/G7EQheoZbaL+CdPmPXQoaPypw9k4jOuHuWKxoWon2dgWclJ+GA+sWkvWKbtq117fnDz/G8h9pKbQ= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by MW4PR10MB5677.namprd10.prod.outlook.com (2603:10b6:303:18b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.6; Fri, 17 Feb 2023 14:11: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.006; Fri, 17 Feb 2023 14:11:38 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Greg Kroah-Hartman , =?utf-8?q?Arve_Hj=C3=B8nne?= =?utf-8?q?v=C3=A5g?= , Todd Kjos , Martijn Coenen , Joel Fernandes , Christian Brauner , Carlos Llamas , Suren Baghdasaryan Subject: [PATCH 06/24] kbuild, binder: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:41 +0000 Message-Id: <20230217141059.392471-7-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LNXP123CA0006.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::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_|MW4PR10MB5677:EE_ X-MS-Office365-Filtering-Correlation-Id: 832a9f78-c616-40dd-7036-08db10f0e249 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IU9/BjYyvi3MimKw3L8am2mYkYAScd/ZBOOGG9XPJqEgAnDqfnzBfxDSoNE0o++OWykDMP14O+E2wFrGDjIRDLse4beeYeGmIyBhkIdPpkH3PSJwmiLp01TeaeQ3JLRYT33bY4yDzkIaReG2iMizssVe/BJ1ka3iYyzwtJ1NAzb4ywGk9+t1L2rTs7TRLMQU9S/Dr01IWs4ZtmnAjmOfXIvSf9CYV+uYQzBBxigYnKt2DdyLThscGb+JkcaPeS6dQJxfiKvr+0slk5MGPrrJ6CLavVRv3NiYuSEMWnHK/t1R4PKRE//RaNiYWpwt+Fpz9b+1gAC4RH10HFuoHdgQY7Q3zIkiozJFFMHJdp5G8mDEccsJtjMwDxeoPMmeC6DRmQe+cJ9VyBQFK0tPZUO4AXU+7MEsq/yy0fLaFaGyYB+ZNLKf/HuSxRnwMWfjD/Wn3FK5pOO79tthEtxtxAsdftXH63hsdr+HeP99t4ESb/89b6q43QQZasdgA2A5nZceXPWGjsTVsFf9AJnV1EDCDsNiCRzliK+Q9mTAfEjrAjoWGeeddBcNPvnsfZozLdPxvQ8fpHiFeLBgClssgtlcOCIpiys+ewb+pra1ezfJutV7Gj/57Db8E9U1kqnsXsKPMgjUybPaU6+uo9ZWZIL3mA== 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)(376002)(136003)(396003)(39860400002)(366004)(451199018)(5660300002)(54906003)(316002)(44832011)(7416002)(8936002)(66476007)(66556008)(8676002)(66946007)(41300700001)(4326008)(6916009)(2906002)(478600001)(6486002)(6512007)(2616005)(1076003)(186003)(36756003)(6506007)(66574015)(6666004)(38100700002)(86362001)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?gVsTRCgd0Kzal59h9XS1Mgb8rHJU?= =?utf-8?q?KfFJLLsm+f0SkmGO7cR3Kzh6lv4jXUWho4FGV00oOGUVDVhAsWBtDbsaUTdPgyxrU?= =?utf-8?q?RUFRmvy4xQSQjHFOWR48e+gYsnBBSBSdBDUf6RuyQJnmGrWVVTfVEShBw+crCU7d4?= =?utf-8?q?Nv/RnAqrdnl9D+fjb38r4sVIBWNr+SG9PmPTad5QCglhPp0H+pDVMLtnIckjgnHVs?= =?utf-8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pSkMD4D1CM7bj6ZVFfehRmHV?= =?utf-8?q?p1VR4MWEf0mcfTnaReFIla4yvgKGWLsCvtf8xCLbXTu9AZ+MpXFaY0Y9yzHR/Xvra?= =?utf-8?q?I9EUuy8PVNiSwhBLhd2cOwrkEqceLQ64mgk7QtcqsqNiNomAXcpq7v7dRCl7jvylX?= =?utf-8?q?9i4UKMEUxe7aUJbIJ6gHDAlQjIiz0DZleZBSMWFyKkh5gKWk6FckHO8D4R/1n9fnJ?= =?utf-8?q?bLVZMBbM2m7IQF0YHB3XUDozNDO8dTk+NTyfd/c/FYEiHsEW/ajgzUp9ibIqO74Dl?= =?utf-8?q?kG//iZk88tyscBP+qtXtEp0qVU1RStyy7g5Z02mCZEewSqaFxjysNYYu/V+9Gi5CN?= =?utf-8?q?Qdc0yjEDSkvdoWZrm1ReIZKjbl8Aix5mkJ4XLHqNzk6xZo0mMUtCe1ltWatn/H8j8?= =?utf-8?q?9JqNEOcfHLYUHaBITbrHmYrcCppnpxcSA53JSyu1Ewd/eRA83Abr8TbB4DYOA7QqO?= =?utf-8?q?js+sx7cZhmTkSQDDY4qLgSHNhNY/XYswIfSUAs1bvnq9E16Ot/b779hahtU/QWePr?= =?utf-8?q?HQOnY0vhHmsV93UfV5C/69QP6OoAx5DONdFZ8DsXMyfQP5H/1bNpq5TlM3wvGikr1?= =?utf-8?q?7UAzmmlsvO+q6mzgDMfoNDDwCIrOmW8tOiz4takaJCSRiFdZYptB3w3q+LtncDylf?= =?utf-8?q?vQhYE6mq2BDM=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 832a9f78-c616-40dd-7036-08db10f0e249 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:11:37.9122 (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: NCo8oHc+bsqoBLK/krmetmiiThDayV9UQgXS/NNdtXF/IScM0EdxaoSYwxVSj4hjeuxQWYtHNh37k3dN/ORM0A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR10MB5677 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 spamscore=0 malwarescore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: KgzZ4X78hY9xFJ6mLIMG_IkCMhgdLi67 X-Proofpoint-ORIG-GUID: KgzZ4X78hY9xFJ6mLIMG_IkCMhgdLi67 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: "Arve Hjønnevåg" Cc: Todd Kjos Cc: Martijn Coenen Cc: Joel Fernandes Cc: Christian Brauner Cc: Carlos Llamas Cc: Suren Baghdasaryan Acked-by: Carlos Llamas --- drivers/android/binder.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/android/binder.c b/drivers/android/binder.c index 880224ec6abb..e36164108da6 100644 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c @@ -6597,4 +6597,3 @@ device_initcall(binder_init); #define CREATE_TRACE_POINTS #include "binder_trace.h" -MODULE_LICENSE("GPL v2"); From patchwork Fri Feb 17 14:10: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: 13144765 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 48D75C6379F for ; Fri, 17 Feb 2023 14:12:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229496AbjBQOM3 (ORCPT ); Fri, 17 Feb 2023 09:12:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229746AbjBQOML (ORCPT ); Fri, 17 Feb 2023 09:12:11 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7307969292; Fri, 17 Feb 2023 06:11:53 -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 31H7hfYX014901; Fri, 17 Feb 2023 14:11: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-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=MkbFxMkbeF1hxwptFRTVrRNzdsjIshcMzIrnLT/1fgU=; b=V2ABMx14hmK/Sw9LfUe7aYeqhCQKjSwLhacys5WbE0+TXXfFWDPjdWijyKKyl1zWCyeM uLa1zvzjQww5SBy94+NiWv+yvQYffLYHo5eR/euPB5GU3kKVGdsUiEReqMndjZXMSsgM JwSOb19J/kRC7LG3MdtwqRfjFCE+r0pTO2vCk25+oE1MQajLNHYPI+EAvw02KoQvVuSM BPc3AmqkcxuvLsXfAorU+KafaSVBSBTsth9Yb+xInsOdymjUaj4b2nZZ2rG9uUg1Lk5x ScIazazbv3Zwq8ee+YBWspWspigjXUKjz9EE6l3Q1scYloNimqzz6juJL+Oj4yD/U51y sg== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np2wa611q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11: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 31HClMFx015268; Fri, 17 Feb 2023 14:11:44 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2175.outbound.protection.outlook.com [104.47.57.175]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fa7nrq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OwtlpMAZLgtvxZZfHFbpUJ+cNnGPKctKEREOVPAtutnWGJ6dLI7Y578U+Q8eyd6hIAPoPcobjvczUbEHPIfUi0KIeMRyfy54K4fOWgkgJwWZskOE/O7d10K6gLbQ+wUKjneu8LYDAXbxPxXsdyOeUmLtiQ11xItHE9aHpXB+Kb2s5m2y+JwulzStwA1PizK5ZLXuJLZiKdpjMXmexls8aYpAnbgrYYXBQ5Z5lFNPbf15oNAHE9bkN5pnPJ1JlXTCf9Z6DzaOaP8Y+RDHmAIJqDvmeyH7zJ84HXg6WWU0hWWpUdLyMMwi2sNoC9XNveIJJ3LIRUc57dCgJIngr8CJGg== 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=MkbFxMkbeF1hxwptFRTVrRNzdsjIshcMzIrnLT/1fgU=; b=AHaT9vqwsGPhJSgZK2UF10ezpaGwJ3lnhwqk3XoRP+73TapagW81JVAb+w8mbmZMSxOa/jxdobpRXbE3+twAbPpBZi2ilQTxHfCZHjOmoUKni3IV9ird/TlTg9YA0VHxhCfjyrVNiMmonHdXRQdqzOGUMuWw08ES4KysmZ0iQ9Pr7tmhhfgroineQ6DrHP3Ls/6Bk2r6TMrxlDe3xfQeZ5YqBbG60K60+HLPj0SiQlrWuN508EviG2kno4nzJqMvPMWPLGe3gje1+8IL/3zpMw6DzfTbEGECr9A6nZKznPZTzvMSwaTejW8uPEi/+tnUWoGyPCQTFXQnUm1A8EbFXQ== 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=MkbFxMkbeF1hxwptFRTVrRNzdsjIshcMzIrnLT/1fgU=; b=O3Z1XO2BtqwRUlnDdeSIQRp3/Xgu2llvX1T2KbC/N/2VdDKKJkTdT3adA4p3IBDAR5YJrxy0mlohXbXUFuzpF1HQl1jqqkMOvCHzMZ6FjkOqrOLH+6v5eGWdha7qg9mV4jrjYyTr0FoVoAfSd188PQKbKJFqxiSm7imI3426GUg= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4795.namprd10.prod.outlook.com (2603:10b6:806:11d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.12; Fri, 17 Feb 2023 14:11: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.006; Fri, 17 Feb 2023 14:11:43 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Linus Walleij , linux-arm-kernel@lists.infradead.org Subject: [PATCH 07/24] kbuild, bus: arm-integrator-lm: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:42 +0000 Message-Id: <20230217141059.392471-8-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0066.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:60::30) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|SA2PR10MB4795:EE_ X-MS-Office365-Filtering-Correlation-Id: 334e64ca-f343-423c-5b50-08db10f0e531 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +zCbMzjsy3oBOTC1vx39gZBUbgv+LiY8FxcyVTng3Z2qxPDth3QflZiqIRQsIAZvKTzSosMO/xC6nE7mGQG3somaWeMO4buEUNyGjjC0qaJG24HrYDYkm+4gRi2noHvWk7qiqmJqArs0JashKq6zdkanqZ+I7lYM1XUK+382rRp4VLu1r35RDrthqb1mZKRbX1cpKvV5NGxUsuJOAKB3FEvlPEcdcfYxCpTmr4qOEs0P1vr0vgRvrUHkREP+/uEkTu4AJD8uC7R/r5GQ2f9xbSQuId/gMfeBkZAzWucIu+FT+usKj5ygtB3s2p42j/Z0F9G+TAKsQxCFIPpkIw1s2bJPbZSNPFufrEIePEfJ+lv1EcS+u+F0osoufJhyS6HepbjzBq1hFjuAnYEGqCRzq6KTkqs2x/RbeFsXYRP7hpvNOwTFqrfsDznrElifMWoJA2A3ZeDdTjv+ydpqdwjPTEk30yLEgPeWud9g4L68hJZF1G4TtOzvJrvMDRZjTq6BWDH3f6wL0Ft2y4jTAwGeT0ba0RP8SVnh6Q+Nhq1LDxC4fNErPV7HT1KjR3Of1PBHrALBCf+vfa+PyFgYCdM4d6bfQE0el1pS27dlEfwqIMkRUKGprhGbjqUxEd0nYfAqSh9PnzWYsUf/JgyjcsNsXA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(136003)(396003)(346002)(376002)(39860400002)(366004)(451199018)(2906002)(44832011)(5660300002)(36756003)(8936002)(86362001)(41300700001)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(54906003)(316002)(38100700002)(83380400001)(2616005)(6512007)(186003)(6506007)(1076003)(6486002)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: gVirF831hD59PAMupzUtrRprABw37iOVZfiUx2tsEj6ZLt0DsyVhcB8nR5zddd/pLwiexZhrH/JWOW9mx1PoT6LTUz5J3lcWVwYCRFmq1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/RhorFIYC3XhJestHBp16LqeYxJhSFEet/6N8NSGV176SiCop/N3prjESPC6bJEWzbpi75+8+QADEYtSjrG1qSzLClbtt/cVTmT0VnSaEPwvMRJbxx9pmBT90BsWbyak7ZrfLUsJHY+/YEHUWUMxoUs4bKyizRAb/kG53F0Z7JouF6oiIZcbFpIYGOgcahyFicDOGkgfkE1NgCEVF2jjKZVB5jcVmSbPz57n13I5QU4I+ywGVd6sDtEp0HLDpp9DoC8iVWDCizLmGTX7rOHXQSV97+WVFsf021/BlqcAlhvfIP/r8Qn6Bcj4s+y1iDdLKOoyRBzBuJgBP+EMl+VbLxR+WqtrCUxAfnXeiUxbQiOzAQiJyy+4UgN/FbkVU1bqPseHBCFy+UY0nmValZEtkR0DIQRz33isTXYgQ4QIz0LQtD/jtX95rGVeNimzI1mrug2NAH3VjWhJwtP/AXAyivvqXmQk= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: eihRkZNaEyIOqB+mtdj0BW7DZ6x2eSHwnmjh7eDu7PYZ+bMEimeuCG3nEAKClPITK0B8sMprQPZ65eV5ncfPXXyMg5kfkXsNkega19qD818bcm3hxuLHihkARg0VqCU08XPs5Pbao0UuIiOBslT2XjEtx9K9baViCCLNIZD0qAxREjXFRVosGd8e05YOVpz1M8hYDz2/SbYl8Ok5kHMr0pNLzcyt2VueTcvu85JZJc4J55lCaSavAtWc72lr8hg3aupneu0zABtnsY9FIlGSGXlsZRjfZSiApuzyhRHPYtySmRWNzsSKDpSvMHQ2YmAFYYwV9m+lpXZJzb/jKOFRELipijSQX6f7/b/JtFhVW9wst8DEnsARyFtgJICD7VmVlEIifLzPoeuo1g7WA3R4qOXz98aMovNBLCoYBWV0eyYVbBKROB+B07BJlMoPfZBxJd52VHWsI1nScWBtLvFEB8pDyp1/dT9a9iOoEOtCSvQpGD8q/Al9PIyDt1GipcPzT2f8Hcyz3S0cu/+Iny8kIIk2LKxhZkLPDKgYvuQRYzEmsXeyn2nTOx8AaFFIvY6uelKQepiozILfKTJ/K61MEtaizqX+6oCcZMWZN3VWbS8f42FEt+9g6sv1eUI/eAGT0qdR6tbpysUZqmKvZTStBPcBIXKegNdBYSnaVuJ/VOIFmWKZYI7Z43RMhY9SVTdWH1+yxwKvDeSJxKMH5xm6tHTUX7ROi7qnuE/o4nKnJh5hakmXrTo5mv4l3Hl6VGTVDtJo8t4GG4UjtediSqTsWkmuWx3/OVkRkJPg9WA5XrwGA0fRHfk/SR4qxguSz2TEH7RuiDY2OE2Shossw6vp41/EAxW32R8l50BQbzZ3/OXFZGe1xSjO+7cpVEJwIosyUFp9A4LpB6zploHlirkE0Q== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 334e64ca-f343-423c-5b50-08db10f0e531 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:11:42.9607 (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: wps/qTXZazaxHq/GzcjaVmku5isN793GAfzaSJ33KmpaKAhQlZjLjMN9ZPmEMPmXCl0rM+hN76Cs+XNIdmAzdA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4795 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 phishscore=0 suspectscore=0 mlxscore=0 spamscore=0 mlxlogscore=999 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: IFmPxx0xO7lwXK8JdfUm-fjmUkMzTR0m X-Proofpoint-ORIG-GUID: IFmPxx0xO7lwXK8JdfUm-fjmUkMzTR0m 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: linux-arm-kernel@lists.infradead.org --- drivers/bus/arm-integrator-lm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bus/arm-integrator-lm.c b/drivers/bus/arm-integrator-lm.c index 2344d560b144..b715c8ab36e8 100644 --- a/drivers/bus/arm-integrator-lm.c +++ b/drivers/bus/arm-integrator-lm.c @@ -126,4 +126,3 @@ static struct platform_driver integrator_ap_lm_driver = { module_platform_driver(integrator_ap_lm_driver); MODULE_AUTHOR("Linus Walleij "); MODULE_DESCRIPTION("Integrator AP Logical Module driver"); -MODULE_LICENSE("GPL v2"); From patchwork Fri Feb 17 14:10: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: 13144767 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 756DFC05027 for ; Fri, 17 Feb 2023 14:13:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229629AbjBQONK (ORCPT ); Fri, 17 Feb 2023 09:13:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229623AbjBQONI (ORCPT ); Fri, 17 Feb 2023 09:13:08 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5DBB6B326; Fri, 17 Feb 2023 06:12:21 -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 31H7hw77020119; Fri, 17 Feb 2023 14:11:50 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=1HFu3EFDbs4VxwsMNpGyEeIyQR4bjk7QKA8oWloRB1g=; b=a9OQwXUR1MqfWCkFZvO7tyPM5HA+JENgoOv/i8ScAGvRx0Pvso02wlQuj/bOdXqQqNbj N/pYLtELUQGx2aL2I0ebA8i7GY0M7vT0GwLS4fiSe9JihYdl0B0vQHaV3L8jfWJi7dvt y5oZWAnV39p9QA9c9j0R+AJj4gHLS+uWxMwLBaR+ovQqYn/p3U1NFMX/i2MRaIHSgoJm y7Jp8OGDCO8+t5sPrzl/zE9z1HT3NdU6XVLyCSPv0zl1lHlc2l17KGS/GVsN5Pgl070a akgMYPaA/sqbyV0SyEZtuqeC1EV2IhEObIBLS6tfHKDonMDa7pDX+ll9Q9cjOlDcej8A NA== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np2mtny5a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:50 +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 31HCjndx036124; Fri, 17 Feb 2023 14:11:49 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2171.outbound.protection.outlook.com [104.47.57.171]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fa6sgx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f9W+fvtuxSvNX/lKgC6TaHP+i/qOhqKriEYySIWrH/vcM7EiucIea/kzZbtF4GzdQmS1Dhs+dTc9/tKkBEJTdHMxhqBdFQUq03d0jp+fz4h3uf5X9/HX8i9/3d8L2xqc26BMmQjJ7Zody/3Ucsq1ZXczhC/+vkLkI9guN2d86ia3T902JFWp/oOma/hJwMPdpREVyn2M8iecRWzRFpQYR2yxIrzfT82W6KoIPJiyu4pDtSV4VAVfbCkegDj27raH2Jph4gBkArDTIMwWhZPlCgUCzyupz0fim0VxNlURi3Y4sflgqwrATb3+SO4ayr8udt8hNq6lCxIX0XCBdybJzA== 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=1HFu3EFDbs4VxwsMNpGyEeIyQR4bjk7QKA8oWloRB1g=; b=YGIZfVM7np16tANuUUkjPx3LwnbLVpufrsPqRe9yDMgFFmxSmxEdus8Un9i+GYIU5KhzLTjfsik8ZOwUF8zxeySq4xBRY08iUvEHl8jymPPTfcIQm4vmqvqfEQ09DdPHPA2RAJWgtMHOmpY+S1MG4oHgnrbvz1T5Oshl8plenI9PeGWjr84vRqT434okPKf4BjGb2e/zPUKSfFcDR3cCp0E9hGo59Dj4vDJRIY/kH8Zo0UYZuCOCZTgKSDexXHK9dK+J5V/XVGOqfAc4mi3tEp8LAqkrewA1asnLJ1IT/ouf6LTVj39PjcHRWyEdZwq4ri6wHR+JX8yUpBtfceizmA== 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=1HFu3EFDbs4VxwsMNpGyEeIyQR4bjk7QKA8oWloRB1g=; b=zwplAOFEAn8PRukz/7nrl8HheOEHW59FM9eNEXKgHx9gjY+l9JHghh8sgles3IQCnbYSab9PIENLw9Hr6AzaEBFEJOIBRPlDBzED5TzzhhnX7L4Edq+Eja/LbXAkl4+AYWovCStzbCN00Pg41ic8UQadiURW2ISg3XgGa4XhrqA= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4795.namprd10.prod.outlook.com (2603:10b6:806:11d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.12; Fri, 17 Feb 2023 14:11: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.006; Fri, 17 Feb 2023 14:11:48 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Will Deacon , Mark Rutland , linux-arm-kernel@lists.infradead.org Subject: [PATCH 08/24] kbuild, drivers/perf: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:43 +0000 Message-Id: <20230217141059.392471-9-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0499.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:13b::6) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|SA2PR10MB4795:EE_ X-MS-Office365-Filtering-Correlation-Id: a67b0f1f-1610-43a0-7f68-08db10f0e83b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PSRlwjf28SIb/yBP0NtTpEMuOIBFrFIukl9Jj3siL9u6qyY3AK+EIPBF7+rxTKntlansX018bbg14PsKGN5PqRRmWTRdTtzanOR+Z7e3VUVyeI1Mu0iWo2gkJsQAzbXrQqHu1ONT//oz8fg1uoi0yBFYuW2qcsnHlQxS35JPm5b80iwcxQr/nhApkl5FQZNy+ylwMu7UlSnAw7CA86O5r7ucBKV8hVhzKqzNSZSr9dVij4RCd1TyN4bCJaWQzFl6/tfEWT4Kzd7ionVFyBRSLqKKDTlkv+fCm0psEU4KQNHsoG+VfVSyQfMeyZuG3e+r8L7M6YqfQvcAI2LW/S7Ulq1V7T2IQnSQCu670QxtETwbEGWVsUdy8ffkXylNpcAVTRUxl3cAlzcBo8tIDRXK7g9PddPab7bDrW2byf8BxDlWZFwEzzoMZ7pbyRIRGw+rYIfaTh2n62ztxrqS2/0Xw3Sp7QWVZgXjFGI+zV3ZlZe7Ye7XeT+iYKxzkWOhHpv5EzM+8QWR6Ev31hlf4tcPK8i/z0dfzagW/S6Lwc0ohKkHmu6TbxbKSgA3GqbM6eJ1bKauiVt0MQ8EO5UE0bPzSWdp8THRgirEjCJGWbwGGAHt5+r1FdAAClj7vpuoFfod7vEDzZq5bMdC6D9o4IwMNQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(136003)(396003)(346002)(376002)(39860400002)(366004)(451199018)(2906002)(44832011)(5660300002)(36756003)(8936002)(86362001)(41300700001)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(54906003)(316002)(38100700002)(83380400001)(2616005)(6512007)(186003)(6506007)(1076003)(6666004)(6486002)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mt1vA0vWSVA3AkNU3YKeGUpaXNJw4c/zWsb3kwQ8pnUiB1uWH78YquGhVDnfMv95TtnuknZDS/9TyiNJHfFZpAus7danwIZvoQbrmvJk28KS/a/OW7/tjy9P23HaNSiwX6bZE3TeRHB8Cp3gwSf1l+wzUTr+0BzVFMdFR0IofzkckOZamxl3v4aC5cR6OHoSSegBrsdj2JoMgXCp19z6mAEhhaRa23jpZaJzPZmSFSXU8zpi2lRTPiMps6r83kyH/8+65oOHbJsZexo3awVY8SQYGORSX0m8yZCw6SnEzOxGtGLXyQwmUuP2b5pJA0hoYEgTZNvNNLx6lyu+dUSsG2hfy+4bbfjdXZjeAG4phiqWkP4N35KRc/cXcTKU+cpCGdwfbm+Ae5XvkRQfhBJnzTdB+94WaSuk0Wfyvr2q3tASL6aeRcQkhRBihioZNP6HIobxKqI3d7l5hyrNoh//2HWpnyeflW4y2cd12qKcEvmCqBY/xH6+hDMW4n+l8qkGWffdpRSNywqRRodPabneu35v00mI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hnRyl/0cEEu0KcQ= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: Vr3SgZbLatXBxqC7viL7S7cWnznUA7Oxx+KaIW1cy0KLGw7rxsZeoKmrKSQt2njdPSoBNmBaaxx7gGUKzExccVwP9hwAGCSt8VbQQ0xTMl+V76CBryTRg9cWoGbYCH6FaVUDo/ngqmbLjd0yMx/6thVHZ51mPJnJi94Fd/KtU474MtfPrAmcFTEzd3zf/CocyhMSjPN7v9GkSzkOZqg+xhewRJoYHiLqKCeB0ILLPjR72KN5pRd6c3FjBTMC+XgWvFSUUu4XRlw6EUfc2rAWmrS1+ecn+t4tqpnF1vhKNooKTAwR8iluQDKNOF1c8k8EKLjMfcRixZKObUONCvyQ4odTPYLs6omqXmsExbNnslUEN0Kq5TZ1iTJE5GYVYy3ybhs3qrp07DKPjzQ0Vz4EOflNO4HIseov5I176p/2uJqq8IQbxlrNcbahmPP2VBD+kjQkOe1PXUnNly60v0oh31FDYYsjsiAOH8+zlFs5AyKd3c29xbIl2x7dnj9iFoULTuQgES7g/Zw0jPJIZ44Wnp7UHKBOtGPQjKUGzqAKOmrJGhq71W1qiJD5AMiB1hfEVHXi9Q7OBGGcFJ6I9GMK4DlzNXY5IHrn2Tp+8DNrj8UFjXzF/CC9ZnunZN8vYJBLmtKOoY36lXaYKLBkpoJRAvxP2uXAHGP9zxydV2aVuYswSVQIT42yp0rtVeRUev2eC5VwAOmR4L6wCkkWAjA5O+aLwiTtXaOvCVghe3Tfl1bhb4jbRsoS+QTJGpXaSDUK/L5mhV7U3hw0tQCB6jU2nJdn3tQrjWz+oeLqmkRLMD8nEA7N3QCfB8PpsL5x+XxwLQGQptjfDwErzCEq+ZcL+Ypliv8/ihb5vmT26OugyaBvzZR8g98dR+oaBli6v+82Udgwgcd8NJzY2J5wZZIZBA== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: a67b0f1f-1610-43a0-7f68-08db10f0e83b X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:11:47.9028 (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: f8H/RQN5VIZaw5Js1PpWN1EiS4dMMIKUHIhII3mchV3WfvQso/WrnMS0F0AC31prp0LY7DeZo2x6yE1js4wtoA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4795 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 adultscore=0 mlxlogscore=999 phishscore=0 spamscore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: QhhZL01W0C6eopNbvZ74AhDn58oCIeNw X-Proofpoint-ORIG-GUID: QhhZL01W0C6eopNbvZ74AhDn58oCIeNw 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: Will Deacon Cc: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org --- drivers/perf/apple_m1_cpu_pmu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/perf/apple_m1_cpu_pmu.c b/drivers/perf/apple_m1_cpu_pmu.c index 979a7c2b4f56..7123beeb992f 100644 --- a/drivers/perf/apple_m1_cpu_pmu.c +++ b/drivers/perf/apple_m1_cpu_pmu.c @@ -581,4 +581,3 @@ static struct platform_driver m1_pmu_driver = { }; module_platform_driver(m1_pmu_driver); -MODULE_LICENSE("GPL v2"); From patchwork Fri Feb 17 14:10: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: 13144766 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 65FC6C6379F for ; Fri, 17 Feb 2023 14:12:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229534AbjBQOM6 (ORCPT ); Fri, 17 Feb 2023 09:12:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbjBQOM5 (ORCPT ); Fri, 17 Feb 2023 09:12:57 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50CEA6BDD9; Fri, 17 Feb 2023 06:12:13 -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 31H7iVSJ010831; Fri, 17 Feb 2023 14:11:55 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=A+xJETEKI0gM0X73p6dl6J+4zhVRlx9w0oS3m69vXtc=; b=IdjAsJ+Vt9ZLdc6lf2EvjtO1O0gMAajN++VI2aGPqFTAsaGtbqzt+OU9svY8uv2QNgov AqKXVuASY0LxMpRfv4H3hN6Yss/UNdusX9XPbe1ashSvAeqSszR8aHFTatYa3Vi321rB GcWdQw1VYD81y9/G5XUvck1eJ1KaJw6Jy6J6j3+Icu7SJdws+HNgJzhfcBm8LmpEJJbV luAPjL45H2DaS8Fb6rqxJLtxhTwpm3xsFYXoRX8pGlXnUOnaNlHaW8Q+DkDM1OnuZ8RB gqYUcvhmDzsEw8k8PXPUosP92ZTbHS4hR1He5yr45skY+VnyETewckc/A9barJH/JYRU +Q== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np1xbe029-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:55 +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 31HD0w7k013834; Fri, 17 Feb 2023 14:11:54 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2171.outbound.protection.outlook.com [104.47.57.171]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1f9uhv3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E2tGHGv2zR5/nYc6/INKIic0uy1WtnJDLYY2+o14lgVBaJ3L6DIRmbA2fTnRd2PU5K/hZ1pTgWO6TZ97KXo5JzcOLQEgg98XfowC36BDEKJrenjVTRYvig+yK4bLCb1mLGEcAwIaaG+1+twPFXsFLZ9P35EQ8z2Nklec+H0M9rU1ny4Fu4RIbgBbCxy6Zxewyg8J45o0YUIViKB7dO4/1E6j3S6HLvssQRQvdAxLNpyjf05OepYID7nBWfkEdRJwG2mlJ/BFfJ/g6Esl4neGms9MKrcHZ9ARhekcAgeIRXGSfGldzcxhidCBC3xNS0ZD0VozDuukKHyJ4xh6evme2g== 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=A+xJETEKI0gM0X73p6dl6J+4zhVRlx9w0oS3m69vXtc=; b=MAP2IzvmEZVzxZxRldf1GkQsU7D7wn7PIro8aPzGpcl7cnxeR+AFcp1CS6W4C+c4ELJ+CLsLNCGt1Ks98xbKBljNoOT3U/hIPknMeY4s8YmZ+X/iCFo0vlyroTXXzhkvvFhnHt3dXQWenu5FbzCB2y6oauOmJOeSoOCnVNrvkBm3AKIIjDk8kZwagN+dicVDA7yMywtDR4onJuTs1wPaf0yBXDr1JIPMUwj1A/AFHhNb5U/3V9zJ0SyyscS24ZiJeq9yyl+9Z+rvHdXsQVtXOOfdz1QWfucbEk8ZAJrf091TX6JYu0i8DlvcWrBs55Km3iNihsNvsusW+bU0u2utfg== 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=A+xJETEKI0gM0X73p6dl6J+4zhVRlx9w0oS3m69vXtc=; b=dCIfmk/C0zFESxL9FtnXRPdep9+uxO9YkwOcqMigI+JGQ6+rr8GO6fjz0t2TTnjgIopOYqvKd5IwY7JnrIChNbm32VNutlQ42UdG1OFYTv9ZriItHLVAPk6GSE+/zBfhYFFSo8qkM05DYZcbCdHR2LYKR3ltznl0/ITTrg0TKpc= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4795.namprd10.prod.outlook.com (2603:10b6:806:11d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.12; Fri, 17 Feb 2023 14:11: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.006; Fri, 17 Feb 2023 14:11:52 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Thierry Reding , Jonathan Hunter , linux-tegra@vger.kernel.org Subject: [PATCH 09/24] kbuild, ARM: tegra: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:44 +0000 Message-Id: <20230217141059.392471-10-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO3P265CA0027.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:387::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_|SA2PR10MB4795:EE_ X-MS-Office365-Filtering-Correlation-Id: 6cacf9fb-1bb2-4934-6aa3-08db10f0eae5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zbfrnqG7uihYdEYYDXxTTUy7j9qvtqacCGc1UFk+oub/hmaW40Vmq+BiO6ep33+TLKa4QNQt4ci9Rjg8CRmCipPqdtPWxtTtzJxeaP96K6NAEcJXC7ix9SwcvMEjPT5DfcHg2aF6MQlTY+szO6pBOymeN0Mpq+3tC6q41P24C7qwahE5OU0ms7Ny+9uV9xYBRuLgHzWtQNs8ql5hZv1569jA4OeoVQTlB3C393Tevrao9YEe1bqhNta6eKIT35baDVUPsPTqAfX8WI4UJ3XJgSxY49mBo9a1mnNvpCc+URVjR5XH3DAiBWENN8r2Y2OOXyLAeGu1dppdcJy4IrciQH60qiQDFC2NYPNuA7PEe3fqDJkb2rUHVrtEJo/we0C5xqVgpxA+FNsdh1cSRbeiMJ8vrApAkdzy04RSvS/HF0Q5y/WSi5egr8iZ7oHkPGhLogIx1jHX+zS3BAq3PrQX0xpbZD5N2WCwMrt2L5zr61cj92cwPsEyUJ1Ifs+qNg7X7wZaAMebMnas66YCme/JY/uqb0ja6EjCCn1T+njJqef0+UeXwFszI6LU6VP6thXlHKDuiZz7XNnUEjiKjoEzvJBlZhVwDewctMGNEmkYpxH+0JULDqAuTKvZWLqLM1weSwEy6k8ELzJEYuD6+6ne9g== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(136003)(396003)(346002)(376002)(39860400002)(366004)(451199018)(2906002)(44832011)(5660300002)(36756003)(8936002)(86362001)(41300700001)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(54906003)(316002)(38100700002)(83380400001)(2616005)(6512007)(186003)(6506007)(1076003)(6666004)(6486002)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5qpxmbkLlsKBPIjNMUHmABXfEV9qKXlRBXCB+FRifGyYewWowaYqitmCgS04/Tkz4spqFsKBYziEiEdE9ltEOn+eOSJpXvFYg2CE+KfR1lW5gsz8XxaKIbCzOpgQjm/qWzhp7140XRMo5LtnZf29W4ELSJUtsBldTFnISO3qVgac+8uZ32MZuMFJV6zjKXxlXrOndchItoNLb58rsExTMy4jd97vnzQV2tLyhvRTPWrxIrbBtv9n+DWsuU16j3uv5vnpWXxGwwaj0CbvWcO5eOCE4i48ki+UbSD+sYCqNPxcMn70vsKNF1QVJhbg9HL6cOtktLIvKw8lattQPJFho0zc3CztLDQo23JDWeJPMVBbDDBqrPpZtVpHiXTTveVhGhd7kYQRlVBBVyIxl4r/5D5vibJi0bddeIVyJmOQf0s2gOUuBkD0WV4q8C54jt8gUEMpX7tyr2f3FT+kcy7dWHHYJxthz9iYwys73TJY2yylFoB1SyORmwrxIZchORlNY5Kqu36qhC4TVud+84fF5jo9oWTogm9Ch1LKnT9ZbJ6K6hzs+S/nJp4531zWJoIVk1G4WG9ZchlwG0A8yeITUrAbTV30EAlTBLq9hViEYHd0vcyHKCHf+lg+24VEvhZPZ4Vex+QGEvxnT0I7cSytjHBah+/yHWhnm1SBzOlqidVbmgreqIfcPDih3bKLO0wQmQVHtWAMB9+pRqHsTPoLIC/A2WsMO88WDYcVcF8bhOYvsG3jvjsS7a9Av3Vosa3GmLFb8wTGUnp6axGiZTbWj4Cc8JANzIdfpht34ylrIiPeOhWFClRQ8ER0pJSaZkdWIwuIqd33Nj5bifOZJuxnZco95TgBElIkivPUsDv+tpiJTrjx3JRiCF1SagEJBUQdsYvNWCVOGBdIhKu0NvsY9BAFfbsTIYlDQsUZsrVt3EmhmiW5T+KH7wJmHuWft7+IkxVfubTurFraqeHsNBYiubYhOdTRxjWSoVhEp+nSTyvyCLPOP4sbHXFanzZr+jR6Qdwans4VGxqpjANrsebrclk9SRJ0KElI+8FnPaKJjCGm8ZqDtqhuXQz2OMO/yEKvucsOI9B8J2Fmuq6wSaCop4xLdx02O1lRvq1/a+f6+bxiGwQTrB1J0QsmZFddyP+wD1v/S0lIEe8RdVqmSogZI/JqXDcUUJomiY67SMmKh+6TGNk9iCZM0U7jycrIRHLZUdWvPzJW2/20vySZ6+/GjEzDtV90vB4O+1XisbOZA+CTE1OuMQJJO0YPXtLetOucVM72trMQnFh/UisphaWeUlmElFedHlbjrm5OWYLUQdExpddom1/uvLL3fN+wPqBhnlDyzmO+njw7Sjl0WKHDvX2BR3DMAajL+WtlTSZaHSm83fmL2KT2wIDWoF2KZfNNYfQaZ2TN6Np2Lc7lRiorkctYecJG8bLQ+t6cKzwLiZgIBJoblC0EGNBXdOnCAaXP+i3Ft9tq3S1zlrQ43c+dWo1KVNinGUIRkCnl/mdZRK+d0lg51zYwxu1qPttdJlmhS6dlY/kHHfOFle971KMDdYIxSEfF0HWEZBNOzOoNK/xq2OKnVZyYWl/MggsCPImIpM1Y7upDonW5J5/HOiRZrwonSwsy/U0kT0710cDnClk= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: sED/ay/TWE+pWObPf1cuBVP5+MGjsw95+WYn9e6Uxwa5x20+MppZWXfHRU9CcSa0CYE2T0Erivra3e1f7KckVkt857TNxzylIpiuku2M1GPMqVz05P1H0BKhCgtlWucpjnoF3DOGakkkDjUD49oGkZwE8WfT0MieqbmOran5Ml4O+hwgO7FpbwxGPIlMpIcRaOCxBNmltP67BPDbGhEneJsUyTmMvyFVZBTkOZduyRsrG1bj4cJ/EymP2QjLmRD4AOb3idB1jIYMqGUFiUR7Zu5FaBFUl4Ae0SLLrmdv9zahLb+2etwzxSKFC+posoMusQPv5ahXgq8RhZaTy81zvnv8q98fDjNTQpH8OUgdntvl6XoW+SdWZLrLxtOIg/IxVFGFBEEGSefK3gyUXqrFy4nw4nWIqQXP3ngeF2hNQbwsKObJncxLZfmuMkEIjmtfoDM+Hs8WJawZwFFQwyGNotZSbdggBPriG/VumEv4h/zQQWH+slKUHnbhu+4JK3T75Q5TUtI/gXE8NToyYAFR03bLd4ZxK/LineIc6CnnGscUfyeZzIwS/+beGjf1SMgKRjIOUMz/y7IhTV8+jeTMU5uv0+XctzB1yXl4i7KTK3vJhQjwa7iP9ZG4Sze3m1+2cPl1SYHakalRl+e/pBu5281O2N/99xwEanmphS2BaMGwwoe33kcTwW7L8IySdfpafhEPhlO096CkZooqeYY47J9KrsdDWk8QNFC/kY2UWkIiLxbanmCxOL9Th+umlD8X8fm4s3hGpbWgomP56GM6Gek9NXhl4ZIS5QjUNb5naqRpgFdfiHgbRuNU5xToPbqWRvGRyVLYRscXQmDftg6gQrXuVXdLthgIpfC3vGQoFsUW7Ezz2HYdufoJBE0Q6+34 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6cacf9fb-1bb2-4934-6aa3-08db10f0eae5 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:11:52.3718 (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: rIdA67qSdHirCrBIz9jfn7qxUy6LnZZ8G1ddM4COwqQTvxGj4JYubdDFEzH1/X0nUXqYRr5AEez1OOej6wXD5g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4795 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 phishscore=0 spamscore=0 bulkscore=0 mlxlogscore=999 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-ORIG-GUID: REgEsS8smleY3_YbacjQl7GLmRKmcJD1 X-Proofpoint-GUID: REgEsS8smleY3_YbacjQl7GLmRKmcJD1 Precedence: bulk List-ID: Since commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message. So remove it in the files in this commit, none of which can be built as modules. Signed-off-by: Nick Alcock Suggested-by: Luis Chamberlain Cc: Luis Chamberlain Cc: linux-modules@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Hitomi Hasegawa Cc: Thierry Reding Cc: Jonathan Hunter Cc: linux-tegra@vger.kernel.org --- drivers/amba/tegra-ahb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/amba/tegra-ahb.c b/drivers/amba/tegra-ahb.c index 0b2c20fddb7c..c0e8b765522d 100644 --- a/drivers/amba/tegra-ahb.c +++ b/drivers/amba/tegra-ahb.c @@ -285,5 +285,4 @@ module_platform_driver(tegra_ahb_driver); MODULE_AUTHOR("Hiroshi DOYU "); MODULE_DESCRIPTION("Tegra AHB driver"); -MODULE_LICENSE("GPL v2"); MODULE_ALIAS("platform:" DRV_NAME); From patchwork Fri Feb 17 14:10:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13144768 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 F2C8EC64ED8 for ; Fri, 17 Feb 2023 14:13:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229704AbjBQONN (ORCPT ); Fri, 17 Feb 2023 09:13:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbjBQONM (ORCPT ); Fri, 17 Feb 2023 09:13:12 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A5086CA04; Fri, 17 Feb 2023 06:12:28 -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 31H7hgx6011455; Fri, 17 Feb 2023 14:12:00 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=lmeartlsuNxdRXRqbCiGzlg6pdZXllNkILXYYpVQSe8=; b=hW4p2cowNXDKMA8YrZGEcWTrhsCYXh8LdiROAdpnrBj01Jn8B2+l7EPghXDE6U8+bHvh fAsewiNXlV1iTG1AUAfMC2XMsnysFN+Fto6wzBtgTFOp1jrvQhMdjvF4khudjmIgEG5V aluyLr0+/iNttpv5h0WFs+FuYSYPVLVmaXInG0x5TrTy3iOIXW7eqf03qBSldYDetUgF yOZ6SfCM5YWm4E4rbPQ47BoKTYe4eow/3hdnHXwe2KUYNF6q+r2ykZSnFa/3SgJ0lwId gCPjsIdBdR1ocTCs/jUGe6d7u7l/503bnrQsQKy+lq272VCX/e1+Lwj24fUoS6MMM5N5 2Q== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np1t3nw77-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:00 +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 31HCiGGc022914; Fri, 17 Feb 2023 14:11:59 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2171.outbound.protection.outlook.com [104.47.56.171]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fa588y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AGD//zB+pggahnNy+f2mYkvD6oT2J6ztxPjSULyEddZ8cRqf/551Oxq1uOwxmnIjpdfo2nbkxuj/6TxuSE/7/JiBpjNpyhqDvQbcQWfB55ZZwnCn8kR5IwC1tLCpWfsnYb85bzqvLs9XphOjX4TiIjA7OlAHBqgX+LrhmSvRk04uNZeBHjwnwZHSU1nmb8lDlsbNtzNKpbfDrYcUvOyTpgX1haa0BRvoXSsMjUV626OUl3Rr1Ms2WblO98jb6h/UMyWl820R/8qwaRDlizWnCH30V1dq1h/aMoZvI01Hm3925Pt1phXD7SDK16FKxqZSupLS9r6rMxg5QBnvqJTd4g== 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=lmeartlsuNxdRXRqbCiGzlg6pdZXllNkILXYYpVQSe8=; b=GIUBb2mKy1CfFe/pEZrjfj33IGfkTwFndPsYz4GFI4L172O89AQelhJlvq7wPADAM3A0Sl9WJ1yg/CX8gZZkdB6JXy+y2noLilgdu9YtWPvg5Seazbud2qbqmbgEHr3IkiPtHwb+CrSPvWaiO6eiw2/bSshOTZLtFrVbeI3vr72PvTteR++oqPv/JHomdydQUaYOV+verr2Hobb9T4jarUabUfKd3Yz72r3iPHT69Dys9RKFX6nMl3e2OlIgWrQEvz9Q/OrkeavJ+k6WhC7ZLXkjhyuEssWoPVQGHCudvrEe0DffVDCe/jmQDpcjuoY3XGyjCTXVYY66NZIKZadPHQ== 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=lmeartlsuNxdRXRqbCiGzlg6pdZXllNkILXYYpVQSe8=; b=mVtnw0iihYf0F5/azAGvmoMlDLbjl0oCVHc8QyKTXZ1GrJLaEKXLlcxHqwtC0Os55MXK7kZ73fKUAonFGI4OpWlf3y8+lFRjoWzAwqeksxARgzySCTnliqfUEIBHRetvbAj3g3VWMQLEHOYox9CyBD2Tu7ln2piP0YEU4gGE4vw= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4795.namprd10.prod.outlook.com (2603:10b6:806:11d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.12; Fri, 17 Feb 2023 14:11: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.006; Fri, 17 Feb 2023 14:11:57 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , =?utf-8?q?Andreas_F=C3=A4rbe?= =?utf-8?q?r?= , Manivannan Sadhasivam , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org, linux-gpio@vger.kernel.org Subject: [PATCH 10/24] kbuild, pinctrl: actions: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:45 +0000 Message-Id: <20230217141059.392471-11-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO3P265CA0022.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:387::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_|SA2PR10MB4795:EE_ X-MS-Office365-Filtering-Correlation-Id: f1a403ea-b2c2-4076-30f9-08db10f0edbf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OR5kmp3oZvCkleFi3E5j+MebbnXjfTyKaWIrRVZiiykosNfqn/C50+/9PUSyjZhm4/eFNEjBQrSgtm5B5MIt+gLedbAUYxpccpZ20ROsbAPEINrxCHe1a3hgFWqNrIp/NVfm6sx+HpN2aPOmnKJLTfC7sN8LJVsqSlhBxiNRIDXIQc/0EzqhSw5o1C1USymPPiTVqRTaHTBzWoQMivET6DKPS42Rx3bWpS5mdsCYogHpWgDwe35MHvNbYx4cmJ7c+N+D80q3l4lcA2497vFP3fyp6k3E0+Xrhm0QVelkDWsiBE4/xjGphRVfJ4HIhx8QJeOmRsbUfi+xxNZQ/tDw2bb9+kg82ZgzPR4+uiHAcW37En5pq+5ql17zIWuwy/pjRUQogzKKlg4CvwpdC6moutdvjik0Rq8dDGF+wWvJZQG+4wrrf5ZTrw0VahjV5BQqPY6C/eNFXNG7LGZitiRbHVlr1u/qOfrrElfw5FmbDTUWvv1mQQBG5pFdCc4CaAfXpyrxy9fjaYQN5yFZwTuB9MutyFRkjR2/n5AwPR/97KeUMpbZPMK5bLdbe15Gy4hcnT6liwPLLYjqKHkTq6C2wHqRV4eax340wKR8JSbkz2vUiuJvkH2hHmtVD6c97uKYhBwYvtdPeYLFlMpfLGMkog== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(136003)(396003)(346002)(376002)(39860400002)(366004)(451199018)(2906002)(44832011)(7416002)(5660300002)(36756003)(8936002)(86362001)(41300700001)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(54906003)(316002)(38100700002)(83380400001)(2616005)(6512007)(186003)(6506007)(1076003)(6666004)(6486002)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?+Rk7c7foJK6WowGRPbPhs6tigklv?= =?utf-8?q?/wqn/S0ZeXO3Fdb5XEz1FRLeAcu5tho29Uc5BVmGJiMYAtjYjAq4O9dx2zeuoQkce?= =?utf-8?q?kw2USP240iiTLXFNiin5ImJvLTU1/l4MvKhj+qfgeZH5UgpjEY9NAQMsqesqxoxb7?= =?utf-8?q?Sc0pG2Y9xmHfOPSY+Sg/TWRedW63yOJe03FkroTcGjuorD32IcRzDWaTuKV7yqiXP?= =?utf-8?q?RUn3nujMW+t/Gsq39kdWBKemRdmv5tRdv5SnDjL18t3aLtpmTnXdFgyG3gEIWd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zGLmU8vJAN9/wP0jsSLomSuhTA+ZbwzvB0fecAwmToYMNX1Qif8sgwFYLt1HexmHKmwrdY/UKZX+5kzkQP505E0HPKO4cWSXDr/QHS/SCqzwJNLLfY/x42cWXfjIuNrOBipSu6xsBQw3FP+5ciotET0+CIYqQt8xlO4df86A8OhWyGh0+CSNfIo+l3iFndYcm2Nsb22VanbHgF8rP2iatSZiIB7FmQ99XvEbXDzC2eHYV4Yghgu8PcSbPLtuBhzjCedX4amwrtibgTdo0a9ZwiprOTHvkd/TK4roekYZctMy3qrI/hFuzW8mRsPNbtjzvJnxfpVZICtFYUllYtqbrHd9wzEJzVPfsCTek4tvCpzDHig1pBGa8Y8eudGSbhi5gmGRZ3UWZd2H4UiWwRw8XTjJl6JP8uYc2mx4S00OBssSNZvhA54BvpY/X5E9QTszSKZhkh/aQ2lF5dUlc4VcUHjc= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: f1a403ea-b2c2-4076-30f9-08db10f0edbf X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:11:57.2340 (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: Xywuv1jL1DH9hVyk5vowNTh5hyX6YShfyb8gQYOIFJ6VCVo47jaakHoYCHg/l0MT+0c3ci0AicN4Fm1xFVROqA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4795 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 mlxscore=0 bulkscore=0 malwarescore=0 phishscore=0 mlxlogscore=999 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: 3G9vn5SoY69W-I8UzzNpgLaJO_xyVMyI X-Proofpoint-ORIG-GUID: 3G9vn5SoY69W-I8UzzNpgLaJO_xyVMyI 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: "Andreas Färber" Cc: Manivannan Sadhasivam Cc: Linus Walleij Cc: linux-arm-kernel@lists.infradead.org Cc: linux-actions@lists.infradead.org Cc: linux-gpio@vger.kernel.org --- drivers/pinctrl/actions/pinctrl-s500.c | 1 - drivers/pinctrl/actions/pinctrl-s700.c | 1 - drivers/pinctrl/actions/pinctrl-s900.c | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/pinctrl/actions/pinctrl-s500.c b/drivers/pinctrl/actions/pinctrl-s500.c index ced778079b76..3bed4b8d08e6 100644 --- a/drivers/pinctrl/actions/pinctrl-s500.c +++ b/drivers/pinctrl/actions/pinctrl-s500.c @@ -1724,4 +1724,3 @@ module_exit(s500_pinctrl_exit); MODULE_AUTHOR("Actions Semi Inc."); MODULE_AUTHOR("Cristian Ciocaltea "); MODULE_DESCRIPTION("Actions Semi S500 SoC Pinctrl Driver"); -MODULE_LICENSE("GPL"); diff --git a/drivers/pinctrl/actions/pinctrl-s700.c b/drivers/pinctrl/actions/pinctrl-s700.c index fd00940a5799..c2b472660e53 100644 --- a/drivers/pinctrl/actions/pinctrl-s700.c +++ b/drivers/pinctrl/actions/pinctrl-s700.c @@ -1908,4 +1908,3 @@ module_exit(s700_pinctrl_exit); MODULE_AUTHOR("Actions Semi Inc."); MODULE_DESCRIPTION("Actions Semi S700 Soc Pinctrl Driver"); -MODULE_LICENSE("GPL"); diff --git a/drivers/pinctrl/actions/pinctrl-s900.c b/drivers/pinctrl/actions/pinctrl-s900.c index 811249a8011e..8638d3007cd9 100644 --- a/drivers/pinctrl/actions/pinctrl-s900.c +++ b/drivers/pinctrl/actions/pinctrl-s900.c @@ -1827,4 +1827,3 @@ module_exit(s900_pinctrl_exit); MODULE_AUTHOR("Actions Semi Inc."); MODULE_AUTHOR("Manivannan Sadhasivam "); MODULE_DESCRIPTION("Actions Semi S900 SoC Pinctrl Driver"); -MODULE_LICENSE("GPL"); From patchwork Fri Feb 17 14:10: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: 13144835 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 9E02CC678D5 for ; Fri, 17 Feb 2023 14:52:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229908AbjBQOw5 (ORCPT ); Fri, 17 Feb 2023 09:52:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229919AbjBQOwy (ORCPT ); Fri, 17 Feb 2023 09:52:54 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67F166E674; Fri, 17 Feb 2023 06:52:39 -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 31H7hppX001445; Fri, 17 Feb 2023 14:12: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=RZ3+H+fZHEUXqkEwroqaZl51WLH83Jjvfci+DXKIcy0=; b=Dcmv+Y8Lpf6LrsR3e6RYGDE38MBCNK1Za37ddVYVQcP4gU9UWoTc56ZZCBkodVKrsAhW ZSuXuYqBNu0KkHDo1+scBZLSGfQqBI35QDS3IZdJgOYtNR91R0Ustg3C8iJecLq5WtGn OjwmB8/pNeLM4ZsigOuDc4TZNFhYkB0ZsrV4Z0P6yqMze24gc6Wr2jqGFxrYL3sNpclt X1ln+cG1LBBeYUeHAQZjQ5yHhr9yQzzmdIvoGqxhE9NpkEUiMe1LZMOzVPxgXtkMyAdz LQHP0KVUIlBm8U3UfYZvNZd3kUl19XUnTHvn3kO/8YvOFSv2QUnurZg4ojFi45P8XtQm 5w== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np1ednuhu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:05 +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 31HCNNvF022784; Fri, 17 Feb 2023 14:12:04 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2174.outbound.protection.outlook.com [104.47.56.174]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fa58bj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Sdkd77WGyKmEDRx3Zhw9dZYa4kFA/snPak6P/sGyD30DINP7Vulrn9H753n+hOWn8Tt+v8TMwAL0regs6wWVDkx271vgB5wuxAobrGxYx5imVilP0jptr8SjES/LXY4M24pws4vpQhDWeNeu+MRaRJLPP8mDCv1sBXnJ/orFbp22zZoJGq+wV6VCAs06/lwPZ3fePMiSozz71UM0g384xm+CHO1+SMsBixZnxlbFrMrhcMqF4QxMOcfFD2rCktsolmffQEUro1mnGliQxi9dONZ0vrfGas9ZCoIllPp0GL3jkOi3aPzfxWhhkJim4rzZHq+76dN3rC5wUp8Mp/lvrw== 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=RZ3+H+fZHEUXqkEwroqaZl51WLH83Jjvfci+DXKIcy0=; b=oawjz//JOdoZiTjdpAA+8NI9OI2wf3NViEA51T6DuQV3vP29GdVV+XXfJgBUrrl8nsWZXvJps2bZ8qrn++I+9OhgYbgGGSax6YZpmvNYoAc9UOMvCYEH4VTH7LwHmKdT8sctT4M8FKsTTjjEN56DRB5e8kNs+Bp9+3CzOOh4NfXFCs2xFOUFoZYlFBhfoL9R1sC9Y1jIVCbp+hds6yPReKChabyB0NEdie63v0YHhtauC2NWcLmRNaGvGvCFpTzji+mu5wRaOEw+KMktgo5VghlWKknfOdbQcWUnmkGU6n7c7xHB2JUFEXw9pyBxPkJOfM7N3SY4JB+Er8+IE+XeDQ== 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=RZ3+H+fZHEUXqkEwroqaZl51WLH83Jjvfci+DXKIcy0=; b=bH6fR99jVh7rK4uVBtpx9jqSHNTtxKUM4Qalfo7AIvrdFJDZbTgBVHBWPvI2/Gs90gCTkWWxcM69gRlDbaFj8n/YZrnOZHejsGYTbIfk91oNtF5HLSppFNb6ZRsXtqUaZKobVJcN/GrG+XLePcBkUzmxtJSNvrwR4h6sDwumA8I= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4795.namprd10.prod.outlook.com (2603:10b6:806:11d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.12; Fri, 17 Feb 2023 14:12: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.006; Fri, 17 Feb 2023 14:12:02 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Hector Martin , Sven Peter , Philipp Zabel , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH 11/24] kbuild, soc: apple: apple-pmgr-pwrstate: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:46 +0000 Message-Id: <20230217141059.392471-12-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0413.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a0::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_|SA2PR10MB4795:EE_ X-MS-Office365-Filtering-Correlation-Id: 89e80314-2128-4c48-a6ab-08db10f0f0b5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: l3bAZ12leO15zrTtciR8e2gRIb57IPFs+Lv8CuscRluyCb7n0Oqjtw3UdEJPBnYyn1YXFLk1cas5KDoAsZcvvprbtUHvc/gBzYB9wz37ldGV1+UzneIqWhpvfNKrJJVbRGrfC8JsvscM5q1a/ZWTW8Zp9kjax7Dc/NmaIaC4QGqEpnnAbTUEMdAH/U15DiOrexZ821twiOnO8bfxboEBA5bNDtu9wfGsGwhWOVIUjfMMkB2pUTD6ix/zSxXv7AIMp0ldIhXsSH0E4ONoYWu9Fl2p8yquelLhxQ8cBX8Dprkk+XV+P7aoI1W/MWdrPdjJh/9qBYqgt7YSTva60BR0J+bl13OoHsrXvl6Smhy+g7ZuSZaG9KBWEkUqNs/Ki8v01aMRc4sjjg5l/L2K/4n+fwwN7OOHa8IuybY+c/O+jLJeRMuGxeSiEBWSSOs34PN8ZfsSoiVcBWZ0NHWtp4HXSFaCWo4hXNyQ5Uv81C12UgdllrVAE4ugouxTPbpmKJUIEF1OraIP+Wyn1t26ZgAQU2UUWnwavfIs/dx/3CgnPu0Ju1sbHQZ4VrYL/BQSIe9DQZc7mDpID2n4UgTNzgxRzcEBSaBl944/qS8Kcgjf9acRSEiKcRZLu/Yewoflr+7NcE4iQ5Z3yLu/OHn5IhNETHuISa7OynaCE9hH+Clu/Do4OL2548r96s7Rbzh3gNFGklHyl8wzT9LCdepWB+TqdA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(136003)(396003)(346002)(376002)(39860400002)(366004)(47660400002)(451199018)(2906002)(44832011)(5660300002)(36756003)(8936002)(86362001)(41300700001)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(54906003)(316002)(38100700002)(83380400001)(2616005)(6512007)(186003)(6506007)(1076003)(6666004)(6486002)(478600001)(46800400005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 9FaqCS3ETvfIR/XZg2YDZzsLU9Ktd91b85qu1NLQUFL+JS/alO71ab7GEINdg/O4igpWD/Z+oNi/JX3OxpG/dpuGzG67Qxfyq9+RkkivQ3F5KMAWf1iNQCi2wD+1IOvIS0jCbnBnBu+BRK9edegJfwb94Y1MeMNlFlBhsonQVauyRUOtKhEy3gzSejtB2HSjujl6koi2sL3SIIHEBsmzeOBkdYUnH08VINxi5lu5aoJnBcTIj71RXyhp7EOaoujM0JmO9P3tppBeye3XMfoic2kTpYcpu64RDKP65QzJjNChf/ZC829KbCIiqIZ+rbw0EpXkRPgJ6FPSpS7FzAGZMovTcKn7LaSm8TanEX3pRoT1i86CZ9/cgpfxUAFrRuqTeC7JnZNpUSm/c2l57xp9iJMfur81+a8V/z2v0/gK2N2zAs2vUWoQby/4l+hFtSuJVzP3FD0l44Ek+xqZEvsHLAyjePQ7UZqDz3oeyBVj3JRHyEg8NzKK6QJfRSCyErf6xDn5HB5etodywgj7ASJ/Gw3XHucPiIlrA4AQZ78HtjN9K8MtHPnYjQQYvAsGkTJtfL7/jtEvBm3YtAkPUU7fW7zBvRxdDXNU1Vb8GlhhaUb0evj6kZje8RfBkj7/m3GK3JtI089pKDV1yGUBSpvG2E5iMAmEEynCi5gpJO1pAy1w41R2e8P2d15X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V4ajlTuwv8RSIlR3qfyfXfBTJzEEfqx3vauPXVIjnmT+p4h5jAaQDccMDQQNhydJlQ1SYR2rX/W1I4f1j/Cfqu8ciBjFHuXKgkpiCQLNbRf6O9pGeHGs8k5gVwWH5VFOzza0ct83JX8FNeeLKCL6glr0ouQhYPl7l155i9vjPiWdYsQyabZ2hFFo2tPUuNSZtnegWDWMtdNfwmfo2L+BmTsaCCwa4pM6nWxwfXw7qqWobzURerX4yJvVZFovGGe1aMORlm7pl0mEg0wlxw1vByVwMf+0RGS5IJE2OzS9enCArDXEaB/a+/dzNzSwZ4rNsiD9x+dUUPedt1B9zlFwFA7gg3lwxzVEwGVHqFJ/G3m2WLOIz0m9y7aJcppFavY+ADyiFbWx4bjShC0Xjfo/o+g61KoJRgPQBbtJCaM2a1sFEQIe41Y9h/zDEhjR6Iq8BKCDqt0WSh43uk1P22xaF3mHV+VDtbagepUvqol6SWsnFvS2QF256yBnNf9srnb0x3bfuyME/bpaszhF+1mfojynO/1F8FYswUQNjuOCiDK+qO1x5MtevAoHAXpvWPqqSCDARAkoMh6I5/bsOb52HAgCxqFKrjIMQclNo8fvRNpm1MrXiynG0J9L1hDgaasJWsVM5gEUUCipMNn62afHWkauscEAULXzTXdnmY5uY0ao47sPvE8kz42NbDnVNP1EMvXHf3p0GNWviCP2IeTMXhfYaWajR41TRTAHjvrqwnS9zaheidoRPnHBNcMlfwjopODxOE2rcMF9ob01C3abyJ8fus9PYQDnePBoUJEWM2GwU2vM+jengHzUOssQQj0R+mZaq76HqPSh1/eMitvQ5aLgXh0mbW1AdctwQm/CZuc0LlaWZbKfOa5DfbGPmzL+ZnN1OQYBOymvOS84ffbqFRwtF5rVIkh/fGSb7U//zZi9mVaE/IeB3snJW/RbWWrqaeCxh5dycgXE2kGjwBBXIQA/iPcsYyac/UA== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 89e80314-2128-4c48-a6ab-08db10f0f0b5 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:12:02.1095 (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: NhbwluDRm1zAf8qektT94CrGlApvzVuVPjoQEEjrmzqVES8b5PTCaMezTGn6F0Ql6aJYOs04rQSkhEeUbwcNKg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4795 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 mlxscore=0 bulkscore=0 malwarescore=0 phishscore=0 mlxlogscore=999 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: QIdI0ACLoBbwV2ELYkrwmX_ldks_41lI X-Proofpoint-ORIG-GUID: QIdI0ACLoBbwV2ELYkrwmX_ldks_41lI 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: Hector Martin Cc: Sven Peter Cc: Philipp Zabel Cc: asahi@lists.linux.dev Cc: linux-arm-kernel@lists.infradead.org Acked-by: Sven Peter Reviewed-by: Eric Curtin --- drivers/soc/apple/apple-pmgr-pwrstate.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/apple/apple-pmgr-pwrstate.c b/drivers/soc/apple/apple-pmgr-pwrstate.c index e1122288409a..2c15474c7b53 100644 --- a/drivers/soc/apple/apple-pmgr-pwrstate.c +++ b/drivers/soc/apple/apple-pmgr-pwrstate.c @@ -319,6 +319,5 @@ static struct platform_driver apple_pmgr_ps_driver = { MODULE_AUTHOR("Hector Martin "); MODULE_DESCRIPTION("PMGR power state driver for Apple SoCs"); -MODULE_LICENSE("GPL v2"); module_platform_driver(apple_pmgr_ps_driver); From patchwork Fri Feb 17 14:10: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: 13144791 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 703A8C6379F for ; Fri, 17 Feb 2023 14:14:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229686AbjBQOOA (ORCPT ); Fri, 17 Feb 2023 09:14:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229580AbjBQON7 (ORCPT ); Fri, 17 Feb 2023 09:13:59 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AA596BDF1; Fri, 17 Feb 2023 06:13:24 -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 31H7hgx9011455; Fri, 17 Feb 2023 14:12: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=x1zVmnVa9m9Je7W+nMac2gdMvL46iXf6tLRqXnlh9eA=; b=jzBVJCVU8BxRfDBEOy4uLSALE2tg/RkrboJ4WgLWFabUiczACg9AgLE395/Dc4m/FAXy lLZ3XxECAofES9G1qMGLv79pglzV0KTB3aKMsVHY4okg+trivmvUxDEqD3hWjbjceypz u9ctQ2MZBMlVuy0YSj/5w+iV2ky0O8NeAg5BZjiyT9jadmGVM5NT1epBll5nQzw7ZOcx yDmNj0dMuwb4Gj3iqg/ne3VVw4qd1Jji0d9nCJqL4HGvl7daKCB2YpR/lPe+JjYekFHY A0DE715PN9kS/2dAu+tp1C58rdIjuJAw4GVUZRze5UJEPEBkV8v4J9FosZXBUXTO8SYU RA== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np1t3nw7t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:10 +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 31HDhTuW015293; Fri, 17 Feb 2023 14:12:09 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2172.outbound.protection.outlook.com [104.47.56.172]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fa7pa3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L1kWDa2o9FxFmF5KhiuTk1tA1MUWcG1jQSFh0WB1v/ksjEwzPR7hos5timgO9h5I2xia4W3VlWPBgNHZaTcNxpubcZ4S7tW2zMJqDancQrSYm8bimA1kYt26OhM8Jmz8VfIyG7uwC5Tz0NquE6lOvBZXB/6yAgp5mZ5D/GQcEtKeDBeCJCK316A0BcDyNqyQUO6GO9XrfLzgcPAmCBILHtw0tpXS/nwisINL7E9lqnfc5M1SBhOHdKbax4VLELzEwzASdmdK+Y2CfmGv7/F7ejmRfQ2dqHIFCjCBYkgiC/C8myjUXv/9/xDe3XzMOJWyRlwoTjTfuABP8O3sKeApfQ== 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=x1zVmnVa9m9Je7W+nMac2gdMvL46iXf6tLRqXnlh9eA=; b=l0wHjyU1O2i+jkKi2wq5uo6JLp13CWoFdV6mAe3DGHvWTejfFeroi+gtd9kz5w8Yc4pkjOmcdqrmtnxrp3e4SKK7B5F0NOYjPADUk/lnRcJX+ftbggV6n709yyfrZ8isilJyy4rSC+Og9nzwel3NHscX4Ltk91QsB+43tctfebOgAScY6IVa++IblkPvzFMjqtjhF6KeSeHkYz/r2346pTaWejePV5ilwFh81i6wNl+rLI5HI4abp3QddYkivFe0K9SJED8/DnMTpxA7RRdNZZzPkXGANrE40GQav6ciRIxPsmXfSem0fx6iEBJIRkuRHVJyrjSUF0KNdy9sP61+pQ== 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=x1zVmnVa9m9Je7W+nMac2gdMvL46iXf6tLRqXnlh9eA=; b=EDbsV2Etvxmr0E6eoGrPVHylNevp2qzN6UBlw15HrPoKrdhAumMV1yoAcla86vMh+kF37pDSYZqXdT32JERfNMDGf8FnsXlOL2s3ZxAK5slQs4BXaEYVuS94vamJNd0WeZlS/6TRwVswBPLBQo6K8MA7MI1yqyR53LuQ4RWjk14= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4795.namprd10.prod.outlook.com (2603:10b6:806:11d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.12; Fri, 17 Feb 2023 14:12:07 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.006; Fri, 17 Feb 2023 14:12:07 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: [PATCH 12/24] kbuild, soc: sunxi: sram: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:47 +0000 Message-Id: <20230217141059.392471-13-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P265CA0084.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2bd::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_|SA2PR10MB4795:EE_ X-MS-Office365-Filtering-Correlation-Id: 2ff561ee-f4f9-4261-8ff5-08db10f0f3ae X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vqNLlePULOv31P3iwyJDQtvKmpjT3xumLt3XVn0kAuLVdGBTZA4RY7zQHca2ILcAholoAaNFATItfv2TEYT/+ESUZpriqN2LQzhNCQoE5wAkgqrEJ2yDxh6XuGvxAV8o4sJxvRlYjvuRr3gYLjR8tQ3HcuIJ30d8LQqL9XfEB88zB7CiZ2vybto7LLvx+1drZH0+5nTIVkzYH/7Qo/Mw5Sh5Yaj2RYFgmg2oxLomTHqOtEQjd3oFPrXB/Na9WNhh4jKpBWK+vlhlhhpnUMW1lZBAL0wc7jvOZlt9vJRTmrO30sK5fncfTjOhdu3znGY2NkqILqMslargz4uJH0R8S+1hy3NlKW7vOqYz7RbEtSYE2yJCkp0LGTtJ6cjknqbpqTL0rsALcfHP9fYM3wi92ecSMSAZuJeMbElA+OJWl3oDs1e4IL9d8wcJm8z7w0hCY8+mOVI8yzLewzgm5rMMZb5YHbSydH25IlCqYvI1aAwqZpamJuEUOf669vSzyosR3zI/cgCSviLjQSYp2kLOvpEO6Bc37sxgLY0s1SHFWNdUeujaJgwr1Ix+Kr9+W2uVcb0JQ2Q0WTDWy9+fXyszuzAtJ+uFsU/vdn+izspLcL1mBXRiKFde9XjxkLRW491XjvQEbSZW0XVjMTgm1mGMwg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(136003)(396003)(346002)(376002)(39860400002)(366004)(451199018)(2906002)(44832011)(5660300002)(36756003)(8936002)(86362001)(41300700001)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(54906003)(316002)(38100700002)(83380400001)(2616005)(6512007)(186003)(6506007)(1076003)(6666004)(6486002)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: lcpdTJCbKDB7hTa+tdLVLu7hboJRGQ4D7DiwGI8zKMerMIFuwMWJKqiDx3jQBfZM8R75uEUR6jltMBbb5k+wR9/bRT9TTtFZnNIvR2qznW3gXaP7x6uF+CCyJz4qIDRUX4wHDfSKf7mzls2gBSSrXLaJxgNi/oTU70frQvA6iSoYwTwIkkUz/S2w3V53MI6uT6DymNDM7hTvuOcKlt1t7sSkW6Kff6xT1SfZ4S70zL4/dbCdi2AAmqmwf7fFk6ycp/3tyAA5p7BgFad8Z8KDydDoAkIT2UTHfV7MCSX6UQousvR3Cr4bTYKzu8Glgs9pn7ChOJQs0tPv+G/I8lw0JYakfXdjt67Bfcbcq+UeQhPmoSyr8BG2qm+Bavg57O1T+pMWjUhB8NWw/7jV8xn05Ps86DLwWD2XHHmslrBGSa6++W9Vpf9slPoVN7GxdwhZxaUzjSgHnAn/9Q/dtfT7cT0vGEMgVNmsSHbuBJHjoE44nvdrXXzGrvrMpjWOsoENNb+8B82C0ZZaVgexHsfpm8Eh+rDfNmiqNUxc8L/RNQsOkiNJcQupCt+0SfEKxf+PkHt/tI250xXmHSpBvwTPbAOJ74IptoI78bDL4PoYidjiuLxsG4Z1HSSxfHAiNwyHBgCPUG8kommkJj/Sln5VOKOON+8z0YH7n/iSRCL/NWsKpjFXFH+xfNC+x4+SwjzUlpQQoZMJIS2SDtqT/XgOJukfIeUwlCMzPahC1hWO9se1mrSRn0PWDBKxHi+c4CzfjYDGBvC3KY1OuNDQS0mY7kUtj9kg62GIJsM37F+Fee15gOjXIubiHbxDIiU38zG2ZcoJc9S3v1PbgSEudLIBTQJv/B6VY5yZOG4TE0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JDHLV+UokxS/YdO3WDwhsV+fF5SzmsXVuvqwM296Xn7M5KXO38HHQnjLTSqwwOPzzqW0/79pDodw/wFhXDlfWSd90D4fogop6Tq4H90zGV+htxEMVjYMQei4ZorGxtH1rF61dpygKqSLbMT5CuVMYQMZnxCMldfrZvpLs2aicu7d75rT+VUV6cNCxwbyhZcVHXfF044AqZWm1qbNMYmHujekFgzzyFwUka9QFOqPLSOnFlIaX9g19RwaHwhXzT1n2SUpmCp3MUvo2SlSzsqdlImFqAzzmXMk1MAm02Elo3pajlwI83zshQ5UVn20dR1dEFe/ibS7ayy2RGWn+FlotK04kyiLfc2jB2engVtaZ2Vwn92RPQkZiHEd4I/7EsjnX9DYZMk1mUY2l9Q6BE3c2HowOjQ8NwlcB5v9cX+G+mG34tgmpeEZqNvjiKKoWDZRD84RMwvxgNtUOaimo108D8csR2vb97VECov47gbKThiI78xcRPoJTmlF1kyRfVlMlNANT5qWfF401HT9vsIBjjEIX+2SVOLzPJDhoU3qB0jlV329ytU3bIw3/kkf2/PbeqpDHggElYzg9BcFKnFOMVe1UGjTZpcQLYo29rVLvnlj5A3fUfb1ZJPNlPm/avynefUMSyvxzkeIXymikq13/xdQExIe1XYXM0T6dJW6Q8e+aWz6UR5/w/RgOoDRPSGS7ICXEHJIjjNeLMqg6bN1LG5pyMMWHNiohpttIQbVWp6S0Du18fzlGUceTL92QWJDHlGrHH5rCJB7nXagRALMEwrGti X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2ff561ee-f4f9-4261-8ff5-08db10f0f3ae X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:12:07.0962 (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: NabN/yr4kYXKtRc54/eDJq7D2aHNeIq/y2AQdidfuzsn5oTS3fO0wdkXSJfbDF5Hf2Isr0fVs26WsBNsRCddKQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4795 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 phishscore=0 suspectscore=0 mlxscore=0 spamscore=0 mlxlogscore=999 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: 7rLw0YgM506j5ZvETbdwI-vL1wwutGjz X-Proofpoint-ORIG-GUID: 7rLw0YgM506j5ZvETbdwI-vL1wwutGjz 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: Chen-Yu Tsai Cc: Jernej Skrabec Cc: Samuel Holland Cc: linux-arm-kernel@lists.infradead.org Cc: linux-sunxi@lists.linux.dev Acked-by: Jernej Skrabec --- drivers/soc/sunxi/sunxi_sram.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc/sunxi/sunxi_sram.c index 92f9186c1c42..21116d47d26d 100644 --- a/drivers/soc/sunxi/sunxi_sram.c +++ b/drivers/soc/sunxi/sunxi_sram.c @@ -421,4 +421,3 @@ builtin_platform_driver_probe(sunxi_sram_driver, sunxi_sram_probe); MODULE_AUTHOR("Maxime Ripard "); MODULE_DESCRIPTION("Allwinner sunXi SRAM Controller Driver"); -MODULE_LICENSE("GPL"); From patchwork Fri Feb 17 14:10:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13144955 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 1A557C05027 for ; Fri, 17 Feb 2023 15:20:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230289AbjBQPUy (ORCPT ); Fri, 17 Feb 2023 10:20:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229783AbjBQPUx (ORCPT ); Fri, 17 Feb 2023 10:20:53 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBE826FF1E; Fri, 17 Feb 2023 07:20:46 -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 31H7iKOJ001690; Fri, 17 Feb 2023 14:12: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=0aKEErcd9A6VB197VqZqajs8zTVg8JsEdlIub4mNDMI=; b=lW0ojMGoU89VFBvVLMbFvsMssnn8I1iRfx8vOpC1fKD0gvxCcCFSGeB8B3Ohb4am+tvw JGOkI2KklCHaZwzacF1U1tNmYH1RQAmoMxPjpc/12Hycop999zcl5N5t/lyM+jsXM1PQ FiW2EDR6mmezJMxYLQ01M3SMuc4Y+S7WiVC5OTcYe67M/3SwWlTcUCCqxqNcQiaoGxIl vSCAYmCH2AN2kC4D5JaP1Z6VKoNgbCQnfeOZsZ/5oNVDIpA3axJkHQ20WoGNxVAlXH17 p8URGK/dRG4d4QWzxmb8qmUPLNo2xdd6JgfWg8ZpGOCn55IQRnlqyD8X70x+Sh29hsAu sQ== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np1ednujg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:15 +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 31HDx21N022875; Fri, 17 Feb 2023 14:12:14 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2173.outbound.protection.outlook.com [104.47.56.173]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fa58jy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O6prd3Td1VF9Kp1ddYWak0YWMSCUGyA15htDvdcV9II/gzK/SsCjS4yUS9+xj1wOrvWU2x/kvEgMZRuMkxdRs+NT4YDJhseP8rrYDd89RJxlppQh2lQd82FV6yay20H6GJurIwbjiMPgIjDgglUyjJmFmAaXbt+5MpNHORIpwWkN9+q8vHvOzbYUX4/flH+IE4zIuCoE72jSk3DPbY6OCZGvKiSO8Mo9bv7qyROMv76zxytXqDpqFomzYsNHmdNvNfrt4Yd0mRoc+JOBb2XHVs8DbuGvx/6cl2xiAlQKIHpiI0IwH5/gcb8lkBZopPUn9jxzOLPmmF6YPLH3diIvqA== 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=0aKEErcd9A6VB197VqZqajs8zTVg8JsEdlIub4mNDMI=; b=Ix7NBcNMZmVFDZUfbZn/HIS8CWjQAdj9UPcCNtYgME/lkD4gDX25TGB7aB07Xth9rCBCEORaZpPkupSSeH6TWUCrqmUruQSQWQvKrBlvAFXVl7YXTpgTljUFNnAfHAvBYsyMHLINFjctr6RrpyAqp4YV2ScKNMxBQfsJuP2UYbnbdc030By29CaVZfGQUKNTkY+00Xrm84vMKeYi0VZSeaUY0B+3Vu99GmeYiNfVUHT7fz5CASow0uVn8HYh0M7ZTuTQxbc1xNMhncQv+zybpgyk/F5fLh5V8iI+DOUcbn5Psq4qlXw7vUAyX/bUKkInVIH4DIm/WHmkEWlO3vnXTg== 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=0aKEErcd9A6VB197VqZqajs8zTVg8JsEdlIub4mNDMI=; b=O4NN0ihQQZcqoB/Ohb9UeQD+eONCetDVEb0iUoYM1k4LJuLLxgmf8INACZW89+YwRKNOGNzqo7WvU1ArMrJEs6mfWNC7IFADeTAvIVOjvGtb2FfA0nVTS+Ss34JdZ4st/qjH62/eUFJ18QXCvnkt37/Yq7NvEICf/CzN5PIjtmA= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4795.namprd10.prod.outlook.com (2603:10b6:806:11d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.12; Fri, 17 Feb 2023 14:12:12 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.006; Fri, 17 Feb 2023 14:12:12 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Manivannan Sadhasivam , Michael Turquette , Stephen Boyd , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH 13/24] kbuild, clk: bm1880: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:48 +0000 Message-Id: <20230217141059.392471-14-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LNXP265CA0093.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:76::33) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|SA2PR10MB4795:EE_ X-MS-Office365-Filtering-Correlation-Id: d03f81f0-6607-4ff1-b490-08db10f0f6a2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: M8RzSonSOgAk9+2qOg6k68DxQM0cHY0v2OPn5OUYmKZgaNykRZZPyecxl+O7Vhl/zKXrJJZYDrdvfONG4H31b+W2UBU3V6Mb+SafX2FLbmTrvBgqr31ELCdcrVOnHwoscSXZtohHKoyCVcYItTcbZID+dr3hMw6Pd481AqPyPHoEVnlbGlI2cqA8wtVTvZRkISDR+2MSWBR/FwZwNxhk7mRmx4zXZgIvsIc25MSuEqP7i/fQ7JJhnplAjyBJHm4h33d3J9rNBi//icySF/aUxrPmq8/BhOjy5/pvgy7jXnd2Px2cuiuOohr+hbHAJdXtj5EV/J9rfRwyfK+jVJzcu6g8LhWaia3FGGH6wG6q0t+TmsZ56rRhlOYAYuWhX53H7w7Y2WUZhXjfpWlAIvg4wyl6hZ6/EYAZcVn2NmkK3GI3AXrz9UZcO1l1x3ixZTg2ALV0rTl4WHSp1w0Hd6nh7heEMy9AvzMe7BTtcsTUD/CVHNqqBANW+WLdw8PRCJ0fw4EoGfKcqDHXQ+VPE1rKn0Sq6nmmhNH1nOgHexYVePbmWS/VYSqSMbxfTRfIB/h0K1XCbhxydns9dKq7H2alWYQcFMEKyc3NHay2O2noMmuPNeU+nHpvo8QWr6eRKSa+D51r6+hGGospx+J0jJkLJQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(136003)(396003)(346002)(376002)(39860400002)(366004)(451199018)(2906002)(44832011)(5660300002)(36756003)(8936002)(86362001)(41300700001)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(54906003)(316002)(38100700002)(83380400001)(2616005)(6512007)(186003)(6506007)(1076003)(6666004)(6486002)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: aHskLeaXUONzLrKeGeqVpF4mT1HOD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IOvUfujzMxZS4lKkG/UmjHOgrsOnwgKo8GNl6J3s8GXOb06Y/bcvbqrts1K8mNZ6WkwJQN31/nsIeuf/7c0kjJgKtmTsyLPQ+xepn8tRmRUlkE++Y5ITcVN7JZHACvzY1u218Avc2d53X+2y/aouDiWvhvBTbCnLwyqNYGxzNK9CgJfgttJ6MopPRegtkXnVFlm/GeOPRUEJHGs+Dvw9OpPtvV6MApdGQwZI32CR1uiBdo2bTTaEtSdUqwZGeE7hTY2QHiDjx5jqO/zmQF6LaHKdIjQu0MqCy7QQeuse7+ATa3p7zTdZnf0K5Fhy7IgSMMjj4+MsaD+mvL2Gb+QHN9HG9kNaj6B/QCVV13ntc0jB6hJp36mL+sQdfVflcbG3z3QZqO0gP5Orx9uNcCv20h5++DQZSq3Mmc3mHoe6zHRA3Wd9yhXij+ifbMpboxscW5+Uy+Tr1W/Jc= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: d03f81f0-6607-4ff1-b490-08db10f0f6a2 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:12:12.0673 (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: BK54ekW2glS0VGjYOwgO1PApe8bWQhhH6AZDfYMBtXpaP1QLrdEVU8rxIhE3/a44CASmOmF6W0gdwN5tgDvuzg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4795 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 mlxscore=0 bulkscore=0 malwarescore=0 phishscore=0 mlxlogscore=999 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: kzNX5W793Bcy83KS8RDpCRbyF6Vogt-g X-Proofpoint-ORIG-GUID: kzNX5W793Bcy83KS8RDpCRbyF6Vogt-g 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: Manivannan Sadhasivam Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-arm-kernel@lists.infradead.org Cc: linux-clk@vger.kernel.org Acked-by: Stephen Boyd --- drivers/clk/clk-bm1880.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/clk-bm1880.c b/drivers/clk/clk-bm1880.c index fad78a22218e..2a19e50fff68 100644 --- a/drivers/clk/clk-bm1880.c +++ b/drivers/clk/clk-bm1880.c @@ -949,4 +949,3 @@ module_platform_driver(bm1880_clk_driver); MODULE_AUTHOR("Manivannan Sadhasivam "); MODULE_DESCRIPTION("Clock driver for Bitmain BM1880 SoC"); -MODULE_LICENSE("GPL v2"); From patchwork Fri Feb 17 14:10: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: 13144942 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 B4AB8C6379F for ; Fri, 17 Feb 2023 15:09:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230019AbjBQPJj (ORCPT ); Fri, 17 Feb 2023 10:09:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjBQPJi (ORCPT ); Fri, 17 Feb 2023 10:09:38 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36BDC422F; Fri, 17 Feb 2023 07:09:37 -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 31H7iRYO005239; Fri, 17 Feb 2023 14:12: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=/ahjCV/Nk8MVwdWzffjHr5S0Ar9A6NrQPB1ERYWHDac=; b=qUzDsmm86OkDXY0PW9Vb5rXgs667UUO0Lq4tY5V3aCgsNNQKu2PmFEJDFdF++03Meh9y Upe4a8bi6yFKgt2C+0KPQjpl0ePhmR7yVpvhzmNbuSr8X3TFndh9rSGjLp/x6VkIXSYo uyFJGfJB3Nyh/yLyagAP6r2vcVF9yGaEXH72rWZ/Tx2RxL20vFk+Rg628sPv0n96sHVT fdw5zCK9EpvDe/k7wnRet5V3U/L7IWJWdf2fpQ6dXC3yY7aNT+wVo4zSXNOdl/MOHIqF FL4WcVaG/fZzDx7m9gZz7RqmcxuSgR3HbvgAkavYUDoxJNmh6Uxl4t3cI7V5rFAkozBX EQ== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np3ju5yas-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:19 +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 31HCt9t8022800; Fri, 17 Feb 2023 14:12:18 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2045.outbound.protection.outlook.com [104.47.66.45]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fa58nf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KVIcsr10GzqXY7HYgnUGYhRgYdQt1II5LYZ+G6WqoHffMvXvLB/kMKFZF4sg2dVcqRjZS6lcDkZL19K3ErH58WGTeapIG/mkndvsgyaGoO7L5txnwcQZyPaEbQix3ndMIC9iOqveXVM2tefOtV4YjwEIlI2NbNe1dHg5j6DYVx/+pvhcif8PfIiEUKM4YWQslgQEvvPuJYBSRo+RKjU5L1GH5Mnjz//Wdaej4CeG2NsHh/Z4DaNudjK/QjSAhsC7VLdvqD9QF4wGm3odhef8sHYgp0mk5Q4qBYtpo+Ocyr1hQoJ795qVw90lJUJmp6ygkpmudaa15jDCygX7WcN32Q== 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=/ahjCV/Nk8MVwdWzffjHr5S0Ar9A6NrQPB1ERYWHDac=; b=AdoLJgcsSByu2JBndgJFUxL9Ag47ELWZoYZI+yW8PcKVlwn4Z2Zvn+idQVZ9I3384+CW3/CWhcYCzUYtGkyDD08f2hw4L/9+AqkjBIwG1ZANtv+Erdh8FwfAKDL6ikFHowr2ILiV3L4SY58NYrQ75G35BZSDoxrlZC4e75ryTuvuqqSy4hkA8H4DK+JAkxrDHYSevi5MBT7RU+FkkYP6B9elXgCQswfm5SpWq/JbIIbvZKCcvyxkr6LnMAnwzrkHEiAHsQMpDKnObLdSunCRbFdzhukDCyDVlUASiknK35HU7yD9XG1ObZwFkylTMETnHEArZ/kpPGH/N6Dk18+SzA== 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=/ahjCV/Nk8MVwdWzffjHr5S0Ar9A6NrQPB1ERYWHDac=; b=EqJSiuXqLAx3Hf6RNbOB9lvGF0v9e8HEPC9ZGxxzncvKaAEtszuciPh3wKK9Xnzqo84lR8gNW98Pj3m1RGMUvClLRTS+6i47tD1ETnf/wkFG9RjlMSMFjjvAFLBIvgWxp8DU5sOEu2bioYz6GowclRSYi4Eet/h89sePZCd2/1Y= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CH3PR10MB7493.namprd10.prod.outlook.com (2603:10b6:610:15d::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.12; Fri, 17 Feb 2023 14:12: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.006; Fri, 17 Feb 2023 14:12:16 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Shawn Guo , Sascha Hauer , linux-arm-kernel@lists.infradead.org Subject: [PATCH 14/24] kbuild, firmware: imx: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:49 +0000 Message-Id: <20230217141059.392471-15-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0182.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a4::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_|CH3PR10MB7493:EE_ X-MS-Office365-Filtering-Correlation-Id: 11dd5d16-5710-4dff-9415-08db10f0f937 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: m1CbZl68epCe9KeqRslvPIFdZXWJhOyt1/JlWjTeCQ6oiqCBfx74y1OKNeffGLCIPc8gTcXSGlYWJhZZkH+mL1IsZEZnlfcmpSQoBlg1XQqzYEjJkAy5/CimrwladumgLmo2SdTdqm0rTyGpJ/e4g5rN0jTRboqmwrHiHupGK5QmPxbBFZW94EC5JHATS60PXYiAC4zebmDwMdt0HRAxZ1zFsK8QDA83CHYFOMRdCwcBKi91ZnCgYnjZ8quTkG+tN/u9Hv0qsQLgTkiRwUR6LkgnGOce0bP3kgsb1In9KjNQTWz0duLbpHDovTQPH0JiF8dvb6BIAVu0/6o2jFSiQ5wRKPg+cUV9Kuw1Umm519n7w0b077Re0IxuJGmYXPNuCIhHCS+tOPSQ1a3+DgT7sHG7SpSguJizOZHTgJB2NnoQRkdLQFXa3IZriSkfnyjwH2oDogrqkBU7mW8Vli2FvWWLA9SekHRq1dlOp/rIR8QcGQF9a6jnmx385eCc2iZJh8c+e6tj8wEvYRRJADixo8tjFrgE1aFnRn8ZJHmcslDy0ML3ESdLBcZBn1pWFNhjb3Vr1vNcihyW2fZC4piGWnA335FeBKMUDj038ba73vLNVKQDlT7fvMPhI98WFC9TVHRr/xeDwV6O3y+46hTbJw== 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)(376002)(366004)(396003)(39860400002)(136003)(346002)(451199018)(38100700002)(2906002)(36756003)(6512007)(2616005)(478600001)(186003)(86362001)(1076003)(6506007)(6666004)(6486002)(83380400001)(44832011)(41300700001)(8936002)(6916009)(5660300002)(4326008)(66946007)(316002)(66476007)(66556008)(8676002)(54906003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3qOAtVyKgiFZ9d6to4lmhg7YgOhrqCxaYckr45DyMdi8Y9hK3bYtr279kTKs9UU53vbpR6/dk0CQGG9k6ewZ1xDJMau5aO5NOUxUYSMsX6/a21qr45fEwF4EsHAjacwiDl6Ti/sY2dkD1gYTHjRWZMCnWqm58nrkKvaoe+zS0s2sldGAx6qOvfNV30lGJH8ng3F8iYS5TmbDR/SSgm4AnZNOV4tHuIyu4XU0lD+a6LUUVfiNPPU2mrFlRGxeT9Jd/hcyONGPdXfjMTYrj7wmwT4d4UtwGvschH+FJtQCXBB9kq7q0SqyTd6XFRA0NOU2UWyHBJoCSl9mtTjebjRIbMaj3nbHLjkQDcRQFMVM5ClKU/p/XKKRSm0fLgixVg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77oRa7L9HxH+eZF74SrxKGksodRVLhjgpG9BcRz3xvij7OHPPR+pJSQ3+RqzgCh9pfWDRbcAfj4nvPcuJmBgJqn1wC5p0LKPInwDpyug7yJsWWpTI+EhNF+mDgUw= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 11dd5d16-5710-4dff-9415-08db10f0f937 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:12:16.4765 (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: M3JszGbes1KZApOQDTC/l66NiKoqY5YPsgvt59tqaEzjXFzMvLAqGzzhM3QqDf26thOzRsBCQzFtYl4TCIjplA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR10MB7493 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 mlxscore=0 bulkscore=0 malwarescore=0 phishscore=0 mlxlogscore=999 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-ORIG-GUID: Jzg_7cMm4gWp2R7zQGfMl0JDTe2UJL6T X-Proofpoint-GUID: Jzg_7cMm4gWp2R7zQGfMl0JDTe2UJL6T Precedence: bulk List-ID: Since commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message. So remove it in the files in this commit, none of which can be built as modules. Signed-off-by: Nick Alcock Suggested-by: Luis Chamberlain Cc: Luis Chamberlain Cc: linux-modules@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Hitomi Hasegawa Cc: Shawn Guo Cc: Sascha Hauer Cc: linux-arm-kernel@lists.infradead.org --- drivers/bus/imx-weim.c | 1 - drivers/firmware/imx/imx-scu.c | 1 - drivers/firmware/imx/scu-pd.c | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/bus/imx-weim.c b/drivers/bus/imx-weim.c index 828c66bbaa67..a3a99299ad15 100644 --- a/drivers/bus/imx-weim.c +++ b/drivers/bus/imx-weim.c @@ -405,4 +405,3 @@ module_exit(weim_exit); MODULE_AUTHOR("Freescale Semiconductor Inc."); MODULE_DESCRIPTION("i.MX EIM Controller Driver"); -MODULE_LICENSE("GPL"); diff --git a/drivers/firmware/imx/imx-scu.c b/drivers/firmware/imx/imx-scu.c index dca79caccd01..886bbc81e0b4 100644 --- a/drivers/firmware/imx/imx-scu.c +++ b/drivers/firmware/imx/imx-scu.c @@ -358,4 +358,3 @@ builtin_platform_driver(imx_scu_driver); MODULE_AUTHOR("Dong Aisheng "); MODULE_DESCRIPTION("IMX SCU firmware protocol driver"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/firmware/imx/scu-pd.c b/drivers/firmware/imx/scu-pd.c index 2a4f07423365..7e8810bdfe0e 100644 --- a/drivers/firmware/imx/scu-pd.c +++ b/drivers/firmware/imx/scu-pd.c @@ -421,4 +421,3 @@ builtin_platform_driver(imx_sc_pd_driver); MODULE_AUTHOR("Dong Aisheng "); MODULE_DESCRIPTION("IMX SCU Power Domain driver"); -MODULE_LICENSE("GPL v2"); From patchwork Fri Feb 17 14:10: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: 13144964 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 95E7AC6379F for ; Fri, 17 Feb 2023 15:53:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230383AbjBQPx3 (ORCPT ); Fri, 17 Feb 2023 10:53:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230329AbjBQPx2 (ORCPT ); Fri, 17 Feb 2023 10:53:28 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B25B6BDF6; Fri, 17 Feb 2023 07:53:27 -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 31H7hoOm027251; Fri, 17 Feb 2023 14:12:24 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=WBbLxvlPZ8varfSZqPo6vH4+OXGJJaY2zDoJ5V8p/mE=; b=TcwEKc4/+PWPGdmXYXFxi2E5GX0g2G5fXY1ZYtBbtWbLlsyw6/rsxDSiYQ1/G67IiMJ2 PYYwTUfHtXfnVDTYei6c+tTozAfjYTdEHiR+z4mzR6+/jclaEHesNPidnC3Xghfd2Bi2 LYdGnQQcdFiYQrNKi5d7Kt3D3G4darK8uzJIRTEtTO43kiqkHm5xTPPH0tfsie2g5OGB PzE11IV4RYpntUGhVIfxMstxGjwoSkRo9rf3Yq3OKDMqWe/9xRqQaImUFWRcYUHGe69n 1AZt/kS0fegCthO2cNt1HDVyEXsd4DjGMvDLQnNisOm3vHBK25w3rJh4BR2C4ORJZW39 BA== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np32cp0d5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:24 +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 31HCkPaI012112; Fri, 17 Feb 2023 14:12:23 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2176.outbound.protection.outlook.com [104.47.56.176]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fa503m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OGc7Z6+cH5SC09/FVxS8QUTb1NYfoUrwGB8ctDi35z8avheKkzoZQOEN6tbfMX7CYQ7lkC9NykbsJ5IIZfv00PazgKtE9xi+bEGmkA5xoGSYcQfoZuV0hF4HZa280/lo93zuPELrHspMtJFawxjo7L8NwoOv37XT/Zyg6jkR6xILefI5LWe+gQ5WFMuODNCPkNuSnQlrYPzOMAQz++nchDZOj+umY5pSFXELvR10I1W05n4xHevWJCdU0AMAb6suUF4T8T/DnGeFfjP5Gf4ntdD27P31dvBepSfsbwJDVNA10Xmnl1cKtVyCG6Lo9faEIEik10k6wlzRCQbbQwUjyg== 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=WBbLxvlPZ8varfSZqPo6vH4+OXGJJaY2zDoJ5V8p/mE=; b=MagUH8q285cwX02CiBUaQj/2pLuQO1NO1LEL9Bp1DFUwxn7WIPEkgo30J7VZK/j8vx6coThJKKoDPqeHVdyaQQjZys60wTQ00cnG23NkvMr8gNwEn2lDZG7rIhBukPG7hKEHzDfjnIVpbHwMf7tuH2ONB67R4dj2+9RMX98rCgzAeM6nFTO9m/fZlBh3/hD5s0Xb/4SmR9aGAWgS8Kr6oUDKtiRZblp58Jtr1lZssvdOjXsMbZClDhrSXJ85HQKgT7LgubtwtxDIirIZmFhShVXGnbOUstGT8gadTIgIazYSYL54VvNDK6eJZbLlclOBoVp4pkoL2srKIuWHQWD9pA== 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=WBbLxvlPZ8varfSZqPo6vH4+OXGJJaY2zDoJ5V8p/mE=; b=bmAdfN/Cm8AgUvGb+UASpJZvs8NNLvor5udxV3c2AQS+XoxtXo1CtCAaGA0bS87Ry6TU22viaOcuhFaSzP2N2moKq+tVuAHNAXKLFJ82XRjOrfhHQqLNxDutRZT2AVAqjIBpxeQDeehj/Fp8nD/dsQ5LXBQu9hb9yfr3pa5+imM= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4795.namprd10.prod.outlook.com (2603:10b6:806:11d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.12; Fri, 17 Feb 2023 14:12: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.006; Fri, 17 Feb 2023 14:12:20 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Linus Walleij , Imre Kaloz , Krzysztof Halasa , linux-arm-kernel@lists.infradead.org Subject: [PATCH 15/24] kbuild, bus: ixp4xx: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:50 +0000 Message-Id: <20230217141059.392471-16-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0464.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a2::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_|SA2PR10MB4795:EE_ X-MS-Office365-Filtering-Correlation-Id: 362043c8-81a1-4e5f-d9f6-08db10f0fbd0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sFXSqZ6L6uXCoz7197U2h2yMsTj93rcWJUNLAHQ3eMzGiliH3AzzAVUbMlav1Eh53+lZwC8OBbcn0weL2UnqlLzH6nIcdvkB4g//I1Two/eVPMSwTlRTfh/tC+t/ce6338tzcZKdFOpT/SgysyFSx4wvaDC9tXXJkgiwK+xdKiS9HE+mxynhXrXnvjYEmlLVgMDRavMJZWLeeBhp4opuNEM558JIBxmAgSS7qyY+BfTPY9m8hHa6x5+DGRiN/ytodF9oU5fdkfqjM8jE9ejN8sCvxH3LQ50Kzl+fHjpQrCJ6Z/6gKJlOnxghGbLmgILgmKkAciq2dvpYHP+XJoO2lcK8HkIB2Y+pF6baBV5/tSXmSw47Sv3egAk5c/JpGT6xBM3fPEf59FQtg0gEmpbd5ierQdQQnQElF+e72+CaDHtMYnW2Re9wLZcqX7eH1v5UXMFTZf0Ks7pl2Np9HIPswBA3M6VlNVY1dUOvbMBEUDuClTi3nXX/FJiHxrkdgFsN1uwLhHJCCi70JueIMHUeGydF+xYRb+6SR1hwTSQDe3nrNSwE+zQr0mMFBRzJg38WjYHegEKLIaFPKpSh/OdiWEygz0nRrLRov9PRul1+QX3jIq5uL4ERxYO/u4P0ikeJ8ION1+y8/KvYXtUgcrvGCddQOH4ShQrl9k+7QpA8IIcwgTlgIzsnf7uumNj0AjWJ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(136003)(396003)(346002)(376002)(39860400002)(366004)(451199018)(2906002)(44832011)(5660300002)(36756003)(8936002)(86362001)(41300700001)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(54906003)(316002)(38100700002)(83380400001)(2616005)(6512007)(186003)(6506007)(1076003)(6666004)(6486002)(478600001)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 7KmpXaAIAhcL1fh4ZlB55KIZR8lv8YS9KHI9sWCrTQE4uepAJgZt5PcnWhzbPBffDPhpkkWh07SpArTwl2iFuh2Opgd5FLUOzmZFWMQFxmCtyVCYVF3W5nvGs62z5BfYJ1uX6khJVfMjQP2uzp3nhqDQU53vJ8Xi/IJc1cpYRNOF0EF6A8lCYnO9APZK4CFWvUS4Shnse6/EaNjszQ8z39qAUvDNdD+zAEWbBRNtZKzL0h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Hw5mXo6aVPtU6zjuZcUpo2QFu/YqfH+K52x/J8UwMxCUGIJkLkCWHi4D3dKwwzHFCqSJtuHDK7Fd/9My9GUOWQ6qkEFQIgS3zW97wkbLaCiIbLcpiSXnXLls4eOFxtmHhgoPeN56NTlLQpMlOfsAP7jHRuB/3zLaST2SU2qB8+iH9vFfwJWAdGK+zhrIIAjWRVtnNqYTJZ5DggGJkM//fO53Ml9xXaPZGL+LyWUbgFy4aSwuY6SkjjQ= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 362043c8-81a1-4e5f-d9f6-08db10f0fbd0 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:12:20.7427 (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: TDwzkWedPWXoUvtbRd3TKFJmEQKK+bv4DZ6obdSlsFx3Ssn3mdJvBlkNPr11KkiC+BB0WKySGKa0mAQwU4SsEA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4795 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 spamscore=0 malwarescore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: 6bvVMXJ0AW-8M7I6xixXcwAOutVHu5Ge X-Proofpoint-ORIG-GUID: 6bvVMXJ0AW-8M7I6xixXcwAOutVHu5Ge 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: Imre Kaloz Cc: Krzysztof Halasa Cc: linux-arm-kernel@lists.infradead.org --- drivers/bus/intel-ixp4xx-eb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bus/intel-ixp4xx-eb.c b/drivers/bus/intel-ixp4xx-eb.c index 91db001eb69a..f5ba6bee6fd8 100644 --- a/drivers/bus/intel-ixp4xx-eb.c +++ b/drivers/bus/intel-ixp4xx-eb.c @@ -423,4 +423,3 @@ static struct platform_driver ixp4xx_exp_driver = { module_platform_driver(ixp4xx_exp_driver); MODULE_AUTHOR("Linus Walleij "); MODULE_DESCRIPTION("Intel IXP4xx external bus driver"); -MODULE_LICENSE("GPL"); From patchwork Fri Feb 17 14:10: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: 13144944 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 8B7C3C05027 for ; Fri, 17 Feb 2023 15:10:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230152AbjBQPK3 (ORCPT ); Fri, 17 Feb 2023 10:10:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230218AbjBQPK2 (ORCPT ); Fri, 17 Feb 2023 10:10:28 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 262BE12845; Fri, 17 Feb 2023 07:10:20 -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 31H7hppb001445; Fri, 17 Feb 2023 14:12:30 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=buDlxwX1ZSIfk1QL3TyZgV0NbE/WEPbEBU4QLRON5Cc=; b=OBMBjoyjDcydeu3a/fL7ygfEZsyNA3ZcO4MjBuKJ279qQs/FsWm579pAwFXVRlgv/WYi S2GNruDtG4tb9Izj0Fe93qf4az8OGxdTTQLq9tskkmlQUkxAf/Lkqevodimxin3FBau+ c5te/34ztpM6MaC8Z1QZXhD6HFt07iMb8UqXeSXqnktWOTa+5To5aVaj8b7NzCk/XP5w yySbZv24JOErcijxemGqPzJa/Rb2yo5hdYgwB47mBurHkjdQe91nTjEmq6NQWcVNcO5I aK1VHfTHdhz3ymZpHMz0v2ZRnfCCUCgIAu1+Uenb5wGLsx7PkAZrOHcLhO9ZGUGjLzA8 Ig== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np1ednuk4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:30 +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 31HCHgF7012229; Fri, 17 Feb 2023 14:12:29 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2171.outbound.protection.outlook.com [104.47.56.171]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fa5061-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AaUl5mdXDT7ox3ot8iew6vsdlRKyIL2IG7C9hfkB0bLneLp0Z8ZCrJ2zf9OWYrCEg4sdiPiNtft7diQS17z3WhxsFbegi0rJTtjF01NzZMA/wt0zVp3WK8E+SmqBIpso2jn8F1brVPNtH0IyC7Oe0QrXtPZND1+jgEcsSat4MT77Yih0JAHgQJHOCMeO1gVWqiMtYCwpX0QaKxi34bfqNWWsRjvPfbNPUdux4KhheFjgs64PVc23IP1yvYbw6Aw5+iT4Sqi9knGiVVAYnBCx3lMiBSiEMcmzj1nHddxYDg7+Mlv+TAQzoSfy3hvDQgr8vlCM+nDOCfTUHRxvKVyxTQ== 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=buDlxwX1ZSIfk1QL3TyZgV0NbE/WEPbEBU4QLRON5Cc=; b=YH8t3QpJ/z/Rw54oO4pslaLvXLdQ8Y7bf6UmX5oY8I7wCbhjUgmaO5XfvIrrajk9784beMo4VVo0PEUtsGMbpFi1HpzYDJP0YwV0CPE3czMqKCnMR9TsyehFXbNEU/0CdABKzsZVlewyPjgnsppc6aqD5Cd2kbQZdACqanChx5sIVWajBfRCSqlaaSkvWVdTuRzBaQwxQ2xQruEvS+HbvVybWQR6l7CZYcCfFDw2ziiYBwxlF7rYJIHc1rIOxcnW1x3FQN9srHDVD+pBkQBfRiLJ91eiNecw7QTGMLqv8vUI9NGzSkllDBpxO4IZ5QJoLjFA/mY9pEN+xSeMsJxVRw== 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=buDlxwX1ZSIfk1QL3TyZgV0NbE/WEPbEBU4QLRON5Cc=; b=OyNx+2s9TRCklxs9N8svfHLRAf2zkgFqp4wNfFpqSdY94KXY0LigTJiaa8ZvooK4Uc4jKMOOrfBPlie7TUr4mar1VhWfJ+5QyKragw6rhbjrIsYHRTR2LuXBiMjEQsSUNggeka/uSoznuNEtfcq5Rpd31L7A9NJZBopUoMFb5P8= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4795.namprd10.prod.outlook.com (2603:10b6:806:11d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.12; Fri, 17 Feb 2023 14:12:26 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.006; Fri, 17 Feb 2023 14:12:25 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Thomas Gleixner , Marc Zyngier , linux-arm-kernel@lists.infradead.org Subject: [PATCH 16/24] kbuild, irqchip/mvebu-pic: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:51 +0000 Message-Id: <20230217141059.392471-17-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO6P123CA0008.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:338::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_|SA2PR10MB4795:EE_ X-MS-Office365-Filtering-Correlation-Id: 260f4a57-9907-41f4-0cc3-08db10f0fea9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /tbzrCnrSulNaQmHzqBcBoTh942l+DLUdwGDHiAeqslFy0xHopFSQi7W2RR5c+COUuxMaXI3AcRd9j3LezvK4zN5vY89jlq4VyFj3i0CuTVd8hQLeIOpoWSluRHhQpEkyJLECnWRU+tSiAsVTC7b/la2HD/5m+5ceZibFkW3ZqtF/W7vwh9j+gC0lVdEhZ0IFtSgTKd1IJPsogpiQ4kBWoSiRwxtBiFNRjuj6f5MPuWlFjKNHOTlxPUwG5XpfIM6OMB7rIlzOHLm6qfB+jN80fgolZ09XkZJJrp3IlA4C/IiADzHg3adV4F5DV/vdB77ZmOidzkE/GEQnZeilF3aLbL3vPGQUDgFR+noe6VqWrx9EYZxDXbjPCdPtw/R14nG1bMrkAixUfQ34dV7euVRahmZegTgN09mOALyGXi6khrgkHX4+e9oomP45NvnI6ka04Lauktk6TJ40gx87uW02/ipJ7GdgHJLfuxep2D6dK6JD7OFO6zreg733XN6TSnWtVcWTJ0XcToezcWptGOa/o+2qaLj0T1DMol0HRWykH1BZmJ+4aVk9nMdemPnaWOhE/763RCCBWGLrUNsaSjodLYBEK2V28tl6UUxUWRDYUw63WZ/l72qqzxW4Y5OEx7JHNI0NsPAWvKYddDWhym9HA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(136003)(396003)(346002)(376002)(39860400002)(366004)(451199018)(2906002)(44832011)(7416002)(5660300002)(36756003)(8936002)(86362001)(41300700001)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(54906003)(316002)(38100700002)(83380400001)(2616005)(6512007)(186003)(6506007)(1076003)(6666004)(6486002)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3KQOhsimr8caRkqW7dIQsUcA1MbIXiU4OhPbntd3TS1KBO25UkEey8PiQs+Q4hGusp/kdU6g4IxtTBFa8QBlrP3QTWxATh9HsUPKQposUohb0Ocy9eA2/ELwHih2X5fsnbeO8WDGjegiiqA/W2L1auX52dE+27kqb1vLHnkBJXHN3TZnraQGHV9P24F2yN0RN3ACwzcLx2yNcyvjaBqieOhGeJmYLX0oK518rpuf1dcBRJ8c1szCbQqvhMphiN+HGDplHTKYIqYjeHTBAXsAqJiQUpag1MuLAHHhQNP1cT2ThRWxa2wxL94GGftmmwW2GETDHNYcku0Dj7Bvn+h5wgPGlxPZmNLETn7x1g6RE33I3FPepStLqTAV4YQ2VPi8cXJLbVxvctOKSzVAUEvW0zHnZhOMltDEpUvCi9cluqpnzMD0U+CkeMeWEazAyolzXj6c1kptE+wFkF5n3T8uByxRy78ql/u1bU/vg+u6wAHsrrorR5zDa/my+Wlan9MFj+302zNg08vHJ/e1jP2tfCW3rgASrdIVz+cDC0JHSgMGSZBHeAyUa9x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TU2/n6EhjG5hDeeeEWTvzO0w8TfWn0py6 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 260f4a57-9907-41f4-0cc3-08db10f0fea9 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:12:25.5277 (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: 1BiLrHV+uGjHG5um+ET9+NOaLrPAZ7VxR72a1bZ8GOo9wmjGwOgWZq39AGr2ZVKeexgcV6+V/jhC70/s5uie4Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4795 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 spamscore=0 malwarescore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: 7LPi6DE95SswzTlnMOojf0FT3-r_7BGE X-Proofpoint-ORIG-GUID: 7LPi6DE95SswzTlnMOojf0FT3-r_7BGE 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: Andrew Lunn Cc: Gregory Clement Cc: Sebastian Hesselbarth Cc: Thomas Gleixner Cc: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org --- drivers/irqchip/irq-mvebu-pic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/irqchip/irq-mvebu-pic.c b/drivers/irqchip/irq-mvebu-pic.c index ef3d3646ccc2..37ea3fb6e928 100644 --- a/drivers/irqchip/irq-mvebu-pic.c +++ b/drivers/irqchip/irq-mvebu-pic.c @@ -195,6 +195,5 @@ module_platform_driver(mvebu_pic_driver); MODULE_AUTHOR("Yehuda Yitschak "); MODULE_AUTHOR("Thomas Petazzoni "); -MODULE_LICENSE("GPL v2"); MODULE_ALIAS("platform:mvebu_pic"); From patchwork Fri Feb 17 14:10: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: 13144945 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 6BE94C05027 for ; Fri, 17 Feb 2023 15:10:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230238AbjBQPKk (ORCPT ); Fri, 17 Feb 2023 10:10:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230264AbjBQPKi (ORCPT ); Fri, 17 Feb 2023 10:10:38 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06AEC15553; Fri, 17 Feb 2023 07:10:37 -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 31H7hdvV027181; Fri, 17 Feb 2023 14:12:35 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=P+zBh7KfcsUZ8Dm2mG+7H1S2NXLf1L82qU+PkRjBPwo=; b=mRZ0teVzhhBhd56mgJdwHMPJ58ULTnBzTeRer9YVWjuMi4+CjFgPv/m9H3vcbxxqrqjq vB1lEGzjZtDg0SdcmoGto7ZorXCcPFBlb7n6BBVftTj+fbqQMt/Q3bvagHTkxXWcHpTn pbhf9ODa3JxAbWdE1Anvae9NIeYVbwUIQ9Pr5hty/Eb0qZzhhMsCy94YFJbKhSc8H0Ux 0L5QPpYBpR0nJp6jTB2QvvfIuAJpYL/C7hTzhbs2cf5wsahFk4/3DSJKbL2IjYtAcSpw xajYvWhFl781TCp2G9GOAjFZPSkl3O0zPHD5oNbYOrOK7L23J6EFCJCDxRpYnmAbNoUh fg== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np32cp0dm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:35 +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 31HCtG1j013863; Fri, 17 Feb 2023 14:12:34 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2171.outbound.protection.outlook.com [104.47.56.171]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1f9ujhc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QuTtKMvdZuW39Ee7dh9cXSsbsP3nFqTTSenu7GNBvL3Xnx33hppKyuhHus8SwNFVWIM8VlNM4o5PFpTEJyx8v/aUA7liCe9SSWDfyvTj1frUOny2XdIkjqlBskRf1gJ/qv9zDshGoirft21N68KUfPhlq+wDtfD8a8K3iRmD6GK2UPVZawloJKsbkTRz/nbGCzX1xjP8Ved5txFR9z2lF/ysJH19b/313GH2nCZ8S1w1myGfn2CYTVV1W0/g8oFAUA/N5Nx9dOqDO+3DRNctyR5Xe/QREp3SI7aVym3v3WNh+UAAOGNFBhFaJioZxqLAnx+z34rjPrusfTVO+Mbajw== 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=P+zBh7KfcsUZ8Dm2mG+7H1S2NXLf1L82qU+PkRjBPwo=; b=H7orq535tBKxeL6SM3SbgrY77j5f9xP6IhtCBANSaYCF8gj+GaUpMX05FZqDAt8NOoVYoaHxBXHs1woNiIZomCISX1B81INlJNFr5+IbSzeGG4FdLrtv22pMusaFyqOnVyKS/UsFgGkZnACISM7xxwDyYVpmUIN/gYv4ZgEaQG2zlEJZs9hDXXFSWqwBXUo11c1IzXTmPd+WcRAK1i9K/xjCgNPur4oNak4CYd7qKWo748NbWv+XC2pxknpDEEvHJFs3g0pd2O+trqs/uQCekKbYqWwBLmjAYfxBr98hyj4EoSOtHLefEnvS47PNQLTOFOfQZHymIA1WcCchIt2bRA== 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=P+zBh7KfcsUZ8Dm2mG+7H1S2NXLf1L82qU+PkRjBPwo=; b=nAScSLeZXdc72eOgK7PZMGGdJ7Tnd8DUTZQ5TEs4RgxyiTU45GpGyWAUOBe/wWBn6Bcf/gqY+qe+YJrm2SQ6dfFIYW72gxCyor9pt+HAdlVXjxzTjglDy0+D+S7RoKS/vD3Exx1C2Sw0OV2FaUK48HNa8Kmb1cKxwXV/yzI4mOo= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4795.namprd10.prod.outlook.com (2603:10b6:806:11d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.12; Fri, 17 Feb 2023 14:12:31 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.006; Fri, 17 Feb 2023 14:12:30 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Avi Fishman , Tomer Maimon , Tali Perry , Linus Walleij , openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org Subject: [PATCH 17/24] kbuild, pinctrl: nuvoton: npcm7xx: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:52 +0000 Message-Id: <20230217141059.392471-18-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P123CA0094.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:139::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_|SA2PR10MB4795:EE_ X-MS-Office365-Filtering-Correlation-Id: 2ade3a9e-5b04-4825-e171-08db10f101b3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UIfVyry1b04gdXAYxYcQhH18PEtbqXC4OdMRe+xhHhN7hxejf5A3nxV6wUQ6CP4Yr/WKlE7XsAbyYi1VxS0EPYzE+KvUITgfTVo9Jgfz3o4Ol5jArfd8RUYwvzLp+j7/YFE0sVjRWXVWLBRLdDWWCiVzRbiJHs22rGu4lYnti/skO3GaWozKg5hb8lNkR5+mfqImEemaJwr5aw+TajEhGeFAE9DcjjiGUWD8ZTQi0Ylu6EbHPC+vmLcjRQfn0fuFWBeKpgBIosQWvvlvKkYbutjDTei5Pt3dQR5uAWAOOQfHjgqtIT+rYtCUBVaoINZfWbULDShMV084vHRRvGCr/u7FYnRhMyD5BphbvucaJq1V1ZEHnb0XYm4phiN2onWfdnoDmEX/MW5XT4++1SftayABlSp5kcR19bCIcfD2voR6P6b/amebPp236/8cyILemYJIgL7TmsbHNpXeTCF/p0iiWVBiR8VGfgOzx48XiE0B4LaO6t4XS7U7lKkWAU2+IFdDF28OJAna8n6Vu6aErL4e9AHjAVWG6BnwTGc8944/ank3bxNsQ++XTvQz5zwBgZnG3NZ5FIM1rdq7fPa3IZ3kfYLk9M3hH/GgW74HfmHCCU3BY8y0Xl/CCz37H7E7L0mT/2vzGqWdeqmv8VfVfA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(136003)(396003)(346002)(376002)(39860400002)(366004)(451199018)(2906002)(44832011)(7416002)(5660300002)(36756003)(8936002)(86362001)(41300700001)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(54906003)(316002)(38100700002)(83380400001)(2616005)(6512007)(186003)(6506007)(1076003)(6666004)(6486002)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Nsdfni+Dm3LqLetFmh/sr976UCTHFxCwgl3vEj01KGV5IuYkZTagTWVxJNu2Y16p/baeuukvgG8RDbfmXTsOoxa+xBZQYaytBPDrUOd+ri675xR36SJgDt0uKle63o1w4XFkjSHV57UuUAX1RA1rg4JTLj3748SDexJBfy5SR6YaG5UwEG84TKRCEiuH82EdGOe6jUMbn6yGcRBSqCTF/Aa6cIEL2vbPyXQp4W0kb+pxi3eZ6L7aKvczUsJ3QUfIiihpMITpmIq0GgD92qDjILftFKOMvK/Gyq8d5kKAMqe3g6jl/pn6P6gNPwEOWQJuB9wpeWhfqAHRtDKGMHeEqLEWsdS9u7cynJWbAraMMQ66poHT5nbA0cegfX05askiVxdsc3xCvkOa6UmtjKhzqwmEvPDkVCb47EGgm7qeeKsT4fnvY/hM8zJhb8FeH8BFxf7aAqAIJNPiMkLZm30K3woOmlGRXqNPbNkuRsGtjjK19gj5QHiyjMzbwQ8aOfwdU0nOeuo2U1P47VBAOZywyt5IPmdVYrTMxYb+PsKftawAV922NyAzyBmPhrXzTlM/bRj0laHxk4ghnGCAstx/YiB/uUhJEjTE4QAnVTbogCuzS8xwmM7iLZpYx0xhREUkK0POUVEVLFtLXEgdrZfZO8KgtRzna6IkwDru0GgPxeJ0eyGIuzBA58hchkxC6M8qqmhRHAriiB7ZKHTJY9EuiSFJ6TnfcmEljziON6ZXcUFZsrw7jtB37q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ebeMzNlR3B6AS4dXk5MnlduBJQnZASbKmZPJnnl9HEm+CnYR3u4vzWIbrhTx3FzOF4PIkZmNvsChEffMzKlwXtFUuD801+B2FpUKF5co0Q4acCwp0Bjvcy9vRIR3PRFglgRzc4T7mgNpvZhh+Yj1KcreQE6HDnwFQ49xIgcGcG3l1rjey3zr/KtiU2X74Cb8f24DhOJhLzjOa0VsPrS+ocn1Dxrag8S5gKiwb6RWf43vyk1exonjRY7RIzsWs5zF206vT6WB9iz6qfAT8ooUOtFrfdq7ze4AbFzU6xakaqCdK67gfkf6cm+kC94tnKzoC5K4gkdgzZNKTZ02/7XA8Ateg9/jULNWLSFFBDg0bKHuzyx0DDRAW7sOWqegkk3ldvhj7AMw3NbcXZSNP9Sg5MsMM1XASepTgXSqDeXxbkTnmCNUNhtl+1dXa1RYbrvGeTONPeOOcSkSFa7KgB3PqqJJ7vOE+zp4ZtUpguFkPMfLEKjiorisNw4jmp41hrNrfn/2QJ2y82mbSNwmwJTTm3Tl+9Pv/D2bLLjso+mWs65ekHc4soqx6ssaq60YG/fV7cONZQF+MgCVMr3tIleCwAXxIGlFaCZBA9G7DKEVLZIlsUh7B7HROmzxxL2zAT9nj9OPyn0O0csy6QkjPUYq1HKl2c71LopIVjKwbI6deFIQYIwE8NUfYFhbQtuDeqaSLp5zIQSmiHxYlsz9RJfBMtJz3C4/uQDVMa177jVSByflmn4TAo4gHuGoVmh9usVVpyUJ+lEMrgNtdpFR9oU1BFOFob3VC57O8HKd+XGJnlgo94jxaEn2IM= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2ade3a9e-5b04-4825-e171-08db10f101b3 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:12:30.6161 (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: xtaI1R6wcZpX6YFZTKgDdC6c9uDysKhzPY0RB2jD+Gg+P9a46f44H5zpFYOKfY1Ko1OwhVpbQeeBH4ExPgnJ7g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4795 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 phishscore=0 spamscore=0 bulkscore=0 mlxlogscore=999 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: 3yBYfD2sqg700Z0wuevRkj6n-7bAxCvJ X-Proofpoint-ORIG-GUID: 3yBYfD2sqg700Z0wuevRkj6n-7bAxCvJ 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: Avi Fishman Cc: Tomer Maimon Cc: Tali Perry Cc: Linus Walleij Cc: openbmc@lists.ozlabs.org Cc: linux-gpio@vger.kernel.org --- drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c b/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c index ff5bcea172e8..4e12b3768d65 100644 --- a/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c +++ b/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c @@ -2046,7 +2046,6 @@ static int __init npcm7xx_pinctrl_register(void) } arch_initcall(npcm7xx_pinctrl_register); -MODULE_LICENSE("GPL v2"); MODULE_AUTHOR("jordan_hargrave@dell.com"); MODULE_AUTHOR("tomer.maimon@nuvoton.com"); MODULE_DESCRIPTION("Nuvoton NPCM7XX Pinctrl and GPIO driver"); From patchwork Fri Feb 17 14:10: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: 13144792 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 83016C05027 for ; Fri, 17 Feb 2023 14:14:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229745AbjBQOOU (ORCPT ); Fri, 17 Feb 2023 09:14:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229673AbjBQOOT (ORCPT ); Fri, 17 Feb 2023 09:14:19 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99A11367E0; Fri, 17 Feb 2023 06:13:51 -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 31H7iKPs005185; Fri, 17 Feb 2023 14:12: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=7b3HjGAS5BE2xeVZ/vL6Ag8gHXwuHKtr+gRPUDCfryM=; b=hF1rvB9WL6LgQrEfDNotldhxdpDiDCT+4lOkfukYwWjc6IS5D38E3Kgn3ViShr8GXUYg oYKJLB03RrVB9iVOYT3VQhUJbR7Vx+d/ysZC34A7QtyUi68uk7Ow9xFbA3L7WAbMJ7gn GZUgKj5TatS8aWVxTULUXTfUNTo8CHOAgvzqgKRApiSdsv+q4XLfCzi2E6MW3iXTrjP0 6GHatcGIg5h691CCa+jV2kKKZK5MOPi5+xGfWuVgNlUG9GJaw+MsgPOvADmCZpH1AT/W LAvoweD8d6wf8kPPh5M2PMTItV9xtejnpVs0xZ2R4ERHX2ev9qJqWp9LzPkS1ehkzE68 UQ== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np3ju5yb6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:38 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31HCtGuO022990; Fri, 17 Feb 2023 14:12:37 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2172.outbound.protection.outlook.com [104.47.57.172]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fa58xa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=US3j5CYvEAo5EWAUuD02m4/jhBuwWZTPjC+z9wYXRLilF/xgGo9ZEof/jAi4ZWUesa6mStVwR6X2I6Kwd/wN33P3faatOV5tBRu8NKUj+Ktt+o7H+tAlO0Ark7Iu0XUahUZJnWZHxOBk2hyA9Oot6Ye4q/AMHxNNw3/a/jU7NlPup+3bAo4Fi10ETfvbGDo6fP/41z8KMucpXL2++K1/ZhOZyMP9qXl4969+OAJkTRP3nC3UL+UpMkP3SwimGqcrxcgddf+KEnd1JeE5IZBecVWGQ82k6bIiGeQMNDzjKYox0F5WQom7ELxA45JBX99G9fsq7hqatbOLbEM0MfYQgA== 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=7b3HjGAS5BE2xeVZ/vL6Ag8gHXwuHKtr+gRPUDCfryM=; b=GJc0dkgUQBnlS2+WYAcprSvVnjOFJWgXuH24GMiEORejIYuXCt7Ip7Wp+xylDYBkwsAWwH6TaayWTjM6JnLo51RKfXfaJOmLpJx/Y70m/+KaP3/hVbPiOkABdRrPjoq7T9UP3jA5wIimZkJLEj6OUY3wsaD9NikVN5KCl4M7Cub5/w5Y9woejD0/hEXgD7zJl7Piu2eFW496mEH77FGjuc03nHmFpt7I/qHPlgT0igqWhugYCiRSB9cdnLCPGCsIMK2uW/ebpwz1QOUOHTeFM/1OlVDDRhu9Qw+gL06Ys0+ZqWMQ5metoDn0ZDEKOOiEdGssrwevBojjE9WJQjQ7tg== 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=7b3HjGAS5BE2xeVZ/vL6Ag8gHXwuHKtr+gRPUDCfryM=; b=giebjb0mBRJL3gVry172MkI1Gs07MtORgm0+jqZw9Kopgzu16mDV5tUSRdCg9q/uKDOp0usDSEEdPtwZOXFmLvN9cjvdtFUNUA2ehFp7NG/3/IIEUUfgfSgHlRHxuHlPveJGhG5rXElIGs2pucixDzCjOYZtFd7LrI0rxMyNPrs= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4795.namprd10.prod.outlook.com (2603:10b6:806:11d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.12; Fri, 17 Feb 2023 14:12:35 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.006; Fri, 17 Feb 2023 14:12:35 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Andy Gross , Bjorn Andersson , linux-arm-msm@vger.kernel.org Subject: [PATCH 18/24] kbuild, bus: qcom: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:53 +0000 Message-Id: <20230217141059.392471-19-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0041.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:61::29) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|SA2PR10MB4795:EE_ X-MS-Office365-Filtering-Correlation-Id: 4f797bc5-f902-4853-1b88-08db10f10484 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ESTmUJ+2nmYr8oD9Gq5L8HZQOOFmKB2R8ICbpydLSSbiC6PTuCet88ogkINCtgpL+t27LOF5n2Ff38CC2dquA3ax9jEVqlPoipSEVJKj23mBq2UNPVengnJBxGbh4u0y+73J2l4TIIkFl8gfpdWXvoWG8f7Vz/5dMdD+/TueGYRiyAGUFLMmSEIA32tQ6NeZwtwQFtyP2tSsG7QFGtXeAN6qJCYimQ0ZBnDCxHD/ZA3ehOTU+qfOGdvzy9fHUK2FdQWjDP+ZbLl6NmZ7PLKXxhK+6H7PvDJR94Ln49IfBRGZDg26NYjcjB8ua8XeVAkNUzp1bhbEkzpnMoydCW6THB5Ub6qDNSkpfQpeZ9VSW3KkSSoA2VYIul3GfYBSHxH9yJh4AeOt31gpwyl5K30dyCxBAw6w7kkrfBtjPNoH3fBIoh3eriXG7rjfPspCOp/0GP2Sg/5vPz8c85i3uMuAgtwL5gaUV/5RLjvZWo2o2tlrtP6zSy8oxBYtPx1HdYBQXLQ3wvjUglF/yBtiCr7MXrJQFnvkMkymRnlI72YSgUN1cwrG+SJtyAR7Dx6BwntscVmM4nriTicNGQvxeYUdxgrfkRHpxllLdaiQ75NclxDUsDhx8AtrAa8xiYX9kUe0oZXfeYT352GmwyYGX52fLQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(136003)(396003)(346002)(376002)(39860400002)(366004)(451199018)(2906002)(44832011)(5660300002)(36756003)(8936002)(86362001)(41300700001)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(54906003)(316002)(38100700002)(83380400001)(2616005)(6512007)(186003)(6506007)(1076003)(6666004)(6486002)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zd6SIcVUk5cjBHGHgok7bYdZtbqirBFehSaOM7cPdFKRoelTNQhXxezJ0B71Hru/Da+sVMoqs3JOtkrBXkcEBIeZclTfax+oKWhSDUNlT8IO80WENTwSuCMQc+sOnHvTINPySu0uvWa1J6zsVX8HDfDfh21It8iB5kdS4bZ3wUUP/gW64GbwV6a7NVF/MrRuArzyKIKERg1+l3RgWxwyE5+ZZpZoky+EcxSoP23GWyNWddKXEZlJZsMowOobVoculdxVGlKas3VPxyYdV9dA2tPLjcamcm8Zay5nK8kgGawRRZYkbc4EeDqzYSCmLQ8YxNSLVAb+AqIyYuucXrlaSp9Fxf9L2RGzIm8kN+PsqPpxaQ/8ncLBZwhCuZ6C2WcM47McnROfA9Ea+ks5fYOdDIt9rq3sEWDl1AV7bXwiws0POSbH8P/ouUmAKEY6sG8VaFtrSkZAPgKLqSUTwenMhzgBlejD2mIT+DasrlOraU4Mf7jZdLxelLy6Bf+OCjP10Svx4al9ED4esaYCiyU12Wjr6hnjeGCh11IGr8G2ww0/qSWHCLtPJ6dTHY/HocrNly2RZgL/JCW0+g6jL+5eXITCg5WWQ0Nmg0mKEBgvx0oWqDTDLl7mFWCnJXUv7xRrbZfJh2rO/0rUdPV1T9tjnbUxfrdvZCIj7+sZIzOeYFM/tB91k9CNgLBE/b79TtNTxikVk2NftAoeHeFiHenc2fV/giEBZenq0H6muLsD6PgkfMILW5vLXe10rorMoUzYKOofWbDTj+NKXC2vN70GUIhnfWKlmMFRkE5aHyUhm60E45Ei98NnIrDXitxAeacUf2PNMnKrYjTYONbnDl+xeGalQPVyf/1LUTmFgsTDi8Xu8ZbpghaUZS05R7wmEZXfAFc30FEnL7T7v7KYiYqIa6FIWWmgqtJtEozNNrbHvJ43b6w2tkhO8O6UONA+te24zSPC+jYIc5XS6yForNtenN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Xbh9g/U+q6/njM1NqqQ2M81tA8iZ8ENvdghOXatc5bLa/Jy35OBccd3EzSZqYl4SsQZXJue28SUyzJlv1HYUdtZJ9KICoBT2vDDuu67r4DUCCrtbnWeMk/KLGFX+5AVndIWaBpfz9nsUoCmHtqR21LUo18nLKq13Gimirlnx7gik2RfoBHEjqB2OlKS7SQl+zvbqfxLMxDcrQXoHhtPf73s2PH2hCn/AwORN0vPh9QGboNYgdKBr1/tKEWJimsqmr6YdVeXeQhleevG5YBTbRYxHegdEo4oJksQT0eRC/6uWiBFj8i4sRq52b6uQxfNqR47UZk9Bshnyo0PKB6HZErPo4j7wY5YaoiA1MZaicw5XUe+/UvfLeBdcJRjSvXH57oP/dGQ6LQmvYSNMB/1/htVj4RoVNt64sZYWaqFvufORyAuWP9THR4I9B0/kxH4SmB3d+h7vItTyHpqm6IGOpf9ZZbXz0Qqq+a4gLbtVWPuCH0dl X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4f797bc5-f902-4853-1b88-08db10f10484 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:12:35.3393 (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: 8pkh4K6I3aA07QvWx8AOni2V3qtOILgQqzM6OUA9xM/n9lBLj2ruKtMSGffB6MN76jjZFGgC5KUFqo4Q5nxRCQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4795 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 mlxscore=0 bulkscore=0 malwarescore=0 phishscore=0 mlxlogscore=999 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-ORIG-GUID: fvnwT9JDJYjz42N4KDtphi1JNRKtLlWg X-Proofpoint-GUID: fvnwT9JDJYjz42N4KDtphi1JNRKtLlWg 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: Andy Gross Cc: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org --- drivers/bus/qcom-ebi2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bus/qcom-ebi2.c b/drivers/bus/qcom-ebi2.c index 663c82749222..c1fef1b4bd89 100644 --- a/drivers/bus/qcom-ebi2.c +++ b/drivers/bus/qcom-ebi2.c @@ -403,4 +403,3 @@ static struct platform_driver qcom_ebi2_driver = { module_platform_driver(qcom_ebi2_driver); MODULE_AUTHOR("Linus Walleij "); MODULE_DESCRIPTION("Qualcomm EBI2 driver"); -MODULE_LICENSE("GPL"); From patchwork Fri Feb 17 14:10:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13144795 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 C2CDBC05027 for ; Fri, 17 Feb 2023 14:14:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229960AbjBQOO3 (ORCPT ); Fri, 17 Feb 2023 09:14:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229874AbjBQOOZ (ORCPT ); Fri, 17 Feb 2023 09:14:25 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61FCE6BDF2; Fri, 17 Feb 2023 06:13:58 -0800 (PST) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31H7ikqk030517; Fri, 17 Feb 2023 14:12:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=K1Jn7hVhMr8uNvmhvVtAONAh9Wwsfz+vx8AuJA7IYwY=; b=qqlsy19XaEoKXETwlmWgmxxoaUGQMamMBGBHAX6QgOz2ysKRnlI5jqI9bU1NI860wn0m 7yg8ZAvBWz8tlzcaRsRN9CRAljLuqR9o5yZE/PzY85sln/adVid+hUQR0Ro/O3AaH78u QSuzBIE8NrvZI1WWSxK3Nt7ib1JPBhjnMJ0yeskhyB8CsAM7RWsodvIzq/cDLkU9h5mn PBOVQ+SoIYgIqMqOUKEAJoFiqx+Kg1f+s5tJjWklmaXIMFQcZfTH194Zd8LJRLSKucq/ lRjzXtzasEUQP/oYACdI7GiZryw4JQgVGMerX1QEcpRwEGVhWOGD8Xar25dt9J8qJSMJ Aw== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np32cp0e3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:42 +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 31HCc909019951; Fri, 17 Feb 2023 14:12:42 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2170.outbound.protection.outlook.com [104.47.56.170]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fapp7n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cDgu+8cmQVb5XticfoCuzzxGGKxZef5FjtQBTTmFP6AxR+wlKlboma8k4hi67k9oGbQ6fCuzZyL5wPKwi13Ip81ZCiYwt3QkOAJnWbusCbu+AEMyc3kABCNOGhAPqDzio0o8Qh3kSEpYZdCUp4NzU4+Lpj96xajbRl16cpTVwf9cmUnRg3/0tKHYJWR4Egvrmd5HRDtO0tXRJzaeoyj0TghYkmlOInfkuxMuXBbTHMgrz/IzD4nAvW3eweqZ29Z+BXv2iCeoQyEyiXHMwQhkKp6VAaau0yOSpRjTuwzCBKKEC2jsCBpSEXsT2MLlUeckjKLPcP+PFfUECcQiJeDp9g== 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=K1Jn7hVhMr8uNvmhvVtAONAh9Wwsfz+vx8AuJA7IYwY=; b=f8b8wJtl6acg74jJ4l1FJJgen3y6xQ7tPLmj7SBNyyjbE3ePsOUy1gLYtySII6OVp+fJCscBqFTYU+wC0s7tBM48qAyWZcp8P5iROovTZQYttrr9dURSzejp6bi365s/okh4/C3tcI2K8d0XYSAAyukZtCb1Mtjvj/U2sf35i/EF+lf2C1FPto4++xyh9GJEdKkJUq6Si5XXsWAtRz2/jXhhRKsvy0C37Xg7HkncPNBCrDBHnVDV1Y+gWSEszAizsxGRMn2+FfY2yFGaYT6SW3nwEtphX40a2eiK0tddOEU74PLkfT/jmkGNHSb46bN/V8xy+iNibiXzczOue06VYQ== 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=K1Jn7hVhMr8uNvmhvVtAONAh9Wwsfz+vx8AuJA7IYwY=; b=yyxlD92NS6IJKB+MMxeelxWAQf5NVzQfK29oV9qPSyYa7zY6WDbwhHrGqnf2kSKztJUSjHMvf80D76yXCF3NToXxZwaJNbUcVEJ6+VYIK+XdLObLKc73xxfaAsl7eY4TBRriPpC9rJGypdhXvrjPKq/+HZ08SiyEGLiBb3N+qF8= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4795.namprd10.prod.outlook.com (2603:10b6:806:11d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.12; Fri, 17 Feb 2023 14:12: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.006; Fri, 17 Feb 2023 14:12:39 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Andy Gross , Bjorn Andersson , Philipp Zabel , linux-arm-msm@vger.kernel.org Subject: [PATCH 19/24] kbuild, bus: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:54 +0000 Message-Id: <20230217141059.392471-20-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0333.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a4::33) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|SA2PR10MB4795:EE_ X-MS-Office365-Filtering-Correlation-Id: 316a6cd5-1c84-4b88-cc83-08db10f1070c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: J58lBjCCvKODvg/0nIEqpJ32Wbi/ZtF6V7vw0oY0ZmIbBZXR2EOauEoo7Uo3wGKFOZCG/tsy9SLekuOHuUpoTSoNL1EO1O38Cq5w51fcvJ+bu40fe9GbQsikAo1CTFrMvjQ1HLZbcfBvqronifSHgGvyw1ou76PlKhx8Mduqcrarnd8zthdvRh2OkcLwC6sxfKCT+v7bQwrw4GN45EWXoTSEmG7qBb9MW5smpTBxJMka3K/L6dEiZqBsSZl49Fl1x21L9mb24RscRMKq1G/ZRC5jYnI5j/D+pJhVbtbfCBCuzzCzfUcL/KzcwY+0L/X1LUdCDwOlMBzwtbbln+abXZRn/63Or2VqGJuWIVlL2668BpcHjzHvA1E+PmSFzhYmHJfCJUzfwEdOj80bL4CAUZv7Y6qEp6mvuKj4MOsM6PqO+C92cuayCphHOhe5UT8QQce7mnKBQeNJiZH4jAVQl70fAZ5lLkFAHLekxNkbIiIJoOQccB3zduSowpE8iU+an9G02mRpDlesmm8P0JrheoB5yVDin7v6bwIEh3jcNncu/P7ejfrcEbP3GHX7SLxOnyPqk+Rq0ip0wSxIV5igUSkmDO5emc/4m1DI9iJF9wUYgwMmEDdSNuIYxhg4D9XzIMUsQekIAFfat3pHch40AQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(136003)(396003)(346002)(376002)(39860400002)(366004)(451199018)(2906002)(44832011)(5660300002)(36756003)(8936002)(86362001)(41300700001)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(54906003)(316002)(38100700002)(83380400001)(2616005)(6512007)(186003)(6506007)(1076003)(6666004)(6486002)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: aUMGLruPqockEyArLmsbF0uZJclgFMb2qO9hqLJ9WnF7dyVd9GmlJPC078PgjrggaerTcHZc8E/qNLeLRgVjLO//Z9FNv+RPMbfGeCM6u06bD/c95da+p5tVNVdaO4YvHVfGkSEjFctTa2bqv2vcacTn+Fm1rWSTLmeZ9l0izGkIEHDi6syY4svoft/Gd1oIHMDwAp4io1hnFl3BVLcfUGjcwHjpTt5Enl8nkDWEyv0ePYKLMjmB/LrzUBg+t/QpmfkkKFHRwIUHsXml8kzsRUyh5H9xCcKcot1vimgH/9prqG7zmvOgoMSETbqusMsXz63SW6tuz5lSyhcy9nIcuq2QdYNeEY7+RCO1f2E7kVfNL0T3+lhIv/82x7ioo1gwe6shwigi4PqQBRzdY7y3Mp3Xmjlkd4p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X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 316a6cd5-1c84-4b88-cc83-08db10f1070c X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:12:39.6062 (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: rzkkujtkQneh2LLKn47Kb0dwq79P9r41HxxpyFdwS8TrD39ZsxBj8pjVNqMwI71AEzCW0MZRIpxNz7V+8G5Nfw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4795 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 mlxscore=0 adultscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: iFPSqwNDe2gjk9WZATUgMVzhb_OHG6mh X-Proofpoint-ORIG-GUID: iFPSqwNDe2gjk9WZATUgMVzhb_OHG6mh 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: Andy Gross Cc: Bjorn Andersson Cc: Philipp Zabel Cc: linux-arm-msm@vger.kernel.org --- drivers/bus/qcom-ssc-block-bus.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bus/qcom-ssc-block-bus.c b/drivers/bus/qcom-ssc-block-bus.c index eedeb29a5ff3..3fef18a43c01 100644 --- a/drivers/bus/qcom-ssc-block-bus.c +++ b/drivers/bus/qcom-ssc-block-bus.c @@ -386,4 +386,3 @@ module_platform_driver(qcom_ssc_block_bus_driver); MODULE_DESCRIPTION("A driver for handling the init sequence needed for accessing the SSC block on (some) qcom SoCs over AHB"); MODULE_AUTHOR("Michael Srba "); -MODULE_LICENSE("GPL v2"); From patchwork Fri Feb 17 14:10:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13144943 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 06C4FC6379F for ; Fri, 17 Feb 2023 15:09:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229999AbjBQPJ5 (ORCPT ); Fri, 17 Feb 2023 10:09:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229844AbjBQPJ4 (ORCPT ); Fri, 17 Feb 2023 10:09:56 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E75046A2; Fri, 17 Feb 2023 07:09:49 -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 31H7hw7J020119; Fri, 17 Feb 2023 14:12:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=dJuqsT58RIQ5Qc8USHxfhPBXL9fWm9i93SBZ3u2eyXw=; b=gAjcsU/2BhFUvhSvMJHvoLwHSgfaosM2lqkP2x7xmSuGoCLJ+i8VyLWz1N7AutbL2n8L sPTP+VPl2oVMfo6T6Sth39LgnoE0bDAZFylguYGNQ5Dx1BhjDlDqjGT2GQqmibpKInvQ r+1H1H8NIKYowatI0rMtFvE26dztFE3Y4K+jsxDppRenckoSQoE9C2tjqdwsiOc7/Ulx 40jz7jr37f6EEIXGfFMr0VOkrQZ+cNbSJbIK5ehr77MPbc0PiJwiULuYI1VechAZoXMj tTF7Kpoa+fYyiOK3w41OPTHB2Jh/YuMErHcUMj0onUJG8XvhlmlTOSJ7TzabI4HIHXhE /g== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np2mtny88-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:47 +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 31HCAMVl013890; Fri, 17 Feb 2023 14:12:46 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2041.outbound.protection.outlook.com [104.47.66.41]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1f9ujps-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g/Ek/y1w0JXe1dWDEWA/rMFnpfG32gsPzmuEQ1S8OJPLd/gc3mH7eWR4APu1LpjjTrasiZeaN93yKPMYWakSVC+GKefWLNEjxUWA8jf2vBfqanAxt0XInxKiXI3PaJm9XU73aMJ56QZz2ARfACUTOf102tYDquAhTAsH4N3NYfiD28lfxel+R9tGyUv0zM2zEy/ecfqjxUeCc/Dvt1OXe6QbUYipn9AO6ZXSoGbsD7viQVNaritNz2ydWOtgXTFtYplJyfZ/shx5s98/5/NHI0ciTTkYkjldfZQysnBaOfLPjpj1zDXakTZXAgMffXrlb68EUKRZIr5v/OtXZLbUmA== 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=dJuqsT58RIQ5Qc8USHxfhPBXL9fWm9i93SBZ3u2eyXw=; b=AQojhdB/XWO9aVhH4bnsEK84m4QIq6aamOGAQYuggWub3A3KEJJ+mav2saVH7YlOkoGf2cihM10zgW19oHa2PMMmP+QAJBc5cmJgkLovN3UJLVvIy5U96I9Ozm/fnGxcUdtfYvWC6L27kqep0vi/U4VY+VsrvwqJz4JkK6XiXh9CKSC6fXfacxpHQQT8L7U10J3KA1Silew4xZgqDeTUsDnjEkcnifWg9FooTEY/bJGSGZxm3DFQyYHFUDlATKhqHV+sSpCNbujwehkRqnr3QY7QNKH6bg2MM6w89nCQ3O440+pq1CVeJk7fMsoEOus+RONfOHSa3uPl0d0dXqeKUQ== 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=dJuqsT58RIQ5Qc8USHxfhPBXL9fWm9i93SBZ3u2eyXw=; b=PZox8X+OuOfN6mD/fiA+BaCYiTrJFk+J7jwUbQ6vUXkdM+ckvfEYfu7k0kX0QbmLhsMtzxTdXsOhcKjo7qi5za028fRDR+lKe47Fv0l6mQ8mcBa+EwLIOa79IxldN+TPdmtcJVrGFQBMPvsRZLqah3RF01kAumNHs/zXoUE4MHQ= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CH3PR10MB7493.namprd10.prod.outlook.com (2603:10b6:610:15d::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.12; Fri, 17 Feb 2023 14:12:45 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.006; Fri, 17 Feb 2023 14:12:44 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Manivannan Sadhasivam , Linus Walleij , Bartosz Golaszewski , linux-arm-kernel@lists.infradead.org, linux-unisoc@lists.infradead.org, linux-gpio@vger.kernel.org Subject: [PATCH 20/24] kbuild, gpio: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:55 +0000 Message-Id: <20230217141059.392471-21-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0332.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a4::32) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|CH3PR10MB7493:EE_ X-MS-Office365-Filtering-Correlation-Id: af810aab-364e-4ed6-14fa-08db10f10a33 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +XarRWxkEGq8kfup9ttt8JrWsZ3fxlCmFWqj4A6UW7hWeCwSwDaKXiwzhRBHjM1ALzyHxV8EZK1k3Z63gB/MCXVhrm1mAMQkygrfc+kMQu/KOmYMM73JfPHZQCLSibuVJMRiqw6+uxoGp/VKu7NBl+0KFGp0Ae/jsR6oqT8tozUGrQe4cfTPnzcEnOB9o81drjObkQ4Nqvi/84ntZnW9BHQ7YagdX/7r087KdFhsH1ujR5JrfZI9HZ18H9/jqQn8YQ0f5cTu9MbfZO0pQD2PDMOOW+sZ2L4b3R4saJMi8HpMybAychKJWdnhvXKaKX5e08NPFQ13NS3XgaF36SfQ5dO2cpoQtmNMbHEcSNVqms1O5sLnlNM7e2sC6GQyivmZkdlvWxwgVw9GLFmM9y/p022H0+e1rYDQDOyCzXfy1diAUpjGfibQbsar71z/5D1vvKisJNcUageOTn9wh5C5f2gTKYWBuC690JBFBMUBNeHgYh8BqMl6jX7bKFIiZBGyxNs5JJbsg5IqpAOXIpaCUQXsG0ybI3dSRZkN24eUh8Lgeg+jX+32b+uMCNhAQO0QsqJBMbuiuZWIm0kmwoxVV0AatbN87rt7Jwpt25l/UoOYc+lykwe+wYmFMhS1LKABDrQwdXHXxRuBg9Kfwx18Bg== 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)(376002)(366004)(396003)(39860400002)(136003)(346002)(451199018)(38100700002)(2906002)(36756003)(6512007)(2616005)(478600001)(186003)(86362001)(1076003)(6506007)(6666004)(6486002)(83380400001)(44832011)(41300700001)(8936002)(6916009)(5660300002)(7416002)(4326008)(66946007)(316002)(66476007)(66556008)(8676002)(54906003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: EFWEtZgHJPkJ1se3qD+1B3WsGBa3eEtsXnPJoQkWjuuT6MPFktkzJpsDNWNvK7w1dr/Spn0TK8lfakyCwnR2Fqd1/PhQrkc7TdqCvz1JCyGgk+o7J4ZbNnxhB+M/1lvqCu5suL3CQ6RO6sPe6nvGPXNeLMPNLQIDtpjV9MQcIUKzBWyk8nqvAHzWVfz0VTSfaaMLiOAeHZjR36T2bhjz7QE+b6JtlBlQ8lulRD9Spakz5OmSBcfgIIxxSpxwdwdaC1h3FLEhdU2364BtsCL4SVztOOfiMf+Lx/t5tCQKQO3L+++czkDB2L7cW0MMt9GtOYQ3GFzKVSxyA/UssjYsEWDIpw/uz3anWRFFJrT7Sg7Hngvf4j8pstYWSs2InMGpUqz6LpVGMrGNVobzKS6d2HVSObvDniiVFh+knvXMCRtgmHb7bUh6Wo3yWCboEbDqgg6HsLbhVGS41UtPW0VCnhIpM54RffbGmMBuuX6ejB1y1lPOGdk4eZ2/0sVA0OnPq+Wi4y8Cq8cagrMTgvwZ2/jhYwoNjKVXf91bbA1QMDkLwpA8iJFBorEeD0pnmXRyLMIslKt9ooVREHsDRtnQXP4UWhZQQ4gbPYcsJUhBFbF3nqgP7nvxzD0rVIirfU9gEAjGVd6lo/tnIm1KuH2orFPrthQ2HNgmiWE2QSFLE7Um9m44Ev0sq4eWbgoq4txr+r6B44NS30rzaaGsPvPtajdenn2TausHyyfzaXQPtR7Scv3Q26r8UwxnSsjWorKirJ5MU1h5rIea3QJ6sEM6+m1SHl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B4KHNlLL98OqNT2Y6xY9k9WU557BWQeN2YTmlK7bGoXuprK6/jlsX8idg1sxXpV3WfMJOCqoEbPYS9rYQfQG9H/8pA5m1OAUVlt5an9NfHK8RthX0FSrPQHc3Nf0stnHRutrsXmYzeafv/TeVKZKmMkMs6t6N/Vs+ENeS3fcII21AlywXolFr2MuQkOMWEsNLj/pRrOhVl9yg44f8z/uUEQ/C/mAG0BNk/Y3Qajfyryu4K6al89zBuPU0gDFpthoHm5cFqsz9jVlUa0DvagTYkeUbXRmzfqhrgyghn3ZvC/l3B2B5d8ZW2Lfzrlqk4MstowMdWcoXdaLOkuDBlFxoqXC0qiTAZckhiOFuoUWzjh2Qnyza3wdF/KtYa7zdmA1VEwXweOgizlX3NCLI8lFtWXD4m0fZD89NsdghuWKGhpBhDd05NUaBFRt5y0wiIjfvzjNe5x0TuFmnotiapNwb10rEFyshHtTAN0LzYy/t4pwkpHaaGGYjmJI2wnYUnS5/urHH0HkKmbEw4e+MmJRuk3vKvRzZ4FOZJ84VZSRhkjWa0Ue+gxFChqtYk9WOP/diw1UudBib84cpZQUK70ODosueauQKbpwPGDYFL6fRLTGADINktmIzZ8joaDqtDim30STBjVrIjNJTviuYHVr1TCOJBo12Gqnu0MQgjkRRfLXoPJSgDzS1O1azirb4Itz9sPdXqgBnDXjrJDNqH5ihfC5s7W0AbN8oMhEsFw598Ze3w+QUZhFf6RM3TigUINsCkOXh/N4nLo2IHuK+HOBg7bZowuZ X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: af810aab-364e-4ed6-14fa-08db10f10a33 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:12:44.8746 (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: ixoK1Bj/yB34CMG1PVE5+TY/oE/DBZG9fVXvkNT2iyy2FKUh2AqWF/g2GfepcZzOqZD9siifk3H4MQBXjSqS1w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR10MB7493 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 phishscore=0 spamscore=0 bulkscore=0 mlxlogscore=999 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: 5x-GGrU6o1D-b7jI-35p13ah1EO66Pd5 X-Proofpoint-ORIG-GUID: 5x-GGrU6o1D-b7jI-35p13ah1EO66Pd5 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: Manivannan Sadhasivam Cc: Linus Walleij Cc: Bartosz Golaszewski Cc: linux-arm-kernel@lists.infradead.org Cc: linux-unisoc@lists.infradead.org Cc: linux-gpio@vger.kernel.org --- drivers/gpio/gpio-rda.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/gpio-rda.c b/drivers/gpio/gpio-rda.c index 62ba18b3a602..ab4137de5889 100644 --- a/drivers/gpio/gpio-rda.c +++ b/drivers/gpio/gpio-rda.c @@ -286,4 +286,3 @@ module_platform_driver_probe(rda_gpio_driver, rda_gpio_probe); MODULE_DESCRIPTION("RDA Micro GPIO driver"); MODULE_AUTHOR("Manivannan Sadhasivam "); -MODULE_LICENSE("GPL v2"); From patchwork Fri Feb 17 14:10:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13145045 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 5DCECC05027 for ; Fri, 17 Feb 2023 17:01:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230254AbjBQRBR (ORCPT ); Fri, 17 Feb 2023 12:01:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230235AbjBQRBN (ORCPT ); Fri, 17 Feb 2023 12:01:13 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E26AD6A053; Fri, 17 Feb 2023 09:01:06 -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 31H7httA012659; Fri, 17 Feb 2023 14:12: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=rr1ZGAQU9YiWfGNY0woRgg/KbfJFaA0oDT0/ka1ECGc=; b=mSloWBlT8ZxV5HIKnz4XysDbFZIhuZ0/G6VPL5vkGKJQXhu4JBzK8/IjANOFAPH4WgMR LrN3gZbLmM61ltlt7MG5fo7P6951J+8L2UcmFwA7Iwkxg1MtPUgdnrPDmt3Tw0JYINgF V3eG7r+MhF2vyq4zJlZiOSNgUwtduuWMcwZw3LOFUIk7EPcoTcqkuNZzXjC5edUfz8IM n8gqHAeHGbSn3BQZkVFiFLwo0YvKavQ4Ls0a3WPz9cdofLAZdoWro/Z5iMRw+yspDUhk yl8HB7q9zp8nAt5bVkzBNHDy/hDId0Kl1kcYn7xyDlTSPGUJFAbTcISt0t54FCuOD93K 9A== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np1t3nw9v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:51 +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 31HCuG7q012132; Fri, 17 Feb 2023 14:12:51 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2042.outbound.protection.outlook.com [104.47.66.42]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fa50gg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dWRYTTIzeB7+mBjRkENLBTPqrv1jWIqE9Pn5Tgb33h43hVwZPGKhqjH6xG2A6OonYVTI67ILZvikSxPQX/B18HuBRIAMHGX+yVcTwPIHvtxwDW0xiqm7JcBseHAf+GgJzzZC7hnwjUb5TSpYKthVSAaocDagsWlkwMNvSg2cHeNnLGhKWqjjlkKn1Fz31V+hMWMoZ5qu4/3LxIqQDUsKVOerh1ji3T+01lc5K1+J61Aszza8H2COUIk4jG9d7j9OHnr3wVrDY00RMCaDpepoE2BTDzrArTJN914qcjS3uP/9EXqwBXTxEHKi/ugxU93phI+l/t/ILFZ6rz1gVoO5xw== 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=rr1ZGAQU9YiWfGNY0woRgg/KbfJFaA0oDT0/ka1ECGc=; b=ZTBc6mI34IV5FljJ9igVb06vp0K8OU0qKWSGYI+Yk9SVi0R9r+S1upDnEwWcHM9iv+PGnvycgj0EyWFBNyD17lEVRKzkDXKTmTWlsuN4QznYgv7cscd+Q3cQXRhU0E4oaCPsyhPmODVRXMZ9+ZrwBOfUo0uatWVYKV7ipZsNPYyb62+s/ZLP/vG1FYc+aD98byuw2JO3ab1P210sB1R3C4wiI8PgngLZvPhX9Gli13lX3NCC6ibd+8nvF452pZpMYztNKpJkgxHcTYLoOtHvzhTxmohPaMubRVwpv1sDy3FFW63KB15TYrAsGDuMDZuFyOxTTHiZcT78cbU1mtr+og== 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=rr1ZGAQU9YiWfGNY0woRgg/KbfJFaA0oDT0/ka1ECGc=; b=O8u9j3sgW5wmDb1SMhfxVN5Vke1lG0jSzQXPbpGMF5PlX+DSjXUDF6Lt9tUQYtXn71Xi0N+5wLvHhWjq7d/vZmyD+9TzEsmeND2JmUMxxe46F23CVRE7xPK66J4No1+xKzVD51ee/NxDsnQHG5cjuYPTyC3O/QbQxW5IwBeRniE= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CH3PR10MB7493.namprd10.prod.outlook.com (2603:10b6:610:15d::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.12; Fri, 17 Feb 2023 14:12:49 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.006; Fri, 17 Feb 2023 14:12:49 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Manivannan Sadhasivam , Greg Kroah-Hartman , Jiri Slaby , linux-arm-kernel@lists.infradead.org, linux-unisoc@lists.infradead.org, linux-serial@vger.kernel.org Subject: [PATCH 21/24] kbuild, serial: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:56 +0000 Message-Id: <20230217141059.392471-22-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0011.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:62::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_|CH3PR10MB7493:EE_ X-MS-Office365-Filtering-Correlation-Id: 8515722b-7e2b-4d73-1593-08db10f10cb3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iTt374ODYZp/yyhviCkHPORK9siI4ou2cG8mjGPsgEpcDnPF7ax7JDVJhK6b/2RF0ObjsnFgwkdBW5jCf4xaGAOQYijdOT/EqUkH1MEm992C+ME9whDPbNjWoz9bSIS+Lebn0W68835f5k30iugT7yzz/lcCtK09JLdBadi8mQnS98d6SwUbU19ffE3C8gq8d1m1mo/oaxJml8ZUcS0mUwRAnAIlJeRnZMlB+QZT52rrHY04JeAjaq3u8AsBgJW1XcvmcL2lfmF3CSWU0PbQM89XYJShGIKeahTtG8meCj4SsdpQLntklBq1BIkmtzCsp4XDXOQSEUJI2RFP8bXE42Du8IFWGNMXMyWvvG3DNylgpyyVdIKWQqK+dzb+Tdhk3uSoDZbwbCsS9Zql2NxQbagNGZ0Jh6frlAa9S7697ZcxVDqxfYRPl6L/kEHpfCWv4nvELgwL6+0+1RLub7EILbt88eY08ygkOEe4edjtHjmFcM0FeJ3bBoujeC1xesIGmEEDcNrLFZTGDc/aIE2FP8eBvrj14cIFNJPTCTDzTOo3wAz03J4kvsNWew7Jt5dje/H3IVMuiuMbBAj2Loln26TF4tz3wJGaTNwzT+7FFGfeGZIlpzIuQYr6biW1S+r/0DtXNO8PgPCNChdLHRsasQ== 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)(376002)(366004)(396003)(39860400002)(136003)(346002)(451199018)(38100700002)(2906002)(36756003)(6512007)(2616005)(478600001)(186003)(86362001)(1076003)(6506007)(6666004)(6486002)(83380400001)(44832011)(41300700001)(8936002)(6916009)(5660300002)(7416002)(4326008)(66946007)(316002)(66476007)(66556008)(8676002)(54906003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NM95f82BvWi9OZCz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qPFI1/vpQsU9dtbU5xwOhcVI5rExkgNDm5Booy7bVVRa9QznmqwGL4ImXWzL7NImboaEFUYQtbUpt+cG8OnjMnzNrOw9YrojvEEDpDmm9+nO0fY+HkUffqEIOsHo3JaIYlRmOWGljrqgmMjngP6jnOewgf4nzKJ4GlFMKKvcul2CaBt3F+ZWaxjkO+3c49BF7uQKLLkDTaNPow5JgbY1N5ShFAUQvNgxr31wM949jBs2KHfyde0sVyCjX4HdWQEO/wD65yB1IxKaGFcLyNn9urjFRL9BF+tgBTJeizP0GffaBtjBjqgeF4lKiMdFvJE6zHTMOIiUTP5hdSStuD+dSa96E55KVNycJBjqloShL0UZqCufYBrfLv9UUlhAGmLcfc1OAXoH/T3Kg0sIgKmN2z5xAWF/7x/z04QYl9jFj5+JKqXwyw0yhHTklQd7zSVOedEx8ILO4G9L+wG5XBG4ieni+oOtEAfNX0FlSUGndohHodfH6OdfPOunlTeL7kT9PXzf X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8515722b-7e2b-4d73-1593-08db10f10cb3 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:12:49.0845 (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: ZoNsRLuCmXdevqgb8UNXg+Xy+M145Sd5EzyFPbmvZNlVSszvRrYLz2VItXrCEktzl8blk2izoxr4tawRzfPWpg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR10MB7493 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 spamscore=0 malwarescore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: 3DPw333sBHacy_T6UDgHWv3YhpRtwaWr X-Proofpoint-ORIG-GUID: 3DPw333sBHacy_T6UDgHWv3YhpRtwaWr 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: Manivannan Sadhasivam Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-arm-kernel@lists.infradead.org Cc: linux-unisoc@lists.infradead.org Cc: linux-serial@vger.kernel.org --- drivers/tty/serial/rda-uart.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/serial/rda-uart.c b/drivers/tty/serial/rda-uart.c index be5c842b5ba9..c3b29d124759 100644 --- a/drivers/tty/serial/rda-uart.c +++ b/drivers/tty/serial/rda-uart.c @@ -825,4 +825,3 @@ module_exit(rda_uart_exit); MODULE_AUTHOR("Manivannan Sadhasivam "); MODULE_DESCRIPTION("RDA8810PL serial device driver"); -MODULE_LICENSE("GPL"); From patchwork Fri Feb 17 14:10:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13144794 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 8B19BC05027 for ; Fri, 17 Feb 2023 14:14:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229887AbjBQOOX (ORCPT ); Fri, 17 Feb 2023 09:14:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229817AbjBQOOV (ORCPT ); Fri, 17 Feb 2023 09:14:21 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD6806C009; Fri, 17 Feb 2023 06:13:53 -0800 (PST) Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31H7iKOQ001690; Fri, 17 Feb 2023 14:12:55 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=LhahvLgT/JAHXU5J7F1D7UmckdyQvrSSrMy0xssoq1g=; b=a49MC10V3Gp9lBFEYrYAqRl1QZzBO+WbfTkwGeIfA6iiqGAxYpL9ICprM0K2KFc/bxgI GtPnfHAbr83ONKjOS1kgwzN/r4vnQEDzjqba/kWdv8BVdBKhy63bo9C1kxSjAudmDZNx huiWok8aypJrdI0TT5m+FhYdkSXdzItpbCd0Ih1Ov+UeduqtUJTs9Upf3dYK2GNdbRAW 3RgL1WkSd7PW0JqWOeRa0LoHkbZ69Wbak7CAud+3om2K9FgrgXnY0UUydOBmqLXkE3w9 mzm3TeyiudEYt5GpE/X9yU0bb5MTJQZ/L5aRZ6Irbx1AC9wZdj61ErUJ6rlglmj0Px80 9g== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np1ednum7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:55 +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 31HCabbc013821; Fri, 17 Feb 2023 14:12:54 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2048.outbound.protection.outlook.com [104.47.66.48]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1f9ujt9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bO13XTnFFfT+Q//NVBuceHQBS7N6o2NhSdmKx8UlWBFvVj3E4EWrgZX3wVkgghT32bVqitQNcPaNvWY14Dk+0pAJDmEB/D3I/fz86irOxJtanDtAQv5LS03FThBaCzn9V8ENP1eu4mlbBxKBSvle8GDr+woTz/z3Fgw/rUS9h4z/gusch/oQkGcQgu/H7nSot1jXuPaGoZeguYq4HTTnD+fCyLeGqbe5QBi6MnQ00gkYmz74PA6c0ae81WouZnQBZgIQs0/vUM5wdemkDfXEqtqcAizI9eOIflbIoVz0uCMgQCMkMK1GotzJxUUYK+WVEw7ZZrXLDweGnkjYGl6T/A== 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=LhahvLgT/JAHXU5J7F1D7UmckdyQvrSSrMy0xssoq1g=; b=ObXQs/eDcsfEPXPeqalnKRD4FSE/AHzxWwrSTaf812Xq+uGuCngGgwjy/OZlNvstarS5qZNyzieIK2YCwV8Juh+EVYViGQOmLeLtsFz9FCyKzJoRErkIAJlrp6GFLDZ9OaZfgqRV2aTjuTxbTm4QL5w/1XSyDA8fglf1pYjIB9iZX0vJ0cNjeELQqQuR8lC1PuriWv96MnsXMGUIyttjN1GHlb1ywVvjrtgKWnclnyI8Ys8ZIzchYLv9DUXUszriuZutQ1Bk45ymkK9KBMK4SVtrWmupMs3bXlMZM5TaWaD4USIwfWpHPSQlL8BhZqwQfSpTTiezmq0xJTnWksLfgQ== 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=LhahvLgT/JAHXU5J7F1D7UmckdyQvrSSrMy0xssoq1g=; b=pO3TXt2QGdzZVVcC6EDT68NHRhwzfe7aS+7+7XsIyV9cAnRX98X3Xu8PMlfUp1BvvihK4HqfertGQvKxyOND9YFTqSlWbTRO37JGxEu41McFbybw3r4Qtpt7E9aP/sr/VSLf//qQNXLgpp8WZqyx4WQmuQLScY2T8Osg92YoKF0= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CH3PR10MB7493.namprd10.prod.outlook.com (2603:10b6:610:15d::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.12; Fri, 17 Feb 2023 14:12:53 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.006; Fri, 17 Feb 2023 14:12:52 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Krzysztof Kozlowski , Vinod Koul , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, dmaengine@vger.kernel.org Subject: [PATCH 22/24] kbuild, dmaengine: s3c24xx: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:57 +0000 Message-Id: <20230217141059.392471-23-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0022.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:62::34) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|CH3PR10MB7493:EE_ X-MS-Office365-Filtering-Correlation-Id: 4a4d70b2-5f7c-424d-0aeb-08db10f10ef9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3t3C6MaSv886vfcrmgap4KbPhssxuPsFbIC++VdhtPaPCt4OtXsoIJU7yANg/7b7FFEcxFrFVPPQUVxLUHKUek2AAuvBAf0uHonw71XLlGpzLdvk/DeqluJRHXxpjNcih2Hcc1vUC+zMbMxK+OfZr5laJqoY8PsDFCoqFUbT64iRxdJdgllXhBFx/XhiSJXjZEAU85zUimnAx2ARH+LNmXj1AcxX0hDOh/S2n+o/GRQw+oo28jnWK7sQMJgnNhqq33eSDMd8MLzPsD+51rRw5X2F39Z7hLBjXheb8Y05bmePgXotbet7M9N3x5dv11ltLUtPstvizMKs5LX0kS1kGOxmNGKEYFFV4fvEDWY7NlVyL9qtZhAMze1RPdl071zpc0aZVnmTyyZ2CVYNpfGnGoXHdcA5GAnFjSnwjOejY8r41z5swIad9/p6OBF4e6KafmNtHGyF2w0Mah6bYA+Ln5EQSPegVP+SBJNO/nPhOUgojswP9hLIWi7nQxK3EC9IietHPdj06SxnLH+L06WrNoKf3cVEbQIe0Mtt6y+GqASvYNKlr17tlyWcQ/22BW7jUkSdvwIXfqkhdbVp08l0G434eZ6cFaRby8uNBUyCoQPMdP7HoiTZhjfKW+kVqVs9GXYbLVs6Xg1MbrMCp6rjSw== 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)(376002)(366004)(396003)(39860400002)(136003)(346002)(451199018)(38100700002)(2906002)(36756003)(6512007)(2616005)(478600001)(186003)(86362001)(1076003)(6506007)(6486002)(83380400001)(44832011)(41300700001)(8936002)(6916009)(5660300002)(4326008)(66946007)(316002)(66476007)(66556008)(8676002)(54906003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: xRrCqxyYpbQSr0Eie/P0sWWBMIjL03XlsjoSycXrvaL2brEQRXKW0T3n0gY8Ssh+qIU15LeM0vVy69fHwT0aXfttrSo79pJYiHhQzfaiTP7fyK8Nc9EEO4lZS5InvAfF2ahUVplIyYqtRRWiMQOySpBtYg49g02Jx7ZiGY6Fld0CvgAfAmBY+rjK1tK0Z8zbsObRfOqDFT9vFxk/LW5nwaSUZvMWUL3jYk71EkVji5g5rgYl9HV7pj5Puo8kIcCnvQmVUxY/0SV7C7PC+psMYpv+wsA5GtfUNfIFM2ebM0PuuMdXU/DAqOE2xnzsVOOJUOdqAvI+VzW2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Yq3u5zVgEptd4ahm7XuTsSCwzY/6Ptl5SRt5ApNl9EneuNPQfQt5V6+TN/a161W89ktgJgr/Vk6eGtQZMtE1k8Ag8YQkuFM2Ng3fM5dBsKEbVJyEmJNHGMGGXH/c2rEoXK06qQpPzUy4uPiQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4a4d70b2-5f7c-424d-0aeb-08db10f10ef9 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:12:52.8828 (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: +0lfBjaKWlkFS3acEHfaCvATKX8usUVB5NvhdZceET1KLJq2EqRbhUiqGLOvaPTiJMGqKPomuaablF7j/I8BIg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR10MB7493 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 phishscore=0 spamscore=0 bulkscore=0 mlxlogscore=999 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: PBaZ2FbGFb8dxqs9OyAUAXbewTG_p4o- X-Proofpoint-ORIG-GUID: PBaZ2FbGFb8dxqs9OyAUAXbewTG_p4o- 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: Krzysztof Kozlowski Cc: Vinod Koul Cc: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Cc: dmaengine@vger.kernel.org --- drivers/dma/s3c24xx-dma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c index a09eeb545f7d..48965baa2fa1 100644 --- a/drivers/dma/s3c24xx-dma.c +++ b/drivers/dma/s3c24xx-dma.c @@ -1425,4 +1425,3 @@ EXPORT_SYMBOL(s3c24xx_dma_filter); MODULE_DESCRIPTION("S3C24XX DMA Driver"); MODULE_AUTHOR("Heiko Stuebner"); -MODULE_LICENSE("GPL v2"); From patchwork Fri Feb 17 14:10:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13144796 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 B5048C05027 for ; Fri, 17 Feb 2023 14:15:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229874AbjBQOPD (ORCPT ); Fri, 17 Feb 2023 09:15:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230103AbjBQOO5 (ORCPT ); Fri, 17 Feb 2023 09:14:57 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1FD9474CB; Fri, 17 Feb 2023 06:14:24 -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 31H7hx6m003591; Fri, 17 Feb 2023 14:13:03 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=8BSVU/lh14JvPb4MaBQg/1SLhOj4iLcZfFU0WZgbJHs=; b=Jfb2TPsZnd2gaC0L0qYUWJZX1PW3ZOmTYnpdhgbKBrph5fBZkzmbPcrL2OyBqkH7Kb6B 5tL/nauiAKae7D7jAJ/fYskPUdwJPAiWlFaZKmV9lbrC1bV6N/YV6NxyOggvjPFrqyKZ kQxhFhku+J96fjpP0nWWaSRhIuDUaF7ka8i5KXuyomacabw3JCXcwOXYYfIs+3hCs5FN DI5P1BZsw49j6TKi7Sy4v2j/WdMIG94Gf8d3XqwJZmK/n5IQ4/1UoCe9Hgcmw9qodNHV 21fWiqnSGMnzJqgKqBwerDueinuJpdp6ObJoA92ZaqSgEJc7Y3/FQOBxzdCoIVc5RNvb qg== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np3ju5ybt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:13:02 +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 31HCxSo3020169; Fri, 17 Feb 2023 14:13:01 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2049.outbound.protection.outlook.com [104.47.66.49]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fappk6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:13:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IMnpS71G7h4QYrZ5eIZM9aZNMYyMxiECutPuGfB+yeMJ1rD6/XKPQaE1yMXmZWLkrQKE/bsdsz1nRBoLLaiFjSHB2Z4KwCmioGXF42xb516Dy7csqLQ9yv2FxOwJCSxtCX+TM7OyQVWklMhc44ktwRteHcaqonNSZb/rt+f/zItE8MFgmbejOImXfUJHYOZJYf4ctn+B8cWPfmBlH50xVBmeNCu7wgfVV0l6wHIrrUcUPUpVpZE6vNgon7AF0rgJrVax6eipCsM4sSDiVQdnAX0/+vVHM66INupwARxhZPCu2W/YksZXjVl+UgGjIjXs7VWn4xd+7Leqd+i8CmNw7g== 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=8BSVU/lh14JvPb4MaBQg/1SLhOj4iLcZfFU0WZgbJHs=; b=YuWrRw54jmxepba7aKRNNB/2+BrQ9yTebvpuOGuR+bFdC4WuuN5jQojBAFG7zs6Y+Jc6opcSNIRdgN5dtUGxKfs25VfSl28iB3TNvjFrYz8wqLAP8gOSkkqBLSJpt47hyo/i3TY9sj5mRbaMP2PS4pVB87g871Van+viat8swHKCCyyT035mebivYJbdsvSSr4ozxnpbFqFEIJTXF6+80i7PPXmKUPyu05/EDC2GixIfPWVRY8M6R0A05XzwEM3FK1SdzwcWg9/7tQGnchVGYs3bDis2rfiAgbn67dcR9lWxwEE7TvtuXU0fUuc8NI4mpu97rGk1OfhpmHbrdUie7A== 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=8BSVU/lh14JvPb4MaBQg/1SLhOj4iLcZfFU0WZgbJHs=; b=XgKTONZV1q610FiHmhu1zSr15dw5qt9EmPlTDJy4f66eW0AxSLOngG5K4igtSdrLfZD92mmLTtSabm3Ew/KU0EjYAsnY//Iqyl7eBBAI53gpcdQoJ30GLMLVnrkH5vBmOTXUjx0v28Tu6pbNGa+sFXbrdS4JYl+YOOKe9Hsrshs= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CH3PR10MB7493.namprd10.prod.outlook.com (2603:10b6:610:15d::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.12; Fri, 17 Feb 2023 14:12: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.006; Fri, 17 Feb 2023 14:12:58 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Dinh Nguyen , Borislav Petkov , Tony Luck , linux-edac@vger.kernel.org Subject: [PATCH 23/24] kbuild, EDAC, altera: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:58 +0000 Message-Id: <20230217141059.392471-24-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LNXP123CA0002.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::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_|CH3PR10MB7493:EE_ X-MS-Office365-Filtering-Correlation-Id: c81f35b9-fa43-4c82-2fca-08db10f11213 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BCSFSPJ/TY/v7v2VhNCA8sEWz8sCUWbfuT19wBGBX/GdSRp+jTXQLMGVYLwC00yZ+VY+CZZ5KjFmndV2T9OkYy5u9NupnNLzhJVcOLhzV2VFPpqiduCO2XAvxHpUMCPPs/vxtiiDIs05Hg/AzzdphJyqmcDaY1Ij6FRUyCBU+e0ISV9hb7vPalusWICRg/JlRAmfHlQf0hyeWq6MeA7kYCVa0+J6JMY1jk9BWZSYAY+fgL4PWJpx+UqRX+6FfmKqhseLK6O2M8EusxSQfBp61esyTO67JkfDZTUTdZgR9ksF6BHCmAtAUgqANdjqRYo8Wx/ahxE+6GRqEVFvR3HUYXQBjWTPoci7jf7xjBjQ6HZh40I99WxCpIewS6CPgmZKgPKAf0EFy8+zYlOEmKgKj+CyBtFQpoi80zlERSNuj+0HqNE9NXQm3ZZuMS25fkflKr4CW0b1TT7h2kxGJoMcmTnyOG4h8qWF4wSjNx166lS+Nqv5MIjt82J0Mp5Gl0Het2EaIIz+cU8gDMcEaVNExygL2KqF0c4I3lrSbuwTt3u5gyxOKZDKBNd9VPk2HLl3F0lVj0RLFFnRJRMVOZ6NsX4VaQCnFpNiCosXxSzYLyKFRfZEAuXY9t6xRXitw3eNmKsUpjDh5X+cWotGCeoIMA== 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)(376002)(366004)(396003)(39860400002)(136003)(346002)(451199018)(38100700002)(2906002)(36756003)(6512007)(2616005)(478600001)(186003)(86362001)(1076003)(6506007)(6486002)(83380400001)(44832011)(41300700001)(8936002)(6916009)(5660300002)(4326008)(66946007)(316002)(66476007)(66556008)(8676002)(54906003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: CChWRFvatxv2cxbxddgqa4M6JdGH21kNPLIUDmIxGJGUlsdmmMoEEpG75cBhMbQZ5Sap2s2pDZQ9tTY4Ez3RV7gGs9gTvDxtgiHafEKGb3sKJm4HKZnoaOWuqFo56sicWTdUQRlekxyPZdso9B6OIIP4IdpTEUK3V9bc4XfhExbwcW9bPBtQtsAX8Gt9kz/ewalUiX/gOlRSHPNL8kla1bqMEFnv6YeZjbKclIufSK5TTwT+RVN2bpBdnAvZ6bG7m4syghtqloL6N3gRcbFMnrKWQJV+EYH/VckDmCl8avMBswucvRvmzfdQKx6DEk/s0UaqIUhZQmX2MBMObl8Jv0y+0mG93pFrJ20qW38/XMnvMUqrWtAmIPvW755YJZiyZKsWJ9mUVBfmtKsGPmn9RnKmmBwBjsvWcAPY5BuUXLJduLRUMPZcFtKjymfJAspfDMGQeFyVjYuMJu6rD/sLu/izfcit7Jt97MMy8oPB4bNRAZgs0GQx4Hkuh/k2dJm25ANiMcmeozNskLJeZSdE7Y2ISK3SJ5zPfoiCmeavkFIH7aGaLQl/xTd/IoY5stsiwTRtzKOp4f5eO7Qi7WKrNqnf6dyZjfvqGx6jRkhKv4VJjyKgSwkGx+h8KC6ZMQqUwWzRY/Czs52c84UUU5T5z6IebKySDo6jTxRvLunWn2Xfu3C/T+kvrg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cAqDXtBATxUyndZ7OvEwBwgrai+wnk7X79iQm5X11pu0nCg16eIXBA4puu6nY03oR/K6Yz963B5Gd0W0WtaBavmO27km3KTXTH+MQIXYtk9Csw0AUfzJKnpt0Nh5lwmcUoOawHLdFg3xzfzhKjlwsI1eT1N/iKuc3LZWSz1G9HNgp8VkaOquiQ/HPbRTRskNFVV0WUcvuV1G6Pg3YaLyCKCUuyqKbdo6SQxR0eUSbX/RnyKWOZfvflddzlMvqbH44WaTnB1q46OGj+Y5taFWsxTyfH7EZAQ7YQE2ubdqoTWBAMNls7d5Qsujf4iXsnFZHxvLAE/6KAq20obUHHRmurGpHoDejdqkOjIB/4zWd9z09OyiOz/XcQmdD3QAQTtT3gqiXhUZQGhmAB+hrQBWDV8M20CURRfCxHzIs/iQEt6bbdXsOojA8aTiPBsdEmefi4p34VZwu7sa9UIYXN2ZMjc8mSUtLEXzI1YP10ucSv4fisfRTeyLQmjkgR6DRg5a4qnwE8YvGRlKtqU4s5S2EhZnNfzPd81xVIwv4jSHddv4Jv/6WGEAsV64YquFJce1tkoNXMTL6t6sCa+OyZJcskDOzHxt44xKMgudnwVvR2UDVLyM+E+e3oQBHl6Ryfx55l6ejuEV2v4qGZqvmqdat48ffNeSHqrO27Lmg9+EY5TVk6HLhvWGDVqAeF/oSWfKK0F4/wxHLZ0KHfpmTztnEztD0shHImJYCJNXXzoGFZrWbyiHt2YJy1I53OcHxHEuRENRWIxZIxNPAGh9GT9ZypSSIM0eC6ePXT0izXTtk696AnZPw57c9G5TW0k7wUXQVPciAW X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: c81f35b9-fa43-4c82-2fca-08db10f11213 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:12:58.1967 (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: B6bTQfaNJgFxgjNolKTK4OXJftnuwqmR3EI2pdcsbdkEdPzH8oN/qRRtVCVR+jXUdSUzmGAGgNofha4jB4lL1w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR10MB7493 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 mlxscore=0 adultscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-ORIG-GUID: 3vmVQsJ5Wv7lVnofnylIRIapKcTAkDyD X-Proofpoint-GUID: 3vmVQsJ5Wv7lVnofnylIRIapKcTAkDyD 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: Dinh Nguyen Cc: Borislav Petkov Cc: Tony Luck Cc: linux-edac@vger.kernel.org --- drivers/edac/altera_edac.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/edac/altera_edac.c b/drivers/edac/altera_edac.c index e7e8e624a436..ba325d4c5e83 100644 --- a/drivers/edac/altera_edac.c +++ b/drivers/edac/altera_edac.c @@ -2226,6 +2226,5 @@ static struct platform_driver altr_edac_a10_driver = { }; module_platform_driver(altr_edac_a10_driver); -MODULE_LICENSE("GPL v2"); MODULE_AUTHOR("Thor Thayer"); MODULE_DESCRIPTION("EDAC Driver for Altera Memories"); From patchwork Fri Feb 17 14:10:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13144793 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 D1A5BC64EC4 for ; Fri, 17 Feb 2023 14:14:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229825AbjBQOOV (ORCPT ); Fri, 17 Feb 2023 09:14:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbjBQOOU (ORCPT ); Fri, 17 Feb 2023 09:14:20 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 023054617F; Fri, 17 Feb 2023 06:13:51 -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 31H7hfVh027191; Fri, 17 Feb 2023 14:13:06 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=2y+nhWGLCTWW1QbttzryVyMMy8TiJKp/vBox5sWxl/RY2yp4uqQt72qNmqsbbquWWSoG tzqC7i3ALYinhZj0a6O+FMqwtTnNrqJFbM9aLCo/fs6nh1dxpY8QcLCm81kCQ/I0McSf xVQ0Ncoox8Gky8QhHlS7OJDvfTz7FmQU0EMiFhzECKeGhCxKPnEjMGMP6K70tiomTN2d 80PaULsaBWldrI9rhxz47yfrjIWStPYlzlLVLytp9WdnJnYKLQ+o+Fy9NeklNIwlFBPs LJjSEM8xQTNl9iflVoP8urok/eBa55brB8bpYOSYFNx2gh4xcAyJE+4pomCDinMa0/Xx ZQ== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np32cp0f4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:13:06 +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 31HCutxC020120; Fri, 17 Feb 2023 14:13:05 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2048.outbound.protection.outlook.com [104.47.66.48]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fapppx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:13:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WI0A9sj5KUSUC3YU6xCzT7qHAjO6pV5uA6qQEdZnSoh7vCf2KcwAMVI27AARRZ8w+gpyXyDIprAxZZG54lBxPfGHU3sY4flddd3Yn6h+IIu9QTbAEeV9NCcyJDVIA7VspYcOsxC1HZ4y/DLUHLcusG8U9rPMGyNw5m+EwPPucMl0J2QygeJHOLtegu6aZf7rChJkFBxNCl+p4dIDSTmB1yAvNmg5OwUmOV4uigLNCCUSOf2cNdYhjq6Pe0q+bux7heFi6dhH02Dg/hJdRwhCOJYUErC/5Y5nMMDRcPG94z/sRXy9kuXSy9PkajfDH4kay0BREVkEiQ8EdFF2/Z43wg== 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=hDdy6BlsUjWKFapotuQuOXlj89MBvEYQiuKI6YKkrJUO922D6hR4lVZwQWz2kDKcIK8XtGc8mP8gmSJ2YlQy7gzh1mmrpwbjJSG0KAMfkWmgdK7CIGiIilKSMlIRNYk/6X/FZVxsc+6bMq9sbGXczSs9AFrkiAblxZnSxGuqlEwsJ1+GO+MghO0oS9UO5CRGjwKWED5Ws+GAeYb8g8ZSXx5jjuMDksO5omNjardg9fZZuHHsHcu4xc916RvY2uTUSlfIfOSd/ZjzDBEjmBvYd5nSnLi/jdx/DgSTLdZqxQXX7Og+6O1DyBbDwBK0yMU0xZUhYmnzc2oLFmcQD2Uakg== 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=XW6xur4iK6a9JuNKfG0CYKa0yo/aW6c9OcRbZ4ohasAEY99fGw3kbC5J9+z7pSftd9yny8DCEy6aalzOKUKPsejjERXb1iyVa0RQRCHz7S/ht+E+ha+04Y0Fx7BqT1C5z8KCW8DTheFflkbg7ItP+LWMUkcTdhltIdnrbHoCJRE= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CH3PR10MB7493.namprd10.prod.outlook.com (2603:10b6:610:15d::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.12; Fri, 17 Feb 2023 14:13:03 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.006; Fri, 17 Feb 2023 14:13:03 +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 24/24] kbuild, power: reset: keystone-reset: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:59 +0000 Message-Id: <20230217141059.392471-25-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0207.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a5::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_|CH3PR10MB7493:EE_ X-MS-Office365-Filtering-Correlation-Id: adba4090-e34b-4b1b-b9fc-08db10f1151c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5sQv7tqSe8jp3m/SheUK8zZxqcAoWgt1GGpEIBn2WubdBExwuarui9dD4cvXFf7nITKtllbTdjTnDxWQHy22xHyyqj4MYx0G+oxbhN2yvkFchjQ7g9QLQtRsdvs81jUVJBmVpIG5Cn4HvdDyiHeZLgu5hgPZ/Y09Mlrg+9dpeaRvJrzug8Rb3zYd9gTBEfg6AjNvuSNdaAu+vluIkCaKOPWJcrdtUY+HIyqUBJ5DeZ5kp+Q2Us+aajpWF+Xc/jPAubE9jDebNTmwRJ7EPq0FXbJtWAEdUk3RrtcMG5uGFXkLGP7Yizw0fcfgQAdCIPDVA9JCAavIUfK9XMo6fzplqlyxffjx/F2sNViQN75S3uC130/qR8inUbSMDgtEKWGx05PjhpoTb17bCpjoDKbcCJi5z9B39jvy3fu3zoYj4bH/x4afyfnTbLGJ2Ie65W3miyspYpgmesc4YWRsnNAerYeyW73HziZmAHmRuy+4K30oABnBhquRgZYDRo1rEvGQBwLpoHsugHhD4T+mh4ELCp51n3+P9qYm1G+0lgF60gvqLwTpwKtT2acYdGcBZEZDvUrhZgSeIvhGF8z4OVzd3bwPM6hJYY5l0Foe0+eoYX3BXu6XAqOLNfUHbaUE+VCDcBcXcXbqi9IYo3R6i9Widw== 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)(376002)(366004)(396003)(39860400002)(136003)(346002)(451199018)(38100700002)(2906002)(36756003)(6512007)(2616005)(478600001)(186003)(86362001)(1076003)(6506007)(6666004)(6486002)(83380400001)(44832011)(41300700001)(8936002)(6916009)(5660300002)(4326008)(66946007)(316002)(66476007)(66556008)(8676002)(54906003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: GEhrusqNS+tmydOZJTgWyp07rDAGD8tMg8de6LXNocN/3XmdINQ7zyRJQssdivi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fc7JNguFvzsFM3A0hiWrK3xRK6ziB3Wbfcc8wTWWUIUQyvflN+gI7c3msuN9buGvoNxXA80I3ohUgX6p0V3Y03Zawn28szFDcEe8ThCBhg6d97rqyJ5qeJ8VHnLL+BaYRLQ2ZGEDo9lumhScb1QgQDaRBr0bl7M382Pemxihn9QIkVnOJGF4HM/F4fqYuGqGuUNtptKeRrjNqwjqOKhMeLmAoddrm9QZwgVvLSq1JJC3un5RcIjcLBr/aJ58HVtibackhphD/0A0UtvD+MlZ+wvD4sKsmHsjX61Twnc1zqcovR48drIX3OiSHDxUrY0Qd X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: adba4090-e34b-4b1b-b9fc-08db10f1151c X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:13:03.1830 (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: gXf6SUpxS7pGRqQD6DnnAuv/WLtJA6gFDh8aG9GvmvFgEqpLtUqpAYk6bJ72eu0ORMsi6tTAKgq4uptMHo6VBA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR10MB7493 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-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 mlxscore=0 adultscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: QPX1Kcns9Gu1sSikfw2k9Exel_8-aY53 X-Proofpoint-ORIG-GUID: QPX1Kcns9Gu1sSikfw2k9Exel_8-aY53 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);