From patchwork Fri Feb 24 15:07:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13151347 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 033E0C61DA4 for ; Fri, 24 Feb 2023 15:09:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229768AbjBXPJF (ORCPT ); Fri, 24 Feb 2023 10:09:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbjBXPJE (ORCPT ); Fri, 24 Feb 2023 10:09:04 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BBE846097; Fri, 24 Feb 2023 07:08:57 -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 31OEmxXG024952; Fri, 24 Feb 2023 15:08:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=kEq1scAGqiTNwGibN+DOvTZZxXB5BzSbOwMFJHQ23N4=; b=rR1lFz0stEECwPH2VHKeInYYmlf3ztb/jSULUmGbb4qcVAyP1t2K5xI0/2Wz1oyfkzu1 +VarrOKwS+v7rabNufjBHFjs2aI8/56Rn1i4gQyWK5a6BCU70BEKOubLbMw89ukpISV2 8EDHOpWbglZnVTKzh8dOQ4SgiCz5MGKN8ll9+l/pD3Vs2oweO559tE0EhS5xLhzZLjvT F/A9YNH4Y3W2ZHcPXV909V+By/eMdJkHumy2tr6L/m1dxY89P9Y89Llsmb9Z0cCwq/16 rKzJbIGBhin2wHrliGz0a2XAlPixv8SeLqbEolU+IbHcjhj49JjV8nf0LyD1O7l6F6bf lw== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn3dwapg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:08:42 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31ODoOxY017987; Fri, 24 Feb 2023 15:08:41 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2109.outbound.protection.outlook.com [104.47.55.109]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49v7ns-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:08:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gzb+LteXIjGkWObYb3uybr8AinUn+Ixz82oTl552mBRsdXnW9pe/6NhHIQoypD3uVekYqTYfC2Fy6CUhLMz/vh7jh27DzN9bYYPRDFU9BpQHPMg/GHk8ndtT3rv1hdSOOiuDP0NfA5ahBljb/nJO+t9uuMBohoBN/mqkfjMuMUgL7xxSpv7n1v4rOf9WPeTZYkq3gNVCqkoEoqEwr9W4gcW+Whcmpb7losdtpGAV/MwQv72KhzVinSg6aNnlCh0eiGrdG20Ev2y/rWfqvk+Jr/6zE+jLW8K1XvNIXMy3F6ZvulZyfkm5vj+CQ0ZDazpXqdM+VrLwf0Cn1mTYAj1hcg== 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=kEq1scAGqiTNwGibN+DOvTZZxXB5BzSbOwMFJHQ23N4=; b=VsiTpUh9lmHVcfiJPmq+CgIbXtMvOTpw2yAb9g2XkINpq5s+yhAXIdw2wIIizqrgsDb7SAGtt6LtoNONE2D//oigAAg4SXaF7jKMUxIOkRSYsm4cPy+FdXZWhlbxxQR7L3KaSDNQuSDxT7zTR0/YFwyHD3L9SNLkgcZRJn+phZGSzCpVg6CtjSp2ceqLoiJFINCJVNwTLPhfIfmRvsMFwoiZLQXm0+glitbFTB6r+spXHfa1aqzT9BtpYre3QNbWIsOZFQYqU5uundbcelz3efIW7ytMdxVeRzJGE3j+HVYJ+QOdaK9d6bJ+bkA9U5zaehvCqTIL73xjbceELHVWcg== 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=kEq1scAGqiTNwGibN+DOvTZZxXB5BzSbOwMFJHQ23N4=; b=NrHYkbkRl72uJLap6558/ymTMTnbJ9Wa+XeDwQLTO62pqelQlvIhvDFjxTbD7EVFemskK9F6CJSVMcpNmmxxLmCetFt0Sra1cyyWw4SRmyb8om69GGTLFWTVj2U69+qsYKcpeq8ucbZ1Rga5UY1WNtRVXJBN2G2Y5qsNpnA3MH0= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH0PR10MB5610.namprd10.prod.outlook.com (2603:10b6:510:f8::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:08:30 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:08:29 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 01/27] gpio: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:45 +0000 Message-Id: <20230224150811.80316-2-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0083.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:190::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_|PH0PR10MB5610:EE_ X-MS-Office365-Filtering-Correlation-Id: c3c83737-7137-4eaf-ad88-08db1678fce0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YI++CtrEoAqLW6B0UBB4gqPSQwYC2GXRQ6zfxdqROUUJ6Mbdn4vWVAi/qubHiEqYq/CPORQDV1zpKQHsdmbXQmv4OHqHDem64JXvXQVX301szSUXdaDrGGxqyhpWqhEpUY5oct7fxWuGv+mZ5n5KHIbb1xqOjrnh0NtqtkDuFYqNOZ9TasM+W7zRaX7REE6ersj4rIYg8bHGmdJjXaK6GRwNb6FEX5S5SuoGMDEWObBE/IF7xfjV16lONS31AjSONPmi5w2U8qeE198VYtXIHeI2HIn20J+sVn1dM9LV1/bBcIap6Ps7Ig5K22rp4BTFnecBDtXVP1KIT19mNtGB+oiFDHOUJGkTuafu+EgJx6512v609u8JkDV5uyeZOSqwmXfjhIwkkYjApsUtND4dcw6JnHSBC8FA4235ZSimHVNC2lXWrMuKsi1WBm2JRw+ZyIexSW+Q87QUhrYLKKfoffLiAfjkVhS037+ovS3ZPysMH7h5NoR4FIZdU3qQL0mtNrXUt5LhDcjb2J/bXT49LqGVu1CnmB80hnvYUMYXBpYxsUSb+u4RexY2UEvCixZrEnr9mfo52kjZNHp/gyG80nyif8rMFZ7Xc8qMhkDU8wdJ2ZqC4WPZa0TkpbW4vL+BESMBbt8OnzIq+LXgp6VyDg== 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)(366004)(396003)(376002)(136003)(346002)(39860400002)(451199018)(6486002)(86362001)(38100700002)(83380400001)(6512007)(6506007)(1076003)(6666004)(36756003)(186003)(2616005)(5660300002)(7416002)(54906003)(478600001)(44832011)(8936002)(316002)(41300700001)(6916009)(8676002)(66476007)(66946007)(66556008)(4326008)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: JVd0KdrSAp31zQLLRnq/2cri2+fJjvqE56u+twSl2GbRXlxpTL3OdHng/pn3nQqs5kCx6Jgdp06SuTK1tDqDLE3jfONjaEawy8ZmMrVoBEbbIR0tBc03w8NKV3+xgfBm896D3Gmia5ByYd9KtHeZLAqcs7ZOhZ2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Wfpu0p79gp/ZX3Q3dY4jjsem5frsiHamP+6+ueLvjI5rbfUQongspYGBKeuQBKdfvYQHy7QZVKjm+EblBM9KKrIIA3n7swaRxu3zlcwfJF+hH2HSuRM70JSzjYdod7L3noWguDFE+v24Y88WCzoY6BDRRD3cKA/KoC7zqmRDLKKeUIQQYVISV8qz+I1YjtOeksgoVdp7jjA5Vi/E6cKh/nvwXCKVVRCTSQuhw4NbHILBoDtAu3GcoKEwJThk97VZDyVSYshfX7BX5g815UV6W33D7fd5s21OMvjondkYx4b8gTMNcU+LckbGKV2OFTedQwqcfUy53Fg3XmMncBSyTXe0pXihK0nWDYIZ1PNi2NNcK4gV+fwy40wFDt668kzXpPvaWRlsLMg== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: RN3OMlpXrpER+C826Unfgs5CHUpgEOcsqeeYtFmw4ewEj6HZSVd90iYt63UKLH+RAi5cozbYx3oQQTDDN0dtvLezxWgfeztT008QQ43gvXi/7OZ4qNlxPyyOYlIQaowLgEWHGfJAAlJyOP+HCODcrPj1JG5josnIaNxKNbpbKka2f3UMZVj987cqdLCbq/BlH9aMrRYYq17H6xGWH9WrvizRClio/HKLYqQPnt5L/SP2cs20hZEJDjDhxRN6i9juIfsF8UgXzzXHrnMGd842CT0wOYchaxciy9f03Gy/D3HuiUgl88YDS0VVjfmnMVHUBzw8Pf416QmNLPSMw2IZIJdYPQgB66H5jXtS+y3vbTT89NWrZKB9hox91lfVzTJbgJ+cJuSkC7vUDzX9oydGt4kNPgKbIzVCwmvl8nCADlCQod+z8kSSqgLJi3/5FdFP7iL0ujSuXmC1eGbpvkMUs4oSWCHclh5/MWOTQ22IRQVUJuK9z4MtI7bUpz+r8VMb6iK7iYF1lmuqJihW5IvWL8nown5+mS1JwOde1iE80hPRHD+1btmUUwoapI/ZUPEimwcppODXmndrs+l0VieafEWXvkOsXjy1mfCx+jms9ywZUcjs82e0UVfaSoBK+xzkaVPMeFePpA6C3X7+wIv/H3Y8y4Lgt3JiF6+sZPbSycGw0RGDLrjfHBbrJtXp7Ta8YRPgbwTGmY0fSomcp8qeVs41ZBve2soZDUfV/3PzRCOnsEDLOvfBR+G2hEX9c5UvLQG+Sa8mCbJN0iTeec9XxY5j+IZMKKBHLlmW6OmMlRlPREICfLTzCuGxJk7tDNe26rJsuYe1DZnee8NaBJAKUoHu9wUZynfAm2He/jQHQhnFBemIwHga3BFpaXVAP8IGDCunbz8v46TV4aGQ7sQD5pjkj2g4wpvqbrjN3BwPDAhDljn/V/H09Skhq9lAXr4JbRUnhTvw6UM9BlDcGC68Hg== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: c3c83737-7137-4eaf-ad88-08db1678fce0 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:08:29.8620 (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: PzySSTxk5l60huXPNov7lKv+EXUF1O8JtoOqOzvuAYtTYTbyFVEwinAQXjP27zZOr0QDEDxYorfg6BNhu+asJg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5610 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 mlxscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: rixJvrPBNlFdeyiCkduM9WYP08lJe-w9 X-Proofpoint-ORIG-GUID: rixJvrPBNlFdeyiCkduM9WYP08lJe-w9 Precedence: bulk List-ID: Since commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message. So remove it in the files in this commit, none of which can be built as modules. Signed-off-by: Nick Alcock Suggested-by: Luis Chamberlain Cc: Luis Chamberlain Cc: linux-modules@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Hitomi Hasegawa Cc: Linus Walleij Cc: Bartosz Golaszewski Cc: Shawn Guo Cc: Sascha Hauer Cc: linux-gpio@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org --- drivers/gpio/gpio-imx-scu.c | 1 - drivers/gpio/gpio-mxs.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/gpio/gpio-imx-scu.c b/drivers/gpio/gpio-imx-scu.c index 17be21b8f3b7..e190bde5397d 100644 --- a/drivers/gpio/gpio-imx-scu.c +++ b/drivers/gpio/gpio-imx-scu.c @@ -136,4 +136,3 @@ subsys_initcall_sync(_imx_scu_gpio_init); MODULE_AUTHOR("Shenwei Wang "); MODULE_DESCRIPTION("NXP GPIO over IMX SCU API"); -MODULE_LICENSE("GPL"); diff --git a/drivers/gpio/gpio-mxs.c b/drivers/gpio/gpio-mxs.c index 7f59e5d936c2..390e619a2831 100644 --- a/drivers/gpio/gpio-mxs.c +++ b/drivers/gpio/gpio-mxs.c @@ -364,4 +364,3 @@ MODULE_AUTHOR("Freescale Semiconductor, " "Daniel Mack , " "Juergen Beisert "); MODULE_DESCRIPTION("Freescale MXS GPIO"); -MODULE_LICENSE("GPL"); From patchwork Fri Feb 24 15:07: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: 13151346 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 BE9A2C678D5 for ; Fri, 24 Feb 2023 15:08:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229481AbjBXPIo (ORCPT ); Fri, 24 Feb 2023 10:08:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjBXPIn (ORCPT ); Fri, 24 Feb 2023 10:08:43 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ECDC2E0D7; Fri, 24 Feb 2023 07:08:41 -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 31OEmweP024913; Fri, 24 Feb 2023 15:08:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=a/hIjJFG2ugdFyvjCw00qDtaAiyJHaKEBHcEXTRhYi4=; b=o1dW6jt2pExbMWO6nQBFl10RNA/vDCbh3wbnUC3nIRoR1xe38Jv3qUFbFiXGLM8qQfCH khie4B/BTg7ACifpXurBL3BH1XSu+788GfHIQIc2Eb8vGb3B1nAl/gSGEv5xekCtGLu0 Fl0m02sitoWeeePhPYbqB7nxVk+x3pg4yL7wi6MIS0fCk42xKP9QgZewcVoGzrFUjIWR CEEdBImUOsFgGAcgo1qd7+3C6ST0oIJGdt4hauegBEvHKRzjdneGhBX9SFTDe7OOA7YG 6nkSy7Jwxk7mzf2+RIoV9hvhwjumoXoCEsoInPfweQvLpWMmdfvx9xhmddDHnXRjiSxi 3A== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn3dwap9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:08:36 +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 31OElERX000671; Fri, 24 Feb 2023 15:08:35 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2043.outbound.protection.outlook.com [104.47.56.43]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3nxsb4dtca-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:08:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ThLcQEgDI4UuP4rZb2aYIqPQJRf1EczTpuFz5RN0NKOKmJ3X2hY8jn7CsUL62sYUssp1AQePBUyUGUo9pvtZu1hBkbyjfEKXYQr+fxsz4gKTaXYyI0Ia/FZZcfB2/tgPyXnul/j5HT0QvvMJFRRmffg6aPlIkw0DmINCaqcmQAxhLCar6IjlCGBLISYvMNGQvnqsHx2U3/ZpjRsTadMDzx4v8sifvIsEswIyA0ZWRZS5gfo3isADyKQ3KqYo+RCLy7ttNEmuAT7jye90wUa8C+mp2I8JdDAoavnrxqr19LCEbj8e9UjceK4Ct5NySbJb+XZmON7wjLpjofYPoUamKA== 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/hIjJFG2ugdFyvjCw00qDtaAiyJHaKEBHcEXTRhYi4=; b=R0y+3C8WzTreOY0/XbanTdbRKi9+omos3ENTQYuitH6Wr7P0yOTjuDbGcYbgNxKj8e1L7tzihBb6iomvf15SeS9gOFb5w+2ReI4R/3AcHfdl6QSWUNAqU4VwqIFnmGze1tQY2N6leMUeb716ELcK7+UIj/vclt6stC253vOoaWzeDkxMcJAWydhgNKuI3q8oA/yZITLOOiI/X/gapnI5hRrtvZg4R/55URiySEJ6VAOjUQycvC+k0YfuTl/Ub5vkrr+jrWgta6kzRzsOpwfzWXl1aE0kt5StuGfyzvVyZMhEdc3p7+bNGzMP5naJTwgcn+O18ri2p2/oV0EmEGzHzQ== 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/hIjJFG2ugdFyvjCw00qDtaAiyJHaKEBHcEXTRhYi4=; b=PWoOwh1BsgAUOkEGsBWdGJegc/4QaRk0tdQF7J+gvPjyGvvune3BJPSkrbvieF+sp0JnxYrDtTcNUxQgNV9REu4leXsl+IYX9CeA+QYvuTV5NSpre1ZPk9pvOqjmD3epxL8J7AEgGKmr1xNmdrWuOBSEBna2kHxXyMcnkWjFns8= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by BN0PR10MB5303.namprd10.prod.outlook.com (2603:10b6:408:125::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:08:33 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:08:33 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Ohad Ben-Cohen , Bjorn Andersson , linux-remoteproc@vger.kernel.org Subject: [PATCH 02/27] hwspinlock: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:46 +0000 Message-Id: <20230224150811.80316-3-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P302CA0009.GBRP302.PROD.OUTLOOK.COM (2603:10a6:600:2c2::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_|BN0PR10MB5303:EE_ X-MS-Office365-Filtering-Correlation-Id: fe261ce3-2c85-4b8b-da63-08db1678ff28 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ff2TrswJ9Gm+u0vbjIXtX+82PtPf2dBaT6A1BisNeRzWgzha47V+gBoDFYUbU2lQmrXtlxIob2pyrXwqBvOOv2uPRcv9G73vbtu+59tZIqKWWcxyNtN965FyR/DNmpn7edT9HmRxRJpFRj38IpqFvCkrchpaQ4amh/IoPi1raqJkU+ApvtGSdgQAoruidnGgJLJq1vK9ygJWBgvrlr9UMlVWp0vz1foZQazvChsxSESY0F/muK/jTfWgE15mRm/QEm7SG/QkJhnDKBSdpgranq9F2RDIS2Eo1unPH6bKYxts6WtmCgu1+RhGsAaBZDmk3KtVqGY5LEGaMfhFCswrlQ3gHDbpiIoKsjbYLybJ9E8zG+N+OrT4djK4BTCrGSqy6mMp7tffceP3O+1Hm7LDRB/rHIWR6DrNqy55Kx05e1y3N7M1+wP1qKB19oAAgv7gMMjYeY07Ec5CYAS5S3fZ381HkhCsNAPfY55akYxt6NnmAE0qG/DWoFkuOXP0QfA90lqhsDZm+yfucJ7enjZ3vnZ/nX++uvP7ZxAKj5lQa47F70j6Ng3IcoEaH91LNRTHsX53zm4k0JAB+zryFxpHTs4fmWJNY5xDVHcF/3M4Gw5b3NEjl1XJjeoJWqvUV+gXn3K6vl/lwxbioHJ0aTfqlw== 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)(136003)(376002)(366004)(39860400002)(346002)(451199018)(36756003)(6506007)(83380400001)(2616005)(1076003)(6512007)(6666004)(186003)(8936002)(41300700001)(6916009)(4326008)(44832011)(8676002)(5660300002)(2906002)(6486002)(478600001)(66946007)(66556008)(66476007)(54906003)(316002)(86362001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: uFVO4RA4ZITerCrYNtaRjiLpztQr7niBTjeA7Wf6q7LO4Z/IixX5NGVj2ViVcMU8teGofDng4Tye7r1Wz5aBH0IsFoEMXuvCuMVg+ZduqGpNm/TFZTG/V9mZaZF5tLQTo6sONfZP0Wy/ZhN1EXDf6V/3fjYnAKqMOvX5O4z5luGsxphnK4rFcdL/Jeh98DRS1g5KgMdjIF7RzzpDelE8XnjovPU9DXVsujbJyKCd/4GYlyCB1Foq4nM55tVP/9tbQiRSpKbdej57dzlAwz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fAIiAFwsScpRno49JCxLP0fuCfqIOgx767lJKjZ1vw5rtLfLLFWIetVmx9LYLy5rjw8M/S2lJHo2yqKoX478eTDyA9KsvZCNk3mdqsQeLYf45/RWtSuhtDb7E+4= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: fe261ce3-2c85-4b8b-da63-08db1678ff28 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:08:33.6748 (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: hhpSOt2e9GEc5fk3SBLCuP2ddrWwjnQikL8QMFeV+37HdJEQllTtaVueFCM3WRhseQFv3bmBSPFcl0UvkHA35Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5303 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxscore=0 spamscore=0 malwarescore=0 adultscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: 0AGtS7ZHa98FnQvsQEPxkJxSl_8c6mQa X-Proofpoint-ORIG-GUID: 0AGtS7ZHa98FnQvsQEPxkJxSl_8c6mQa 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: Ohad Ben-Cohen Cc: Bjorn Andersson Cc: linux-remoteproc@vger.kernel.org --- drivers/hwspinlock/hwspinlock_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/hwspinlock/hwspinlock_core.c b/drivers/hwspinlock/hwspinlock_core.c index fd5f5c5a5244..5048e95c1413 100644 --- a/drivers/hwspinlock/hwspinlock_core.c +++ b/drivers/hwspinlock/hwspinlock_core.c @@ -949,6 +949,5 @@ struct hwspinlock *devm_hwspin_lock_request_specific(struct device *dev, } EXPORT_SYMBOL_GPL(devm_hwspin_lock_request_specific); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("Hardware spinlock interface"); MODULE_AUTHOR("Ohad Ben-Cohen "); From patchwork Fri Feb 24 15:07: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: 13151355 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 66063C678D5 for ; Fri, 24 Feb 2023 15:09:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230215AbjBXPJZ (ORCPT ); Fri, 24 Feb 2023 10:09:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230188AbjBXPJX (ORCPT ); Fri, 24 Feb 2023 10:09:23 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9E486A9D8; Fri, 24 Feb 2023 07:09:08 -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 31OEmweU024913; Fri, 24 Feb 2023 15:09:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=zAqHKrn1JFZqWOev6K7J/fb3IkjV9TRiIn3jtlIXJlM=; b=GmWpX5oKiv+rH7MkU0AVu4y9mLQRJn0R7TTHN1BRwwokpvPvcV2tKEyOBCjEfSQ0zi40 pD0FaVKF8kQnYwzZRcymxGA8PBYr+/QIMEQXtHhEQQ7fOxULOhDAiQ8QJo/MgkepOIih r26hVKK/8Kj3kHvpIU1hhqvVlRw8u1bU2YNtwx2g/ITRzzZNWcqEtw7eRweA6dLLP5Q7 Oy+h5wgZZtEiCVGjHFW3fVxG/n1VbUyDBPg7PeYLlfD60nlwUN82Rp5Xj/NF8F3zwK4+ wT/JVaMSyNDDp5T8Vkk2sGj1LlsKqWW1j55cUXnDvuNexMXeNC4abSIMP13Acbj1EUcb gA== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn3dwaqa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:00 +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 31ODRtpk030422; Fri, 24 Feb 2023 15:08:52 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2048.outbound.protection.outlook.com [104.47.56.48]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49kw2c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:08:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K1IoolD8xpq6KxnQ2Az5L4A6hkN5sgftuXvBmurxmE9m1FBhbJoewop+8ca7Iqw9yT+c56/+zEwlJjLfmfWIO0rpCijm1uvrDtBDwx7qCSu/Bqd/92XtO8ydNfCLLW8xdkI8qJds3V/TP4Mr1dQEySw+uvLhMtdLj9IoUy9ymcNiIYezKQgpoX+I18iwWO49MUxWZLoMnPVAcwEvwGyS+8Wuz2oNZepYGfHWmYjAhqZshvaBTsahABdDA/H/GMgVZdLI2z5CTib+Z6ovvJLKEPyyn0DKxGOnH+uDDF8J4UhFLNzGOv7/sNf8fqoGXr+Z1vq486HuUBC+uH+HWj0K/g== 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=zAqHKrn1JFZqWOev6K7J/fb3IkjV9TRiIn3jtlIXJlM=; b=bUjLeA8seBkshE+ZhlBvk6jyVkQhRdyxWhawoMB9ljQmdKu1nTeWEWJuXfwb/uGWu4H9CLyhrGuKUwKf4orE8H9qM9n1351oJLKEqc+4zIf7rNk1Dyq4NOPle6ANyNG36wa/dKnp8gI1R66eY370as3j4pbyrRsT+kjJtIdi6Eet7yjOpXxzDJHWCxJ3RlWtJSFtpvtKjh1LpLq+vEX8JSUYIaa8nIvLj5Jz4U8fQF60+EDBzVRTgQQgTFQ5GRxWRB87Mf2hp/bsWCB+YgYS92pGNmWefFLOCCQiTPr1Lb2ECfrakcWcSN1dWZUR6t8JQVEmjgW+LCYmGppn0LN76g== 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=zAqHKrn1JFZqWOev6K7J/fb3IkjV9TRiIn3jtlIXJlM=; b=J96yIvIKMEzQ3hhk9wYiIm+Ri3KbsSSp6SobfvnQbzjMVLJc7zxhN3WIapl/RAWHHva+lI5uAIjwAJeqg86nYau03Zcld6r+b/tj27F+6/45u8Ui+HWYvjDZLymvtNBNrtZXYf8M3naXk55cOWRwTk+QJPuD9CBgn3Otm3EwpIc= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by BN0PR10MB5303.namprd10.prod.outlook.com (2603:10b6:408:125::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:08:38 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:08:38 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Helge Deller , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH 03/27] fbdev: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:47 +0000 Message-Id: <20230224150811.80316-4-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0017.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:150::22) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|BN0PR10MB5303:EE_ X-MS-Office365-Filtering-Correlation-Id: ac087c66-da7c-4aa6-6b73-08db16790207 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SHG/gO1yO5gUsBMD219ArCP0aJVKHhFKSckM98tHawPA3QO8E7Y3HO4kXRE94VCqQae5aozsIXhUaxhm54jGgjntzkr12xpZG/is1pOzL5sTNKmzeNLOqz4gZzuOpoTdejsXwR9hJOEiaHbAPUVFpgJixKUFlVdECooqn4bxf4bViEHjJhvMTtsaia0mKHHGxs4Yz1Qq6VmXG2Z3Br+VrRPoyoFQjUbp6htJwF50+liAcxg6Xu46HlGvYYaiXYljfLwRVLnxC1zLSOns7t5TtUg5yrwYKjRxE4jVxQDiEkQ/a9qPh0iCJwYbDQ9QsTHHNcUNNyLpbh+5YB9RV3lMNfxnlL4FRaPAEffXbhUOPoML07Os2LWAqaLLDZFHJqsGkJfcmur+eXUAZCT0TANXxDJujD/Wjvpqwm+fQSosw9LbflPLv9l7gUEWF4nUOot5f7gHnJFydT70ztD+NiUkpPcN3L+EWGBmQqvgfrA4be9YCWf1BMHa4h49Bc3aRkvWDMyac9QVyA8+yNE4qVeMseSGrOUovtAXrQHApWP1x+cwdHMN2ZetgkqP/maRuZj6u5Zw7LKOPGccZdSIDEGSIDylLojayAiAdWv5GQ+LvAPnimhkZ9BGLtHx95On4fnG46gYgYQfAi2UrB2hVSynVw== 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)(136003)(376002)(366004)(39860400002)(346002)(451199018)(36756003)(6506007)(83380400001)(2616005)(1076003)(6512007)(6666004)(186003)(8936002)(41300700001)(6916009)(4326008)(44832011)(8676002)(5660300002)(2906002)(6486002)(478600001)(66946007)(66556008)(66476007)(54906003)(316002)(86362001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: bTr5qoYhRt9Ki56Si8yghXNudG/dCqt1mT36G/DW/BnjVWmuKl9UxOinzNXOplyz+ZODbRx1DqlWN9J5Ehf5X0xElWIFhB5qpbWyPCiNO1kqtjHsV9ALiXV5Lx6gxaWeTmikhxaiUGLtHIGe68gOGk0vRB4aOuUgjeCBOVErUJHL2F0vpPjO37uFWQAgsL7IBc1dwhVATHMsSR+lfjs87JYEXDhrtvoJAQ8NwQI4w/gr1eJz2CvmwmeVDDBuTOjB9a8o+9VLb4R1mHO/fV6OV5RvvoDOrxOJSd3V+Yj8pOgEd2sjGH9db7IyPge2Rv0hkKnGfpFWRJQY04eb9z838GKyt+JK8t+dJct6rdCIFkEqrATT4TRnw/DRGd747n4lvBynTrFCyxdmuWXVhhyrnGl5VnIvfJlu9pLJsdoEoQ8EBPYPGhryUQjmc1eozQ9X8ov4X6/afVzgw28U3uoziiwRHgeEQJuRxnGFZkIfw9rqK/D/5OWcwfHAp4+IFoSXAkmywG4ELhu5rkS1/lFUOf4i9/ZHhb4LLBlbns0VBqiwcB2JSLdwBUbOm0PQqnOSsWaB6koWQVGSryHVgF+UR8t1zP+pj6uHML+uRKLkX6nf1mjp/cv9x83yJ9CXsj7snX/vtzlyhufhmoVQ8J76tmhdMSB5Bz/hpvRrAmFSesxOcNYwGT84qn3DEhSc9BEIfstv//abBdFBcRLB8+Zl24FVqHB1g+JY2PvE+NbzS+SuVMcPMzdN/j1WdQoX1cnS09vWZRpWA4y68PnLDk8Ncu2BnsxxiAKcXdElsAZnXcOha+RcNvSpPWv8LNmgPVsUbx4KsIclHz2fLkAFr2WzbUeeE2GpQ7bdXsHXUSKdSEPfDblb9J/I++K++r7CmB9KOWusr2vGQ7TujFulB6lOTbmr7TwQh1q6ZBfjbXxuoySwRbdeexXQM0sFLalcRIi5zrjYPmMgV9xcylcnWWcYCKEUkeXTSdMkDPLt2cMidk3dU/7e30BtnUo6+263DEssqCgOUMmUrATbbrpv7Uhuv3NC3HjWczapXnO8lLalvnv82CLer4M/T293xjsN70oH3IfhZ/K0roNGQRAIEpiVVioJ0kxuerkAeK7Rnzi4Zallc/saXG5bJOS9hQdrlhOPzcednc2q4XGWw6IqNIrIAmsMATJRhMz98mvZTLIY6cV9hdtaarxthIfyk2wr4gSwXU+hnvtKhhmCEIAsCpPyLxjSF8XFR+tIQPU1oPksOANMXlL9OJSYPILPiwZMMRrSSM+tfVfc6B7wD5yG/Gmn8WLqtFIT6G/Ly7sG+uQ6ZjY/ifWGPcTMnyKZ6ZjrWwWckFFi7OpzRzWkWTgPj2fnMUt4TD0ypGc80zMPrHAJtHc6bDlW13lO4SwpveUpdmfgcwcCBBUGrJHu/tdm8dz12mIN+37E+vBl9KscG7mTKaQhalKvbypnrNh7WrzhSviQ/MadCwNIsU9+vYTY5RMfX6maIvQtdIdxH9R6HlxUlE5V1AocmUz9z2SVG85UithHoDN/dHENT22HCM8JoCIcMyRQzQ80Cb1veUslnVLA1VuMoSb/fnAM0uRUEYisJd71aH7TTF895zrUaCFW6Sp4GA== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: BL5lv2qUB4l7AFZUn19MashwIRNILFn/UfykY2IX3uoI5+WwDUJQJDngeskQL+4VefycylsGh3wDUIxH5qoYvipfDFEj9hxXhLYJWqq0yKRBAUhvMEH8oRAUpPso2XH/Qq42op/jq68O9EFm0cA3+2dQRCtUb/SwvZdkYe4VBQUXFsyL7ptBE5RoyZZJKB57+XGQWXd8VhTExGbp+UppxQUVwb+Izy2McvX4ECI057EvaoZQP2U+vEh7KfEdXsY+3HG7vSY25wfHQdX9+hW5BgY699rJtySUam1jsiYuIkvSdXRe9iKgaei88Qv52s33SJPJgkWAJiBhrUafBeWxtqz1HsrRXk72KNgIbt9bPAO/6ddq7ittFrCycIOl7EDp6/Msnsaene50h30FrhkV18g4+5DxwoJ8kLG6/KSB/j5aBj8BLxMRCFtje/iNV2zfZxpIA86BTmfgnFGoohkyazQfHUzJJNmzV+GT7ws5R+Hjtu+kVKm/oBfrrRSLfOSF6piM0ijp0KtFujSIYpljnkYUaKHoFE68lmWM0InrAU7ysJXXIpYmuYdy5ncpw2drrG5337lrKovpzRRKmP+WKBLluWyPC9+GSwxGIl2gS20AvQwwY/3D9V8H346OJeUOgHf2YS4im1yWSvyb+2pfEuxB97Qnvc68gWBVxi+FSidifl9aWrTfattFWFZl6nVTXQNsp35fcQqOVyUH6V3IY0M02otL876keCgLYGeQ39PCOSCYCyBiTs9oAvF/GjfHlyuWwNPDZ/3Ipnv5KCF5Ct9/nyBWI0XB5rR0VEqLDijpX2V6U6XrEh1FvTeKBreTRxDUpecnVCziiXpLUGN6rtdDlvTHhvD9pRlwpHD04E1piCqKjtcUqm/pkL+Z4xDx/R2lWqnilMjLBqEQVuiZzw== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: ac087c66-da7c-4aa6-6b73-08db16790207 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:08:38.4889 (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: W/bMgXwM+P48cXfnlawmgtL4RffAyNsUXIZ3Wqf5t+uY1+Jtn4IKvNnRLU2GW398e3DJcHfxb0o9blmMF3XIJg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5303 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 bulkscore=0 phishscore=0 suspectscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: wuO3Kq-i2bhdeJGNXH3k0UXHdWTMokaw X-Proofpoint-ORIG-GUID: wuO3Kq-i2bhdeJGNXH3k0UXHdWTMokaw Precedence: bulk List-ID: Since commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message. So remove it in the files in this commit, none of which can be built as modules. Signed-off-by: Nick Alcock Suggested-by: Luis Chamberlain Cc: Luis Chamberlain Cc: linux-modules@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Hitomi Hasegawa Cc: Helge Deller Cc: linux-fbdev@vger.kernel.org Cc: dri-devel@lists.freedesktop.org --- drivers/video/fbdev/imsttfb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/imsttfb.c b/drivers/video/fbdev/imsttfb.c index bea45647184e..dbfaac0b14a8 100644 --- a/drivers/video/fbdev/imsttfb.c +++ b/drivers/video/fbdev/imsttfb.c @@ -1636,7 +1636,6 @@ static void __exit imsttfb_exit(void) pci_unregister_driver(&imsttfb_pci_driver); } -MODULE_LICENSE("GPL"); module_init(imsttfb_init); module_exit(imsttfb_exit); From patchwork Fri Feb 24 15:07: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: 13151348 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 816CEC6FA99 for ; Fri, 24 Feb 2023 15:09:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229990AbjBXPJG (ORCPT ); Fri, 24 Feb 2023 10:09:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjBXPJE (ORCPT ); Fri, 24 Feb 2023 10:09:04 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7ADA14BEB8; Fri, 24 Feb 2023 07:08:58 -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 31OEo1QI012042; Fri, 24 Feb 2023 15:08:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=snkQHU6w8ZyOkvPlO1t+4rMVLBhNOb1nlb5fJHYrBl4=; b=P+X4rYTkJt4VWJHn5gwimTKu2ASLGaNtJbyc9/0rSgrEDirC7apSl3r6isvWdysPR0WN fh6Op+0+OmT/GKhKW7XoW+3s8qGm31cAtUsB0Fk4FahapAjyJo28MPQpGQo/t2stO+Pd 5RF3T680ia2L02ScuH5lQwBj++c8uO2DtJuAMmi866wYUnq4CNkshtywS9ipgnUkeb/T dmZmEZJ0SvsWCHvy11xye65vjE10rhKDRdlfI6tEkcEjk8tI45rxs6FMLtUSQ9uwiphL DnoWl4OK+jFcfbjLBL2M7T7pTUTMahlm7AVh7hHYYnZaBf1c3HnJKs5lZ5vAsh744G0F +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 3ntpjad7x7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:08:53 +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 31ODRtpm030422; Fri, 24 Feb 2023 15:08:53 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2048.outbound.protection.outlook.com [104.47.56.48]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49kw2c-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:08:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P8/uoBH+Eq2LPem1Swg2VBBFEVgTDZb+zod17Uw3x3B+2+9EpoXqjx/SOiTwKkEL2J5Hs/CsLc0c4PnaILN+ONGrLN8AqCLx0bCkaXS6DsBfFMBo93V2i0kK/e659zzhlufYr5HgeHU76+hrGiXX5dpQAsp1MNCorj+118Hyn3/xi7VnI8ebs5nRBalM3PKfMVNCOvZKlviZNUA3lFHCne28Oa5tukc7VV0iybqj+nVgBdN4TqrgjCaa68WJdZTcnW9vu5aFpimocGYLCpkeHzHsnP/Q2TR1WDETB94QCw8ofArlILsZajMWnaKptipwOOEXpBUCat9AILnCjGYcjg== 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=snkQHU6w8ZyOkvPlO1t+4rMVLBhNOb1nlb5fJHYrBl4=; b=iipof0K+PLIOihDts5PWvK39kLpf9mUBwbSq+IOsFHKiJMB7QbE8tOhklA8YXro1lKyWNIVFlghT0nAeAjg4+C0vX5quJt6+gtZvRgId8orNiqoAP2lgA9DwBEsHhKZK0hgMP/4Vv4wpuE6MtmAswgV9ZEd9BcjpKWXx1sxNjWWVpTqmjC47GQ35ZHaiFEY1NEMkokIPH46rhYUq5RTDtOo7R6OK9fiOrjfuq/9CsS36C4Aa31w/8DbOZVBk3KZ/grHZo50WN0LSwJ1MrrRVG9wVj+HBdyB6YSg5GFiug0PdPQwUGh1RXT7SenpE0TXbmnurq/W5+PZlh19hD0jd5A== 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=snkQHU6w8ZyOkvPlO1t+4rMVLBhNOb1nlb5fJHYrBl4=; b=CH65YeG7cyWSzOXpzXEOWzxxQurBK6oEzLQhAJfwDT/HG0tSggWGPYptER7qHL3oh8q/bOuNa7dnp1lFSDP/G4Te9O6QdqzM7B+xJsnWTfXXmO3UwBnbBT3XYfZt8vSeS9BqUmIXYHafyGKPBg04Xbc60zwlCOI6TsXnvbQrB3E= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by BN0PR10MB5303.namprd10.prod.outlook.com (2603:10b6:408:125::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:08:43 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:08:43 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Andy Shevchenko , Lee Jones Subject: [PATCH 04/27] mfd: intel_soc_pmic_crc: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:48 +0000 Message-Id: <20230224150811.80316-5-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P123CA0068.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1::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_|BN0PR10MB5303:EE_ X-MS-Office365-Filtering-Correlation-Id: 8ec0e723-16cd-428c-4a9e-08db167904fa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RL7QAlrsJWh5S8WwFjfLVAs8pHX517g0vG1BskBoYE+Hy4vBk6sf+Xis1yu3MJZdWwgHlVByhLj0c6RJaozppmRFOaKN7OWW8oDJALBSKhncbsI6ESkfkkBP7//UAtmd69WZ9UpKdwevfh1eQQRK2fjyKHuKZmj9FxR3pXlgqAIvpeGhZRgtDdsb8D4pKSA+MI9Tp5WacYQc4ajWRQcgT3gX2rMmwUZrRZk3WukHt/Fd1+98EYXwcWfhcxaRuosu1W8coon/toJNcQ6Y7OLWafkSRX8dleZsAZTgwtbUtZA8Zq4q9ECMWSl3DVyg2sFsxWTxsi/imjYxw/1vyZ3+nR+1ryPFX255L2mk6bgcZQmncA/343cbtduxoWNQwO3Lg3q+Kf00u8TAChBY9WcGwt0HhH5A5M2mU/mTa6oPK2FCsZmVD00J3fFd+qylzy3qQCxK5G8G5NmuTZXthMkF9a7kPGlN/tXIYEqCrez9KXFUWQ53oBpfjZ33bXEoYlzM5Qr+AOk9tYbpOWZMK5PC4Y0DOYSjNBAVtKFtru3FV0rSJBUMkEoNyzbWmDWL85QsdUAMlXJq/y6W22xOTx/cNvAz8yM6pA+6egepoos0o5fuAIcg3j2ib5QRHXNSTKZ8FLeTz3vAaTnhF6aH6Fy6hA== 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)(136003)(376002)(366004)(39860400002)(346002)(451199018)(36756003)(6506007)(83380400001)(2616005)(1076003)(6512007)(186003)(8936002)(41300700001)(6916009)(4326008)(44832011)(8676002)(5660300002)(2906002)(6486002)(478600001)(66946007)(66556008)(66476007)(54906003)(316002)(86362001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: UZx5c01KdLUCYNUmOSpGnkErXtJ3czSRIn1iGmd4Oli0tg67AUbuN9fIYDEXe5tYg3RZHq/BUlXDV4Jsa8HhsKrtXjtkQdxuAQtf3Rr33ajO5jrOJlj89o6eAVTitG69J/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f/EgoER3cCf1ltYOIHCD44NHo54kgLsowOqp5ISW+s1DBVVq50fbQwSgfzdJAUvxqY0wDEKWKuZc13bI1Q+CZxokQkO0qjgC3kiD2gng8IZLJUXk53eD3YiyNic2AJdnreaCpxHW+bz+pgUl/3yx0yTEsZa+taouGiSZBlMFexsBvxKGxvMVEr6QPEed3G9M1SShlrM92QlrWOc3AaHHw1KU0jOvvBO8yZibeYW6la/3fyltXdRqmPQIS/unqf3BtXprEjPO X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8ec0e723-16cd-428c-4a9e-08db167904fa X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:08:43.4360 (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: pbeH5nMEj3eMrWtkWWIC4cNHIUNiW1W4PgZJ18rBUWJGHZbp4p6Hts4BmtfdiPxS9F+jQ02KhD5L3D8WAjxc+Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5303 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 bulkscore=0 phishscore=0 suspectscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-ORIG-GUID: 2uuB5XWuh6pwFV3ALFpT05NPwFYyVbS9 X-Proofpoint-GUID: 2uuB5XWuh6pwFV3ALFpT05NPwFYyVbS9 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 Shevchenko Cc: Lee Jones Reviewed-by: Andy Shevchenko --- drivers/mfd/intel_soc_pmic_crc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mfd/intel_soc_pmic_crc.c b/drivers/mfd/intel_soc_pmic_crc.c index b1548a933dc3..b745ace46e5b 100644 --- a/drivers/mfd/intel_soc_pmic_crc.c +++ b/drivers/mfd/intel_soc_pmic_crc.c @@ -271,6 +271,5 @@ static struct i2c_driver crystal_cove_i2c_driver = { module_i2c_driver(crystal_cove_i2c_driver); MODULE_DESCRIPTION("I2C driver for Intel SoC PMIC"); -MODULE_LICENSE("GPL v2"); MODULE_AUTHOR("Yang, Bin "); MODULE_AUTHOR("Zhu, Lejun "); From patchwork Fri Feb 24 15:07: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: 13151354 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 0DD5FC678D5 for ; Fri, 24 Feb 2023 15:09:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229996AbjBXPJM (ORCPT ); Fri, 24 Feb 2023 10:09:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229737AbjBXPJI (ORCPT ); Fri, 24 Feb 2023 10:09:08 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7541938B5B; Fri, 24 Feb 2023 07:09:03 -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 31OEn28e003371; Fri, 24 Feb 2023 15:08:56 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=CiEDBspRIilkMICfMhJGRQGGxt0SEiW0KpnT7xM6t0o=; b=uCzWUV68vrTpWTQK48jsvvGD/3bOuMNBcP1eehSoiFUezicwoy3O6EHR3ysiZUbPhl7+ uz93QXJN/6mj6ByTtnzL5Jf79yPpguMJcqNAtfbCos95USJlLtT3ksGI6YphxaVE4wYT WOZ8NCcW/GRLJpcbuqBU7iy3lCT4OQm9X3c0BfMqmB9RJo6EShl9bn8x0B39KTUTEiOr mMA8gzonMN4oDUDRj+65hU7sLFi8S5Lqi41fCO70glAmGCiTQ/0RMO6s/mk3457cu3hr /PUTqFlEuC6O+dM6IheHPiY8Nh3xmyQra10oU7kJGGhqsAdCFhmX208lskG4mP9P+f6L tA== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntnf3nb9a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:08:56 +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 31ODI1FY017898; Fri, 24 Feb 2023 15:08:55 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2048.outbound.protection.outlook.com [104.47.56.48]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49v80m-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:08:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oWqeSUtEcGPsbk6+cyL+n1E/rVUKuq92yHH9r8NRNeZz/YcEtchajGDCpyCxZOItNaRjspZK2/YDeBjipiRGLb32gozC7mXZkY5Kox50y+4CGo2DtaqA66E3cirLIN5AmbevNIc9ppxXKGDyPprpXwIyHVSYNAV34hq3I8IunVIc8XGz97JALFwuGI3k0ohjCXjoJRA3Gir3Nkr9B9+TPEA08KtlEUogED6DYcvPr0AGHfDPvtw5p6XMMcCWFWfVqeLqOAFtwF65UZJ7DIsLhW3Y+uDvm4753pt/5jU99+1k+nQOoVTcqnYD1NXPTtBGXbSwZzq+EAfMQ9SmTxA4DA== 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=CiEDBspRIilkMICfMhJGRQGGxt0SEiW0KpnT7xM6t0o=; b=g896FT9tiu9cIj7l8BGR0bPd1Y01tQVJsFG2c305BR86+25rV7Lc4W6jLxTjw5RVDWum9D99vfRmncZCo7yXoUbtbcTBBnTAwp7TClF2wvISiWw0tiTyRRj2SUkaE6Gq6LwkN6W8/JviRSdIlbge9xwgHlySD1hQOjKxZJ0ujnmCgFSa//elrJ6Q34fKPq//4wzJ5lvA2R7+1yDfcT4hVVRNly/kN0yDp8wYJLIithtw17Bh1d7wEB0VsQJBBYsVGdmGY47fuEqFP1SO82WYK/djYRjE7Uc7kFpPIATUxPahbS0q5KnsYkjx1uTYUoBMDyFy90gdoFc1qwVl9VrJxQ== 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=CiEDBspRIilkMICfMhJGRQGGxt0SEiW0KpnT7xM6t0o=; b=jW9O85b+n2UtR05v6j1JJB6D39wpGeoOvDtlPWmRju1s7R/+q2xMnRHbEfUX7gfGHmwIovstwB0iw9YcOqjECi6nwXRFq74QBVdu+DPmWe+6zdfyOOnLlC2qn45h5eI/dICZTp71RYW2Pg6GXL/pZ3lddtLKYs34O78eBu3zMBw= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by BN0PR10MB5303.namprd10.prod.outlook.com (2603:10b6:408:125::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:08:48 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:08:48 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Srinivas Pandruvada , Len Brown , "Rafael J. Wysocki" , Viresh Kumar , linux-pm@vger.kernel.org Subject: [PATCH 05/27] cpufreq: intel_pstate: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:49 +0000 Message-Id: <20230224150811.80316-6-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0112.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:c::28) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|BN0PR10MB5303:EE_ X-MS-Office365-Filtering-Correlation-Id: 083a87f1-81c5-47d0-5955-08db167907b5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lWUE+JabOhe3nDg4imzxOdWpVumajTsBKJ3FCUspIHmIDgmOAXe2zx1/E/OqleBD3E+F5Z3DMZ2JXWfe5h4BacZeNiyBgBYcYleiQNZbqP2nxFnVKbjNi6lr++PFRl2kvtlB9hRPUkZQRNjG/GwvXlwSoRBQlur7Oct48KEMW4/mGrHA1oaSHrtDpq3ff0/jXrrtHiMhelZe5NY/tQ0YB0iZvAnVsHnzJcSoNk6T3WrjI1MepgRuHWPeW7Q+UnGuITBVsT1ToB6BsP8z1EwTpOGWJtjbTynLRfT+HD8LqTbX9wtIfTX2g37fZ164XBfAoCiPuD8/QNrINiZaRsXPCqGl4xWGUEUSqX0ILmREX9DbXr4alL+z8P7I/76JAbdncN9Ey4vtUiM4L2FSwqMjL4mKst9vARshTjMoQSryi6rd7uplUJaKa1VIOQf4BIrE1sqWPQhwECmUF8yKoskTivk1lnImrjMUvdPVgihHNolLMESARHHxV1uwvImF87WuAB7ot5S3tHqp0NwtY1G25shwnsOVBjo2ctM2LJwGAlhPJK2G5JAUmYF+flS3x1C1/wpS4KFlISiqRhOzS4Gf5f5FyT1Y6SizRrE8uDp9YBzJHZqUUkiTS+ImmRxZ0MdUWtcB7ldt0jLHab9bByYKtw== 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)(136003)(376002)(366004)(39860400002)(346002)(451199018)(36756003)(6506007)(83380400001)(2616005)(1076003)(6512007)(186003)(8936002)(41300700001)(6916009)(4326008)(44832011)(8676002)(5660300002)(2906002)(6486002)(478600001)(66946007)(66556008)(66476007)(54906003)(316002)(86362001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: yCUXOqcyhVkO5E35QwnS4/KwqtWsT4Dja8mus+UnSe0MApwMbp4BgQdgH3snzFRhe9+oNUE3SFxGz4sslx0GwMVL+YNDZG8TNX6eZvDnAfsthVp/QnSgkYewQWbHYolCdZvnc6Zln9g98cxom/hcsmT/uKfcnJW6PIP5iLm9M4EsK6YL9tQWD967A1GTEJqKT7OkF58vbz3Ddww0//MmsVtG0c28+46jIqaZeJUbtx5yvpG7D3cu7e5AznMETvN8oi4qFiZ8KRVqJvbH1Txv7tWzQH5Z193SoUcOU3vBYs6VhD43idublY8apkcYtUbXQ6R0NcN0olfeW/QNq+bxW8VWx5rrreHIhlHA9JpWRmqT4U8PlBrMUE0HmfGv2FJrilQzLFgCzcgGesSOp/aD3orj+U0oZ/bh/pty/fqkoWpz46mfKYJ7PbAlqCVzXJJHK+kdWNxQlB/SKN8c7ONqM9QpIVl6KCnl9au+k0oErZKYFl2M6ewpiei9KVB7vfgBt0fJROMZJTd0+Wr6inX7VdG7FdHYXZpEijKbmZUdJclAfftwU1OVhg57WhiSbIV/0QI9LEs7xD2SuKWPp1q1v8pID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-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: TdZJ1a8HiF8gNH7NR3pR4bHPBVoPhpYWb9X3CldaGAWQ1GiNVWkqVLi3H0jvvOWmlwPN5ZfVWNZDANwkxFDYPEMXZU2Fup+Pk+Ger121Eo+DkpfYjxvrxQZwMsbap+TrYOYEsuG9XsCrOvItnKUbdl/CK3FC4wfHMxVMZqFT+Nzu+O+R4U9qkpt96XknDC+zYEUkQMu0IFlMvtP9B7l+DqD3jN1hV3SXhiHcY+TFFXC7f8DoFL15DozQOJDGZ2ehvHoVfqBwoK23IjDrIUiagNmWDcmKKsrJ+ePwF29Kb8aoT8+f5XX80aSeZN4yIorg7EOEM77QL4WPWmWgtt4EiXvWcm/OHveTBLcKUVB3wjdYFBRNyrWU9vAHHdV+8H3EnBctBd/oISRPOCOUoxhg/5vx4vLcr7yoIjviDrKQ5UXsyCYPmGl5xNBrLTwUVoMvx9FjsY3Ee3Y/iwkblNKFhvciSTp9mTtRTcFJL3RUS27tGo2DLvHkTCimN5EsPqOgiydGPkdwObVgqnnbMC41wnqcXWlL81BSePacxsxI/nN7zyXTqopEFk8edKlpMyvGb8QGpOQQPs6fBv6XwWXOh+r5+01O9SMr5qr5UcnVRCLiN8PEjrXpRe1cwrjvDUJzvACHTQ5kNaKld/nyiLzxvApMZfddxYhQdnnFLo0JenCyvpVGbx+dssBLb63NNlF+VqhudhDFKHJ3OJr4lXpymdUnYB32Nsc7SbkAffn7sgYbTiWqwg69xMCFnuA1wGstnffPoHDl6CgNrxw89qW3U4PHOWXKLLvDrrlgFTWrrLt7MnrHGQQpzLGXAuiS+YPikSegUcC+p2eM+aTtfE2fXtO6br0ATipbcF5uH9TqTiEr1YaKqpvtpHZ1NT9bmOrjvo0w6EZmHI3bg6e7P5EWqw== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 083a87f1-81c5-47d0-5955-08db167907b5 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:08:48.0146 (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: 6wJP8DmCCZ6rPwtDhhxyF1mAeCEy8rLXge2OLpvBNG/j7jdKpPyp+EhotZxmEoouj2gbDfq8Qo/HGTuHQVsCtw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5303 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 mlxscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: fgRTT4lKkUIdruK1LvwDJJE0y0fmNyD0 X-Proofpoint-ORIG-GUID: fgRTT4lKkUIdruK1LvwDJJE0y0fmNyD0 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: Srinivas Pandruvada Cc: Len Brown Cc: "Rafael J. Wysocki" Cc: Viresh Kumar Cc: linux-pm@vger.kernel.org --- drivers/cpufreq/intel_pstate.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index fd73d6d2b808..0f3e1a1aab4c 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c @@ -3530,4 +3530,3 @@ early_param("intel_pstate", intel_pstate_setup); MODULE_AUTHOR("Dirk Brandewie "); MODULE_DESCRIPTION("'intel_pstate' - P state driver Intel Core processors"); -MODULE_LICENSE("GPL"); From patchwork Fri Feb 24 15:07: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: 13151349 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 6EFEFC6FD18 for ; Fri, 24 Feb 2023 15:09:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230154AbjBXPJH (ORCPT ); Fri, 24 Feb 2023 10:09:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229715AbjBXPJF (ORCPT ); Fri, 24 Feb 2023 10:09:05 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45C604FAA5; Fri, 24 Feb 2023 07:08:59 -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 31OEoQUj007421; Fri, 24 Feb 2023 15:08: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=nXQa6Hq5cMMQDzZaxDz50Nyt4nG9YgR6lf2BBTG93Mg=; b=p7fkXkHfNYiRvjZMS29cTbx5DJcC/AXxEzlTq3EUm+UAVjpqoLWKgUgN43foD0utdvnr pC0cPeSBg88MlFlIWsSzgVdESwKUOY8HUVglh0Cmofhx0rGLsSgOdqMkyBusHRejpHAO B/qsLtaYey1VaavlEZmamohokuDerIt/WigoI3WCb64Zom9sBpFevgzFfNDWRmh9K6nH u3vwwESf4XN/igj/cclUQB/lKE8XhYUBE8/zthDNTGcyugpN6V8arDYyzUKRG1KDiVi9 mKckawdJRYaQYMM1dp0M4l8BqusBrbo8OqCKKkwpo73mWJEmBvttqZhcPL4pkkEOI9eh JQ== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn90wb30-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:08:55 +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 31ODI1FX017898; Fri, 24 Feb 2023 15:08:54 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2048.outbound.protection.outlook.com [104.47.56.48]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49v80m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:08:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LfGoS/t4pLOJzAKjPNfbMazZdVSWWeD8qq1GdsJX8gmWPVa9cGdXtkSZaGxTECuP9ElOqQkWoXJf7LP3C/fb1Cyo4gwsNtJxefUoa8wiCIU0k8ZAkFAkc+2ABnqwnudZ+O+bWbZcKm3Pu4SjNaR3wUQWsIDAFIfVQO6JwXKbY5Wp+SX0XfhKDScaL8fJ5xZQxvPxCOw8wGRSZSMFjzNSUYZDezKvVL320Npzc3oEVxWrM4xpz0j+lFuAh2WIUHpuaLXHX9MRZCCYGOvwNwIlLf/8Ly7s0YkLp5zBhxBqED+W7AgWQbzWT8Gp3OENawdvsq6ZrwyVyu4giAgNFE0hkQ== 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=nXQa6Hq5cMMQDzZaxDz50Nyt4nG9YgR6lf2BBTG93Mg=; b=JKXc7b/rAXYKXvX/U9BIbxI0zrfLVGBhs+9thgnuY6tYjoPnuPc+YRmo8FEr2kJ1q2KUjyVm1UojhF3chous2cse8gwzmdc68RRdImuMQskWk3vi9a6LWEPKbkmkxnESuwaTXZeJgWKWy0BGUt+LqYa2b6vk3l0hehb8urkFJE/IVwEptZnqcuohEN+P4yiIz7HQz5NeFZYoHhzLx04yayQpXmOmqnvfWfMvNv+7T7NkqeJFfnmBaYSYlF1PbN3eJ5M7BIry96oiQaoskZx8zXcMGO5+fXXmcCZJWv8Fls/vdDyt6YrT43RL0EhARXgq6wuunGPdUYpUfgwd7IuaiQ== 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=nXQa6Hq5cMMQDzZaxDz50Nyt4nG9YgR6lf2BBTG93Mg=; b=SwainZDxPHQ3mnejP4vLHdDFr33KgBQ/g3noqtalnGSwxmSyOsc+g3M8bVQJ5oB4okxiqFhlXCp2wC8kPWQ2X8nSphwkSGlpk1WwbFR816wVUDMDMcWzB1O8umXO4xPUVc2TBRFfvFmen8dY+CH5chv55pejSvdjIcKDn7Qnuyc= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by BN0PR10MB5303.namprd10.prod.outlook.com (2603:10b6:408:125::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:08:52 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:08:52 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Georgi Djakov , linux-pm@vger.kernel.org Subject: [PATCH 06/27] interconnect: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:50 +0000 Message-Id: <20230224150811.80316-7-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0374.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18e::19) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|BN0PR10MB5303:EE_ X-MS-Office365-Filtering-Correlation-Id: 8647662e-4267-48b7-5672-08db16790a6d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yBj4LA4XlhcrwApg7cXdStLgUX3ejnzhXzEH20DZJqFf2n7PIEbpyqdUCNAWq5J34TSJg7feZB9qlbk8eIA/RnrJuNQN5k+teWViZf1LdzZNAYQgsVKC/y8mB7I4vIYT12/k6J7BllYkiJDBUgIo7PWufOdoVYokbUlNGu1e6+O7Ru5spskbQUMjD3NkzWpZ4uaAbe7dhIX3LeYOsEuuHzh5SJ3X/saazDdis5qKRgW/gPB1k66UlglC0xH8Nw6bIZCeX2OFUKi3fGtrEMoNCdWVoT91XiSOcqgLwKXIGoRxCu6je3lLkZSmT8pLzF69w6sZK/uhffQOJyMY9RHFBls/r5iHhLH4Vs/bnS9Pl0e94L1T6jxCkhB1Z9Lcu1keekvOeR4InZDuR64N9vGPim/f7BfYhZkabCuhl5WM4tg7131pXECzgBe7VGl2cEtSxpNTeb6lwEJz00d2ba1eVcBjtaI1TibAOQuZKK3Bfae21kgg3d1W9FDnfYLCqEyfPqnvps3L0SGcoSSMf2ay+3YpS/iSPysUanhOEXFZQSTYV902otB6Vz0/EApQr85wrndWro75zippFPLvOkleksg8/Ehpf/UPauIVinFYWyAjPwkHbbVtClh/iHQYoUDaUOo5vp0Pzu3hnCEs6be76Q== 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)(136003)(376002)(366004)(39860400002)(346002)(451199018)(36756003)(6506007)(83380400001)(2616005)(1076003)(6512007)(186003)(8936002)(41300700001)(6916009)(4326008)(44832011)(8676002)(5660300002)(2906002)(6486002)(478600001)(66946007)(66556008)(66476007)(54906003)(316002)(86362001)(38100700002);DIR:OUT;SFP:1101; X-MS-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JIDxmt4+TaSzK/c9Fwf1GMugCgUr96hLptbpSR51yuQMYYpDfHCqrg4w8IgnplhQFPjHOojAVrTnly5CLEjad57SY3VfRaB/97SaaqqXnUH8+NI3p+VDkygJXRXUy0IcaCetB/EP1pGu4fdl5nZwuKSrYx9yxXinwbrpCbjsHvjUVbgvT+MebE0n4z0q2za2Y44NbnVvQB7F1LcmU25Wq5qWgCVaaZdenj2axhndSFT5jLjwe4KK2FbKcbKaoXKqvSKM2DQnNd0EW2iIEWN1TFJHLWs0d0Sd56b2KezLSuE5LYwr85f2dsPTu1smNDdkXDYDevOBJ8wKGBAlgMvluDI83HpXQDYv+4zSvyTpVRYjZ26k954K0WMEXANbxHYbNmyoY35pTe4OFddJIJsHRAdGrRSJZsKCEqocUgmRMN701tW/X5kBVkkcxdu2RypFK5xC8vifeHP3w0+c X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8647662e-4267-48b7-5672-08db16790a6d X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:08:52.5786 (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: T96eBaaLVY/kzhXbtzZ04PteOQ1YUhJDeNO+YQMBMXnpx5cRRhp2Bd7pmzIlcXaOxXaMV7+ioTOV42UYl3T0PQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5303 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 mlxscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-ORIG-GUID: d0AwGvKwz_GsBEgupHQP-s40AUf3BS9z X-Proofpoint-GUID: d0AwGvKwz_GsBEgupHQP-s40AUf3BS9z 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: Georgi Djakov Cc: linux-pm@vger.kernel.org --- drivers/interconnect/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/interconnect/core.c b/drivers/interconnect/core.c index 25debded65a8..de61a639fab4 100644 --- a/drivers/interconnect/core.c +++ b/drivers/interconnect/core.c @@ -1146,4 +1146,3 @@ device_initcall(icc_init); MODULE_AUTHOR("Georgi Djakov "); MODULE_DESCRIPTION("Interconnect Driver Core"); -MODULE_LICENSE("GPL v2"); From patchwork Fri Feb 24 15:07: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: 13151361 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 AC4F5C61DA3 for ; Fri, 24 Feb 2023 15:10:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230234AbjBXPKn (ORCPT ); Fri, 24 Feb 2023 10:10:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230108AbjBXPKk (ORCPT ); Fri, 24 Feb 2023 10:10:40 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0D3D69AD5; Fri, 24 Feb 2023 07:10:01 -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 31OEmscw005529; Fri, 24 Feb 2023 15:09: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-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=pbbk6/TKjvBf9mjEtDs/U142IASsK6WOqgpJw6lo9ro=; b=yYcXWkJXPJpsdVtiD/E6eTZaUsmU2/X5U+LGuoKw7/yRueyVNUTl7Nn2vLvdvRc9iU2x 5SPAj8aBucW0wTljWBWbTjpMtcsZLywWJzGlKav/NaD2NF6a8J8TvanZXyE8FstwpIC7 f+7ucwR2VE0XqGXyk1QPsgS5akZKzgQ4tHtaH3TTKvxt2GimC5bkrp1RBZYMoWFmLrsJ R3JW3xW21f8QJfOmVeTZWn8eUm/ruXDMBhIUSiJ/SEZT0uIXEawrgLCPcwc+2fYORvW8 oL9mbiOzKbJuOgHQmoV4CAaIop4n3ZFcU9586miKi2R753jdX1SfcOgYVlqh4jR8PW43 +A== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntp9twefu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:00 +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 31ODb3Zg030263; Fri, 24 Feb 2023 15:08:59 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2041.outbound.protection.outlook.com [104.47.56.41]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49kwb2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:08:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ntfFoPWox0XGpcvo17EBI2DOcZuPNEgO0kpJUCaiffENAcsZterOJvsN6ExsbUTzLILTh4qZBhwzm0846SrTwzqQCcPW4Fi3YsMeYWDsPZiNlzE2gRfWpzXTJl+A4ApDIGGFhPYxo+GyqPa5tXlIqqKvGL+DTjcREfgtQdS5Se8RstE4+1268HeKKnOUN+8bo0ycegpst2fu/s0mpOfQnIXRB3yRIw9hCgwG2e7WcnhoQ37FsxMYO+dF+naVgWp+lI35MmmLXz20jxZeE9E+uU/L6YiWb/Lk0ohfFuitFVWCsH1ZQGBPVctLMmStSHlIT52E9TINagaKsi8j1w65OA== 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=pbbk6/TKjvBf9mjEtDs/U142IASsK6WOqgpJw6lo9ro=; b=HglROs2hoHH6HIG5tuAmsmSAB6/3Jl4o3y0c/NhueCP38WYg+6o8edFgtWVD1y35p95uMIoBx6pSw4tUrHTR7cUpApBGCLy3se44pyXmrWO3rLFbw06msAnKNvBuXWCDNNY6gg3BeiqGI9LH/xheGnIxhu36lMu7wJo5dTlrv40EP33GLM1iGZ+oLZUobQpMbxy2fO2Uu24/kOYvM36hcACdiU1qAssB2hU/KIbhW4lY1FVagKPMz4wnzOpSZNg55vUGKKYPCsO2uRtojaQvGDCL2B+iwXHLg+XrerMWeHRlBZOTzSnUlg97qZfnXdChl+5DnZlsyLRCmt8+lqVy6w== 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=pbbk6/TKjvBf9mjEtDs/U142IASsK6WOqgpJw6lo9ro=; b=CdO3dWuDGa7RgeiUCqIvGSYriEhUUUeIAbgEceDftQ7qF6KaX4peFTx84qxNuG/1m/JU4XNy0+Ik6E3arkBcML2zPKVeEuQ+/KNI8Johx4Qhn+/Qpuyky7oZChqi651/7yxZYIwRLJ6zS17UTRO66xrOxZM/4n8m7r1njN6LkXM= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by BN0PR10MB5303.namprd10.prod.outlook.com (2603:10b6:408:125::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:08:57 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:08:57 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Joerg Roedel , Will Deacon , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Philipp Zabel , iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: [PATCH 07/27] iommu/sun50i: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:51 +0000 Message-Id: <20230224150811.80316-8-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P265CA0257.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:37c::19) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|BN0PR10MB5303:EE_ X-MS-Office365-Filtering-Correlation-Id: 67e3b5cb-3c7a-40e2-1a1c-08db16790d2f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: r7SF7EhS12VfINeeHSHrMtzMA4lmhYDg7ojt7L5l6RFuEXojd6gU7TJstAwLKxqMl9HAAZsdsaCqfHoddMTz3SeI+Fp6LDb7bk8ln03tnYml0Rn8C+9Ad6EIoHIIBKcgKgDcdQMSIYzUMMt0YK2Sq+0My/CpVd6vMdtN0vJC6xN2yHkmiNMI9szCHjMnrNEXHY9ocAf4XnvJnJDxM2n/Yi5FD0YtLQ2oxPnbXCDV28/XOPc+Ib8cdHvYNLnVFMvOoJ5QgUGnaTj65+WzkdeopkXZFu9mu40OMe3VwP36Kcm9LnyFz0ujUJd2GnOLe7v2pkhtrQ3Gt+xngbTQNsZyWuqPDgqo5+6L08M/7eAqHOouyy7fbCOAeth29Y0RJ5NgRf9Kf8wA/tOCQS1c652ZbQn3qc4IyL3bn+4UgFynV3yJnLBsN5WW8ytX5+tqvrfArDlRSEWv7Uu31QFYCz78vlQ8xThAdwB4cvHp8od+zUnP02xTlPoPVzMU4WtQ4PV+oJ982vTix/pnLbRu08/Ogs2/b0Ab5kGuvAGR0slip2v9XYkhy6Cd+81Up5vuE1VBsPpOEOvIm5DA0aUh6atlTLUHrc3lYjMIaW0iCmhiGp5O5M8z8rMpOFptkt8nYjF53LKpcQyTMu7F8ucfYT/OnQ== 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)(136003)(376002)(366004)(39860400002)(346002)(451199018)(36756003)(6506007)(83380400001)(2616005)(1076003)(6512007)(6666004)(186003)(8936002)(7416002)(41300700001)(6916009)(4326008)(44832011)(8676002)(5660300002)(2906002)(6486002)(478600001)(66946007)(66556008)(66476007)(54906003)(316002)(86362001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: nqoyoC7a7QetaiVEMoTz0TjBOBQyhgk19yHcVy2pDwyz5CeTSuEycncpvJsNPGaSeTv0oqiC65PhKwW3R1WSZBmK4Qqt5ngaILuFjBgkjhMnLq/TjvTZRSO3xuIzUecUsctbDvAl7YvSFTS3nj/uYGEd8dcOjQlMEa8I5O8eVUGAU4LxGvrQOLRHrZ/Ry2TR3PoZX2beoe4SPPLYpoIoMPntcZHY+QzEIRaOmMEY/DcXE2ysKG6rEgx1GHMQXnghy+V60bgGei3pgnfd/aXGi03yfAabwuGyFUJ/sIzPD54UTV0q8qNG9xCUO6Bhfdwo53CgdNi5KB5Vp5e5siho765Cz+04XnHal+XvyCsHrd93L0UDUV8nA17mMO6YPFHFaE3VnUVPtpSAGA1O6iIaxbi3gc6MX22k2mE7coKyNjXiwu0LLMNinnWh7C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GJWPFfyS4sFfsQTCu0j3WaivmMa1FTs/6UZhq/cyVX4jSztawEf04tNZGw0hGjg27+nLqX9yFFCKq+NZ6rxeXrJx3jIyvdQKh9Evwj7XMHsDW3HFEFqP3nJ7uNyMrAgc17iQ2tUVp4y6a+iUTk0g2Dbfg8TpHCt2x3PxKS23XUjowTts72KDp3P8RVLr50ymKcuDweC3ymtXoRCK X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 67e3b5cb-3c7a-40e2-1a1c-08db16790d2f X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:08:57.2053 (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: Mixb4F6y+NwZ8XCzZvHwjFP1EKj9NFkW9Rtsl7c2PRULED2CpBsnFN6CgynDQuI2QGDrbkNYv3kQzHli6i9k5g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5303 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 bulkscore=0 phishscore=0 suspectscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: IviPnrD6gFjqjMcmyFup4X8Y37HrtzUj X-Proofpoint-ORIG-GUID: IviPnrD6gFjqjMcmyFup4X8Y37HrtzUj 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: Joerg Roedel Cc: Will Deacon Cc: Chen-Yu Tsai Cc: Jernej Skrabec Cc: Samuel Holland Cc: Philipp Zabel Cc: iommu@lists.linux.dev Cc: linux-arm-kernel@lists.infradead.org Cc: linux-sunxi@lists.linux.dev Acked-by: Jernej Skrabec --- drivers/iommu/sun50i-iommu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/iommu/sun50i-iommu.c b/drivers/iommu/sun50i-iommu.c index 5b585eace3d4..63ac9d15b859 100644 --- a/drivers/iommu/sun50i-iommu.c +++ b/drivers/iommu/sun50i-iommu.c @@ -1077,4 +1077,3 @@ builtin_platform_driver_probe(sun50i_iommu_driver, sun50i_iommu_probe); MODULE_DESCRIPTION("Allwinner H6 IOMMU driver"); MODULE_AUTHOR("Maxime Ripard "); MODULE_AUTHOR("zhuxianbin "); -MODULE_LICENSE("Dual BSD/GPL"); From patchwork Fri Feb 24 15:07: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: 13151357 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 87FA3C678DB for ; Fri, 24 Feb 2023 15:09:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229470AbjBXPJj (ORCPT ); Fri, 24 Feb 2023 10:09:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229845AbjBXPJg (ORCPT ); Fri, 24 Feb 2023 10:09:36 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A4EF6CF12; Fri, 24 Feb 2023 07:09:18 -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 31OEmsd1005529; Fri, 24 Feb 2023 15:09:04 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=YmcNkv6pAg5FC/arLfJJBq8XxEfbt/bhsTk8A9sLRUs=; b=xtdL1Y6FF24vhXZV+yd6DIdmAkHWUYijx4HQmVl9QHwtaIVqRIfGgxd9WeH6OtDqKyJg 9s/r5ajZylJpqEKS011fw0k0rZ/QiOmDBF4SioZ6ZI9e8ZSrCv2koFt/sYP19D4s1oco PM9J0xyg816fHOmww9bEdJR5gVFo2VAQGfCv5t3YL/jCUP/7adlI8WHpBua2SlnHIOxf hJcZm+EwtAm16AnUJjGaTLR4hvwSSccnVt6sBsAkTzW63VJ+TLpVfz/J7S1Ge72oyYNI FprSfgtrlGMspIRmrzo6c7hNOGjRU5u/rk7kQWmRnaYwnKokHMGqBNkMK6Vcdl6zibFh ew== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntp9twega-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:04 +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 31ODsDM4018057; Fri, 24 Feb 2023 15:09:03 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2047.outbound.protection.outlook.com [104.47.56.47]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49v85t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EiXPeB9M4osnh1Ud9WyBmV1yqoFWhBpyZ9GjElOqAfw5Tc2jhd0F+L9UNtPlXIIYU0PZhBQBdozppsBAGOkEVY2cCRnHbKClf+GDBbziZjmDlf8wYwIq1jkyyAnC72OyayL1FRVORTwfjvYTjTDaIeJ9aWJcNov3VhgEi5FKyxayJRoWzKr8oOwP5Q2AbCMN5+QcgQQAwxEMZCDSkNdzlTGtkDky48oXlv4r4gyIp3f+K2R+/PwRNbCFvF0EA37wOnIA/XvzE+cqtqi3TMS27Rd84+cdAEnXulcYjJEbBNK1NcHr65iXXcC0yq2PPDHDEaEKzRZdH0EHD+Ax06mieQ== 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=YmcNkv6pAg5FC/arLfJJBq8XxEfbt/bhsTk8A9sLRUs=; b=ICg1HsBDa0WF5BLVPFvlyj8Wc/ytoSQf1X9bvrCgLzG6vkM902btDzgYU5PqatE6q1NFrYUCxBq1H8wcuLDUQpfB8vgcCLsJDbp+3dvHXJQrprRX+eQfhz6LyYa1cwktQI2MLdUszPsBEgyB6oWzR47e7GsJ0F62cpReqkU+gtxQSia7aG4XngaAAhtrVlkuEQNCO3gijuX94N8j74zrclPlX1VbZKcvlhggX9aUuPKdrY8arCF0biirOqRa72V3gYemqg/Kt5vQKGXIaIbsD8YEo8kZ10PI6HwnyG8Q9667VFYuwzt5x10gxpvYo4VznacbRDoQKHnRrKebPcqsbg== 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=YmcNkv6pAg5FC/arLfJJBq8XxEfbt/bhsTk8A9sLRUs=; b=p4YIANZ4eJvrE7Q/w/b2j4VGI9359jU5k3vxojKXrtenQAnln4OgmtBRmNGBtN3Kap4mGEr0QNOx4hqFWYQs43TORUD1erdE65WjfduZXRQvGk/xJQTAPje08kNKGb0gVo9BxvVyoMluSdZZiUJSgsRzjbH3fYYs2hEQfdqIgr0= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by BN0PR10MB5303.namprd10.prod.outlook.com (2603:10b6:408:125::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:09:01 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:09:01 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Thomas Gleixner , Marc Zyngier Subject: [PATCH 08/27] irqchip: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:52 +0000 Message-Id: <20230224150811.80316-9-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P265CA0102.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2bc::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_|BN0PR10MB5303:EE_ X-MS-Office365-Filtering-Correlation-Id: efa1d4ad-c7e0-4f43-bcdb-08db16790f72 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6tn5uT8ww3buECeN47ottQrLS7ww7ftH25rEI2/40JYcf0qR9UGNx6YPvkb1tnmnbv2+TL5DspFyU7Qbp6FMc3xxF1c+U3qBUUAppZ5eSxIEcG9uU4hViJakTsOQY5tnnSXG04zOgv6WbbSmwBOd3HdRAFAqttqCxFrWcAMAUtslgYuU6WHHW+M1tI7xxcH2m9YxqcXSF+DmCNwWjc57KenzmbBwSogyx+lypv+3xVlFI75XSudsixRbWV3vUVN1WCsNlb3U2d/J0h16du+BohaHqhxLbO/vs95111VzECO8QF45H0XKBjMXFerMt1sjg6jq7dmu+FS60oTPwfPsJcUUTl266flMBLy4Xv9LbKYhWuvAazUibVvyyZlgR1VuP1QaQQM/MJY/e8wkUZOoAg5EF0pttNRRIP0aWuCcYlnNZ05cNjbw1MD0+uwi1hfE+RZIh362U6l6rVaDVzBcTj/3Cbkj2LtA8Q47wc214tAhIHk5VIo9UsCPz9oOrWM8F0D3VZE0f7g4gKngLs3eKxUcAQcVh6gI3FMwpQApPa4bspGxquAEODNT5/M8xnvTOHgwtLbUwSKWoP/1e/6fbyXLB3IiSBnwCddj8mwnSj83UGIrsFgxUabj6AyVeQ92WYjsCscyBm0kabgCjYnFqg== 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)(136003)(376002)(366004)(39860400002)(346002)(451199018)(36756003)(6506007)(83380400001)(2616005)(1076003)(6512007)(6666004)(186003)(8936002)(41300700001)(6916009)(4326008)(44832011)(8676002)(5660300002)(2906002)(6486002)(478600001)(66946007)(66556008)(66476007)(54906003)(316002)(86362001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: tZgpVjxSBVceWKbIa3zbjDzaDvv9yxLVNin/LXlngNccNDDLz7FBXVNMTXKdRYaguhBTcY6j/L9H2yXoBQy2GD+lcvaEwLWmMa6n8H/kn+mnRZmQrZ7Gmc7KDOACQQmaSmG4pzTte5Lp9zLiPQWlNnmZSKbX7kgD1zQTXny8yKsCrMLbxi8kjWzERETCJWzheMRaqmoDzyhq7r2SRYc31oPxtQg7wwXMBktP/ppdCkm5piQ4hA+3iL5FpBLF7/BhpxKkuyBNpfCDylCeUHLQLkQFWTYX27sN0NkXasyYRsxGTvZoAtBNckPdDJnz+stBw8weKPBx9M3m4lbCefpT9UKxxXfC+1ZiQ3LzgHW6SDsuB7sN9ZDA+L5MzOiMeGX7LccrMJ2boKYJRi6QSEQTRW/a+1WwZ6JWE0KIEdKl3CWZdjdHFbXKASmxoq9r9Gx9Kga6r6q8QUfrQzoWoejVijib8vT6T7cgVetbxegskbB5xB6mE0x8o/cMspskwSnr3iyeLo4b+i5jaiiBm6QwqdrpWrM0HpHu/ZmBdzsCzQVIHo84aZAE+sG2TKcqjBw8tI8cg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-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: hDcaPcgSfiS3j7KTKdSgqMNYBfkDCGgl6J5F51V4B5Z+lV3THHFjumWfuoyezZqzNLmhmZesU/aOc9MKQu9aOJzSsDFsI07DhIgyJmWBfj2LicAyswXkSCKmVgrZpvNdu7EcEVnVTmrxfGZPkru5dEAIFjrR2jQPkB3QE4rRvRT3QOrzlCgaQCbWzYeE25qtK2Nosi81qZuEqVEywlDmYD1f03l6xBq2WwM2GG5jDzQiP2Aw6/zJ2e0ihwkmGZyVH2E++bVionb8aAJqkHy/ozMOvlkngDUtLXjQCEOU7gdzgfuek6NJVySkjIlAyu2q8ssALkus5/RjB4bI8oRVxFa21shQquVxRpF93E20V1M/X2vFoFWtcSrGgmbcmdFJ9sCq/msT+DlBo0n0A+Gyf8v0cHXnAK87LlNSvx9h2/5cYD4USUD7jXFlRhkdNVSeCyyAj2N89pIoeKD0nqCJPQJt27wVk8RhwOLm8THC30KD7KcXgBuM8O6xEzsHNiiB/XniPFEn/XBOqoibFgtaBFGGRw6IrEFiwcdxw5v2EqBrqo+L33fFfq2LepOIPK/BKHrHhORXcMYEclNdCifARcxWSDX8iFBBHGwO+uvme1JfpXJ2Skz1rbR4n+YtQlrZCMrcLFUEryfLddUJgjOFjXaKwZywOC1jWXTbp37Z9fNt/gLs9da7ems4GgvRKQoYDSXSje3pYiKRhM3A6Bf3Su12iAS75lQQ2QUtao0DZT0q4/e4ZeWpv65OV8WzRFZcEk4kqryotEMuowPN/GO6aNAxBA7Q3XfIeyVlAhP9fjarWnFl6nEnDRHWYGs2m9yQ8TPuDxrkY4BYKaTsJ42pp89n09VGhG7Zho6E4RncVQ8= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: efa1d4ad-c7e0-4f43-bcdb-08db16790f72 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:09:01.1120 (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: 593HB9EHzYyePIk7XMd0K2XhPJNck5v8F22iFK3gM6GB0JB24lQ0Le1n3inrPZ0EX362lx4JkWOuxNKv7Yi7Wg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5303 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 mlxscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: EdYKX7WKRYAgiara3y4Q-umDJmcQwwGD X-Proofpoint-ORIG-GUID: EdYKX7WKRYAgiara3y4Q-umDJmcQwwGD 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: Thomas Gleixner Cc: Marc Zyngier --- drivers/irqchip/irq-ls-scfg-msi.c | 1 - drivers/irqchip/irq-mbigen.c | 1 - drivers/irqchip/irq-renesas-intc-irqpin.c | 1 - drivers/irqchip/irq-renesas-irqc.c | 1 - drivers/irqchip/irq-renesas-rza1.c | 1 - 5 files changed, 5 deletions(-) diff --git a/drivers/irqchip/irq-ls-scfg-msi.c b/drivers/irqchip/irq-ls-scfg-msi.c index 527c90e0920e..f5ba3f9f8415 100644 --- a/drivers/irqchip/irq-ls-scfg-msi.c +++ b/drivers/irqchip/irq-ls-scfg-msi.c @@ -430,4 +430,3 @@ module_platform_driver(ls_scfg_msi_driver); MODULE_AUTHOR("Minghuan Lian "); MODULE_DESCRIPTION("Freescale Layerscape SCFG MSI controller driver"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/irqchip/irq-mbigen.c b/drivers/irqchip/irq-mbigen.c index f3faf5c99770..d6763ea9f310 100644 --- a/drivers/irqchip/irq-mbigen.c +++ b/drivers/irqchip/irq-mbigen.c @@ -389,5 +389,4 @@ module_platform_driver(mbigen_platform_driver); MODULE_AUTHOR("Jun Ma "); MODULE_AUTHOR("Yun Wu "); -MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("HiSilicon MBI Generator driver"); diff --git a/drivers/irqchip/irq-renesas-intc-irqpin.c b/drivers/irqchip/irq-renesas-intc-irqpin.c index e83756aca14e..26e4c17a7bf2 100644 --- a/drivers/irqchip/irq-renesas-intc-irqpin.c +++ b/drivers/irqchip/irq-renesas-intc-irqpin.c @@ -608,4 +608,3 @@ module_exit(intc_irqpin_exit); MODULE_AUTHOR("Magnus Damm"); MODULE_DESCRIPTION("Renesas INTC External IRQ Pin Driver"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/irqchip/irq-renesas-irqc.c b/drivers/irqchip/irq-renesas-irqc.c index 1ee5e9941f67..49b446b396f9 100644 --- a/drivers/irqchip/irq-renesas-irqc.c +++ b/drivers/irqchip/irq-renesas-irqc.c @@ -270,4 +270,3 @@ module_exit(irqc_exit); MODULE_AUTHOR("Magnus Damm"); MODULE_DESCRIPTION("Renesas IRQC Driver"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/irqchip/irq-renesas-rza1.c b/drivers/irqchip/irq-renesas-rza1.c index 72c06e883d1c..e4c99c2e0373 100644 --- a/drivers/irqchip/irq-renesas-rza1.c +++ b/drivers/irqchip/irq-renesas-rza1.c @@ -281,4 +281,3 @@ module_exit(rza1_irqc_exit); MODULE_AUTHOR("Geert Uytterhoeven "); MODULE_DESCRIPTION("Renesas RZ/A1 IRQC Driver"); -MODULE_LICENSE("GPL v2"); From patchwork Fri Feb 24 15:07: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: 13151356 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 7626DC61DA3 for ; Fri, 24 Feb 2023 15:09:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229823AbjBXPJh (ORCPT ); Fri, 24 Feb 2023 10:09:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjBXPJc (ORCPT ); Fri, 24 Feb 2023 10:09:32 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8271C6ADFA; Fri, 24 Feb 2023 07:09:18 -0800 (PST) Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31OEo1cp012033; Fri, 24 Feb 2023 15:09:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=ZdUxf61p40EOTlfQcGooePeUwFYbN1UtJqNqrt/PKt4=; b=o7quL1igiAcONrxlQaB/iCO94H28IGpPvtEcKGtDgjgTeSJdx9Iy2r6NhWR2WBrpD3vK ELhpjwmFXOVcCKhIxkMpzvELUjdntJyns7D9VEKzTFpC8s17QiMnD05xr+z9kMz0Vd5q U9ekG6la5du7ZALIZFnhk5myZS76R4+njuWEIJ7vLRmIgjmpwOpZCIMTu6JZXWxwqMCb MzNY9H3dFF+eukHsS32HoL3lMBEZA1PW22+Eb94DZhGpTVrOv9lKWOwUp6xM8oKH4AzJ DaXyGuTjpkNgc5DewFTPZ6shr835JizNlxn0yFjrnKJOY9/evw3/05tuA88JWpeze0V2 Bg== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpjad7xv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:09 +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 31ODdHJL031833; Fri, 24 Feb 2023 15:09:08 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2040.outbound.protection.outlook.com [104.47.56.40]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49qn30-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G5GHjcqqSXKWz9qMiEGn3Fi3EEOsgBEXg1HOFv4FPGvQxJsc1+vehwWFIDgVFyP7YApRhnSCX/RPydl3h9RNOJ8dj6f6pfeujM14Qyuv3M+UDIJi1qsmxP9rhfOiDg2t3kwYNBeqJFO7IMKE4aRl7lB2XbAa1CaygXHpQiG+jimwSUT2RIBKeEcEul1dlASikHMKD9VIlcxCzdjE2yaWkNm8pv0xVZbVgAZwqoW523wY/A5Szt7td+JPQd1rnfRUxEJtWe8rUgJcIt25ppb6Q8AjaePjpCv1k/5mBH83QyjtJ39mduqOXEaQf30QNQpMq5nwEdMLPCeUPXwGQ+cmcw== 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=ZdUxf61p40EOTlfQcGooePeUwFYbN1UtJqNqrt/PKt4=; b=m6Zs7rAsA/SXyTK2lN64YEUvGsbKn0h2M5++HBX0Ow8MIZ32FxVFJAMiKsXldwoeSJhrPgRPW6Iv8rI++Xaac0E2MLfW6Bf3aS1YoumAaa+FhJyhTLOEH68B4wX+L+v5+mGuihEMVbpg8Bw+/2i6erXemVyKu4R8CrhYYb/rgvpAukR6abPIMGBhGU13hs7ej0X/wREa8lTiky0pfsBjd3BO8hYGpJH4DIE5KWUJ2wRH9Q1cPrtzfMqsSOCqyFLJ7gMAluGLuQZ/PaW7lZwJQgaigGZeRtxZv/1QP285yHsbhPMD2gPGxrtOH2CFO+rNtUmLl6dncaP2xT81UfbKlg== 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=ZdUxf61p40EOTlfQcGooePeUwFYbN1UtJqNqrt/PKt4=; b=ehEunke7OKNUTSJtNiBAkyEC8xhiyt9OwM/xht0WOuj9eSOgtXDFjVu9Friou4t+OOCwTntA6LwLJbvE9l4oJAnqS7l/HZw26fwuM/Sc4IMJQ8NnPcFbGaAE++0lz5s59e1azhiAdeuHXCJhU4V4D7T9iuWWzMkH3dxJVJs0cJw= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by BN0PR10MB5303.namprd10.prod.outlook.com (2603:10b6:408:125::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:09:06 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:09:06 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Thomas Gleixner , Marc Zyngier , Philipp Zabel Subject: [PATCH 09/27] irqchip: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:53 +0000 Message-Id: <20230224150811.80316-10-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0511.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:13b::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_|BN0PR10MB5303:EE_ X-MS-Office365-Filtering-Correlation-Id: fb96f371-b524-446b-8b7c-08db1679127e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AcwC/g7JU9vTpU8iiKc/MSV7UM054lilAUe407VJNO9zs/ODDyKF/U4q2tBEeJkVG9Hcm2P0IlQB4I3/ZBqe0KLOYJskklJ2DPWHOuZZvhNLzJXmrnzVVqlwqBq0sqNdB/LdL2ft3TS0Fg4qAAVAOnUAwtb5mNjF7X+jboBFdJZRKVS2O1fi0Giz1gwFII8EAfqR/4pvH5amjI9IP2pkNtFDqCVkP0CpAfvp2G6BpxstbAhCR3hXnjxCc7qfkXFA+g+Evm3P8AlE+bHLB8YaGbJkuojn9AHAEYW/Fq9hkXtoabWCeW+NupBogf2B4BLPnxYt9hW2io0PZV809C/QffWXAQIg4d53tXDN/Fn9UAGqQ3U69LxOOiteUXFbVaxz5vO+hIfLPYC6fwPboMaWafLmzfE9fHoweakoDdEn2YSm4LwIgsNKkTPjZ8Rm5QDsbYIbpuY/PX4EwSpDf/sexYnQd3vRUv3DOkVISY+yVSRRbtQ9XUpHLpjSW181O4KNCXIuw5ao0BmyJFSvTU6q0H4xSciZd3zioVQe84AD6tcBcSEUmiurHtaYPdz4ki1/RvA6EViGTFjQtMjOjb+q0pxQRvnZp9tFT/zfaAP77hdcZ2lVQh3GcmeEnFv5B63CN0Uip8I36l8n+qeXvX9wwA== 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)(136003)(376002)(366004)(39860400002)(346002)(451199018)(36756003)(6506007)(83380400001)(2616005)(1076003)(6512007)(6666004)(186003)(8936002)(41300700001)(6916009)(4326008)(44832011)(8676002)(5660300002)(2906002)(6486002)(478600001)(66946007)(66556008)(66476007)(54906003)(316002)(86362001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 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TslA2X4jNl90Vn2y3bKajAMG1hoZVflPJWuQ7cAQ6mU3yMYut7jdtfsDeA4+hnStwZMQLRPsxHk73CsDTLx54J50OSbcHw810H9Bd8dLiI1mrLcvns3ZjGm80DeJnCuMCwzDmabbhGST+5w1tLRU6QjQkgulHrqDd3elYgsQ+MsVYfduDD1zA5g9ne5BQtdWZskNcZ/Hh69P7cN0YDGSwLb7YlRNbi0fOCVE3ggzA3YJO7Btp1LB2UTvPZAidZ8MNGmzNvh4Ceco937vsosskW1v8UOeicMVSAAx553s+Swc2uyN0cHhdhNg33e2O/pKXljANV9KsM53F0LfunLx/2bLheNUxeeMYHLi/oQykhdaYfNc7iL0rI6w5Y+wm1n53ZIMhUCHDNEsXg1nyo7kMZBKk9rTmgRShblwtWg03RBB6XB540Xr/GaDk0u2BUBwVWuPx98Awk4JpILQdorPnfycg4+TNbMzH8JiM+gG/FVa3uOiDYV7BNqfFsfCpIw8QtDjIn1qsjK6qyyRVyGIQXrjPFCTFH/6RbuJsiVeFx+ZxmZZVxLQVPgYRvbufUsSFE1tD/JyI= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: uVwh7yOSKzfZ3TXHIOufR5vzd9w+HGLrnSsILNPeHtonwgssMMrwcTT7PK7BHjhIudd6lUmSAOwVXKmgshFjDsU3jeHz4y3E17J0dCp6lp9vXDannvRWqypUfdGwKycWEHUAq7RxVcLdraaq5fcS06orSt3iHDlITHAYw3KpgYvchslNjveq58pjU6Og68vDscAn77hspTSnjKRtSZS0wJxQ7spcQQHKJtCiQWrH7pud4yLCi2MMP/SqYPaWe1knOsFDH84iVukcgPx2U5VhwVX3poTuGpiScsNtFS0eo9/yPIFIR6MX9Yl8+297qH0FnA70gBxyjjG8S/wsahyfFbIevfmzsY86S2PbUN/9DXkTko+pZrctYdNhoUdaN9B4ASdWT1urjLxbVCEnNkMexC3cPn+I15LWGheNpeRHYEHnicxZAuQf0F/EEsgF3YmLcZdRYEUn1kPM/+wEVV7y1YYjBpvI/t4FuCmq3SEBTHQqnWy29pZfP5sCXUtoBAhTP5IY5tDZMmxOWx3n6Q6c8YWvGLzZgQQjHTad/UWtdS4//mG8NO1s88hS4xZKyi3PV5uBsGWUsAgBEB+52vslCKrvFuAI4XJnUFHOVFv1qsouXMCgiXzdGeUyeijFrcdAAe+sD31XmW0sQdDXFYZXkarXHunpiG4PIxFriWCZpa+WjlDiIr12uoVKh5qjjaGFvICG7QmSe3ZXD30SWerEqrPbKa9MVoAAYqTM9NyIATcc/qmQhufmHJjUNmUR3LPsJp0GUADH9nvspnVynHq31l4N79SULsYCD5vCAPnTxxcrlh5Mk2OuAqfI4i9pZAVEnOdYuPGiB+QsWYCnexo/gY0B8e7gFOKuNlMpiuT7g2EZplg8azJH0bSbA5lKb+N0F+5mEGjcyNvuh2dw3jiXlg== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: fb96f371-b524-446b-8b7c-08db1679127e X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:09:06.1288 (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: zaznvK6tBObexDxf48XQGGalSQiGMCHrTgUu//etuS1IcOSn0Qig9LcsWrcDkTq8EEZTKu7WO8fDrIVQ8NbgUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5303 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-ORIG-GUID: LTywqWeHdjGPSj_824irozWNOIUZ1B9L X-Proofpoint-GUID: LTywqWeHdjGPSj_824irozWNOIUZ1B9L 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: Thomas Gleixner Cc: Marc Zyngier Cc: Philipp Zabel --- drivers/irqchip/irq-renesas-rzg2l.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/irqchip/irq-renesas-rzg2l.c b/drivers/irqchip/irq-renesas-rzg2l.c index 25fd8ee66565..4bbfa2b0a4df 100644 --- a/drivers/irqchip/irq-renesas-rzg2l.c +++ b/drivers/irqchip/irq-renesas-rzg2l.c @@ -390,4 +390,3 @@ IRQCHIP_MATCH("renesas,rzg2l-irqc", rzg2l_irqc_init) IRQCHIP_PLATFORM_DRIVER_END(rzg2l_irqc) MODULE_AUTHOR("Lad Prabhakar "); MODULE_DESCRIPTION("Renesas RZ/G2L IRQC Driver"); -MODULE_LICENSE("GPL"); From patchwork Fri Feb 24 15:07: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: 13151358 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 AB61FC678D5 for ; Fri, 24 Feb 2023 15:09:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230185AbjBXPJr (ORCPT ); Fri, 24 Feb 2023 10:09:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230190AbjBXPJo (ORCPT ); Fri, 24 Feb 2023 10:09:44 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B4A76CF21; Fri, 24 Feb 2023 07:09:20 -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 31OEmr4o005509; Fri, 24 Feb 2023 15:09:13 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=BNcFU15NfJElmhuFh25bY87V4OCQ6QuCZr37ORAhor8=; b=QwavmYM3Og1u24BXuJNnLjPBUIRqJ+TJ8CXheP45d6276PZ9ec4a0+AFb2p79jbmJmoG PmHQbzYnflj8l13BbGo8fAArgXhhBvO1o0nPXaqj2blpYNplDD8tRe02MggOfCbOTiXV ADgYe6xVIUgh9/3yZ3ZKmO8JwM1wKjsFZhPF5gT0P6iG/GcK5TjxNvGuArIPGnjVSdMw bbeub8eutTOLYCHwzS7yqPee8q5zmzJxcWqVdoDqv+YRbqNdRQZgyzubei5mRmsLq6rA XJfb8snvQTgGG7RBvkT0GXnOkGh4SK8pjwLS83CSZeoYkjMryBADxeUoup17YT/Wp0xV 9Q== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntp9tweh1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:13 +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 31ODioFM018042; Fri, 24 Feb 2023 15:09:12 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2042.outbound.protection.outlook.com [104.47.56.42]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49v8aa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h3fMZ6hX7IIDJE0dS5i2FmGjUFPFhiBpneTERzPumwiL5mzjYw6fDczlZpUVzDCBCExtADIA9kvKtJTVMKJ2opjC407LG6qLx4vbr0OBOyaUYVyNvoHyc+754412r61uwLTTUgSHD8+gjlD+O1ZTT0LizswOXzEQqAqs3wHl099zeFGWcbnBe58EZUM/zFvSjaKz4/8v+yki9zpeicQZ38RuyVoE/x2OqeJhtxiXLsB9uwNkMVMR3SJUoeHfiZFbKjMNNi6zpRyvWEmToJXqchO9V0HW2rE/7dMcnEQiqJtbx0ZukpvslBdbxES65xHufWgqcn49rLirh31nKLsHzQ== 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=BNcFU15NfJElmhuFh25bY87V4OCQ6QuCZr37ORAhor8=; b=VmXam/iDEGCIMjwtamHnovX8EbQAWKOyjhiCKqDy4c3WrjTRGHu4coa1JIrWr1pO9nX9ReuCWv/CM2CxkUCGGUrJCJ4UhkpuHzK0k6ipX9SmKNDQby2YBOCV/NkX4SSwufniUm0GJxVlQoTTpj7Lpq/juLXfi4wzzAU1KAIPZf8M6dKSyN9c2werDFarGFNJ/HR/wN5PJ1ET6nSA7C+Geydyo1nT2s+u0hRchmSJ8ehI0GWQrYHGFNA5gp5dYIveUCXhOC0H9VgN7qBBxj13u0/AzVAuArQgmoSLNlT8p1X1MWK+y6SzrNSlBzGnfMJwRp8gyRUVdye9KxXLuf+6Ow== 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=BNcFU15NfJElmhuFh25bY87V4OCQ6QuCZr37ORAhor8=; b=ke7Nf0DcNEzc+ZwzjM4943m2VNBg4e7GDcRNk+LZh8LaVjfMhQZDQ8X49wqVcGo8m7Qbxxuhzia5ma3yQYK7T4xCO3+gWXYgMp6Fr252b3k0YvvQCCa3tZ/vIr/DgmFAe+VT1910DVEF12ax9+TA1RqrrXsC4Rxtn8sfjHwIuDc= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by BN0PR10MB5303.namprd10.prod.outlook.com (2603:10b6:408:125::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:09:10 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:09:10 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Pavel Machek , Lee Jones , linux-leds@vger.kernel.org Subject: [PATCH 10/27] leds: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:54 +0000 Message-Id: <20230224150811.80316-11-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P302CA0027.GBRP302.PROD.OUTLOOK.COM (2603:10a6:600:2c1::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_|BN0PR10MB5303:EE_ X-MS-Office365-Filtering-Correlation-Id: c04acc0b-208d-4216-94a5-08db167914f6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CrVyYKW0BQwWapnS2mcQRqasHi1szQbH+VQ0/BCMWL5DYfG8DuzBtXorMPJ7ld81fysGNzBpzXreMQEirW4388MdV4TAVygcm31ag28/qlrpMBdEgMkYH8QywGi5mA66qPBRr6CJgYGOVX7p9nOFRtUxSwVRS8C0xT+X1nrhRfciaCSntEkpj/UQk4Qpf+ARkFgco2rnLOSXygzpGEyvj3lVVVmXvHTjCfYe8NrqUA9oDWmhEE0kr3luvTEPRS9KSCyRt/b4hZGVr8rdYVDl1s25vO7ShOM2hy+vigaIgbZadpcjQo4G3e9az8oordIFTQaQrC4ivG3wPOLrCLxftAwrl5Gf3X21JzR4+HATPjESK/unQlolAY0gGZBUzuLDX6XmhpKEOgYHyNRCNRgX8fDt2wEH9pieWdwzeZhf7i7V37iyX8HG7Cty1SbL+7vxqyXWPUjfcK0WE0MoHFx2eyHLI3aTTYJ0pllQgLblMvn4yFMPqZ5JtqXoqRk34Bz5KQwEKDBZ7fOcwQ7jSbiLs1Wq/YZyQ6YW/1dJuidf78rHof9pj52Dq4TUvdTQ8EN1U5W5EeRoGO7yV2JNQ22lisqCAjPUmgSDAbf/0QdkYZhbbpx6odXEYUXS1J5Xxlblx9YJFG3+shw0XcKSG/sc1g== 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)(136003)(376002)(366004)(39860400002)(346002)(451199018)(36756003)(6506007)(83380400001)(2616005)(1076003)(6512007)(6666004)(186003)(8936002)(41300700001)(6916009)(4326008)(44832011)(8676002)(5660300002)(2906002)(6486002)(478600001)(66946007)(66556008)(66476007)(54906003)(316002)(86362001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: eY12tJZeelPC31vrF3IkP5k7OpIbjTo/KVksMd84nBXSFm6W+M+zBUIy4YcIjwy5GQ4fQ/4tTezp5kiWItEUpBGg8RoaKzvLwNUT+8hjDc4M4dziWXLQUBlZKTVmUGmiZOxOLHW6RpnsEbq7t0p3rICVfP2pW9geQBwvDf5QZFH0XHbQkddzh5PjbZx3E3YlTVGONmsZpMDE1EiLLrHBRAeH5gGbLqoEnedGVHQSKPvWYcfAnfxXV+XDS6Z7AR4vJWWy0Q18XfaxXMNKbVnAqSn8H0K2sATVJOwtjvXMaEJF+tvEqkBQPd5gHboD8lQ8l3fdUxM+s45F2pCwwxOP/B3XQzqWj+lfPxEUL+LVOxeSGR6OKknmVdd28UJa17SP6syb4TsikQzaLQ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tjFU2PUDXLdgpTKi2Q== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: c04acc0b-208d-4216-94a5-08db167914f6 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:09:10.2552 (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: fLkCLQ0iXm8iDGfRQR+MisVie7dH06LxQCvOvsbmH9vPscDwR6kG1REnEWBtBPAIchpDD+s36UT4GfH26TLOSw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5303 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 mlxscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: wjsiGknd0mhG6Msv7jNZFBybNnz91RRu X-Proofpoint-ORIG-GUID: wjsiGknd0mhG6Msv7jNZFBybNnz91RRu 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: Pavel Machek Cc: Lee Jones Cc: linux-leds@vger.kernel.org --- drivers/leds/leds-asic3.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/leds/leds-asic3.c b/drivers/leds/leds-asic3.c index 8cbc1b8bafa5..bc7e96c3732a 100644 --- a/drivers/leds/leds-asic3.c +++ b/drivers/leds/leds-asic3.c @@ -173,5 +173,4 @@ module_platform_driver(asic3_led_driver); MODULE_AUTHOR("Paul Parsons "); MODULE_DESCRIPTION("HTC ASIC3 LED driver"); -MODULE_LICENSE("GPL"); MODULE_ALIAS("platform:leds-asic3"); From patchwork Fri Feb 24 15:07: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: 13151359 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 0015EC678D5 for ; Fri, 24 Feb 2023 15:10:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229677AbjBXPKa (ORCPT ); Fri, 24 Feb 2023 10:10:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229537AbjBXPK2 (ORCPT ); Fri, 24 Feb 2023 10:10:28 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05604688F5; Fri, 24 Feb 2023 07:09:56 -0800 (PST) Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31OEoRAF007465; Fri, 24 Feb 2023 15:09:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=uD4Cm7onBRqrJ0SMiRRvSqHMQQFPr+vOdtYmLM4NMT0=; b=2tyIEJG/MdW9VvBvM09JBwkxi8DYGwtZ19whVW1/nwQ+UfLplmqzZrZjdIQ7IaNegb2v PJp364jQwf8PrvulCX8Z7o7WwpOSUtQG6I8ghL11UubpkhxQOI9SV3ltos0WCYgCdrZ1 rJzZRLH4wkG9hd8mh76AVvhJynmdOKdRWeMuNIWUXy68q/+f3zldmB5o+Ib5GbyNphtr HsxiR/+nY9RlcneQPzBU3p/zaHhU98vbnSM+nujK1fZ0ZwXlKvSm/HeY6LmoWId9/+k+ dDpHGUZc2OqLlnWPYyu9Z38xX3Wfwsa9FutKwAAQ5M2OjdWpx4qKhTZFcO+DjiH+0QwT YA== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn90wb43-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:18 +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 31ODh9Mf031681; Fri, 24 Feb 2023 15:09:17 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2048.outbound.protection.outlook.com [104.47.56.48]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49qna1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZdnNEVONbu/x795MbggFvaqz5g4PXfBZTM120wNcORaVUsSVYfkIeXnFgER1E38YJ8BhgJJzKi7iBzwONCoh25JDWnVWlBKb8lsesRushTyePZs+yPzm/8UiWej0SoPZQnToYnFpxQY6YS7qvvIvODJJtjQ4ZiNOZ5/zrzBY4sksidyvxztuwPJoVFjhL1QnNHWpqxz+NFk17WpvF32QFq8f+avLgUOm6EWETWjj+GOLvzT1N5esfpW4pyPY6mxRcbpahAVQxfOg2PjHjNWzJl+Wntv/oRRDshMApn4isZK9On3eXUBa2Z6xwcOA2UvK7B6nlp5wZa3bjabowZjV9g== 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=uD4Cm7onBRqrJ0SMiRRvSqHMQQFPr+vOdtYmLM4NMT0=; b=EmnDftrS20PUet2j/aGmrixIf8p/++4Qd4iikFkfsAH7741rqPq+uGd0dmbBfZ6yzJ47/wIQAVa+e5j2mjBKCZ9OCgkqGRvViMMpugetnOfifMoULBHgEJRQcw2Je2aMhLcTFLicNnJ4PW3YCRbKwyJVHbyeWx8bXpYMb/SFhXshOsuWtZ7/dF9cTnDokp3eg/vq0ALugQUXVyhKG5SOkGgDh+c/JB1N7r3k2AvvAx9TteaiJig4JXZeDsMa1dBPtC8OYdBXO1Po4bmtcC00PMtr1wJKOHrszdKV/zmwyfgrtt+NYcd4eTT6SckNESCQXAgZ7aTERayMqBpgcgwMkw== 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=uD4Cm7onBRqrJ0SMiRRvSqHMQQFPr+vOdtYmLM4NMT0=; b=uOmNbjqVjjgyXjsvFFDS3JhnifU6BjQK/XZcf/r7RHyS2V/vcMN8/wh7MCUXfPweIwdlIesqMWA7jGy9O01G62H/r5e1o2qMVQded3v0Bcfki8eeT8ZuhxJWQr2s8kghey3oE0M73OSeIQGtCG1el0V8njs64VuV4UG8AV5BUaI= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by BN0PR10MB5303.namprd10.prod.outlook.com (2603:10b6:408:125::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:09:15 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:09:15 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Jassi Brar , Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 11/27] mailbox: rockchip: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:55 +0000 Message-Id: <20230224150811.80316-12-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO0P123CA0006.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:354::8) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|BN0PR10MB5303:EE_ X-MS-Office365-Filtering-Correlation-Id: 29b6b5a1-812a-4c90-7db7-08db167917de X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wHGnuOztv+wQWWbI/IgZbNXNa7ThcPSIkbQvZX3i8e2nrYm9zXgg1OECpbG0gihNHb8W1md79vSowY+0OpzZa4de58qmzCeSAle73KmUgJbUUDZfqNuryGcE6cmkefAjZ9SMBZIBQb72/tYR1rpUJ0KYCNjHCf1fKa3w+yS+RgVECINJMihj08v9Dve8/m62Q+N1IctVVJX+l68fdGU88xKJWYM8nBWFUJtWC+COgJ83s5QrtTpQod5f3jfO5dLvQGwQZg6XPtesNifRBES/ONmpwe4i05p75cA9q76uC4gX2eJXZ8Vi4tTY7b9433Atu90xuwU/TyJSs+YSX281InBtXA2viDtq+h9PUp7B5/snQlzJxgryn5Nlsgy/Z6gDXR/iS2CsRUY2WikFZc6B7/ARTQNwOrh680T0KZ7Y+w+7scGxBwJhfZPw3NzbLFzFhCwwVy2mpQahOg6rYhe5VMReksMcxIiHaBD5tgrgAXYLdP3hCJtYf6GzibQNF6y91Fg+08WKl7+Hi37+et0rSNXBdZZYU5GpL8jJ1m+vVRrKifxTKP/YppBiIOlScYVw4d+uaLBg5icO7GJR26q4ja03N0/mTCTAcqNJGYEpu2SH2gRUiAAHihHNZib6FoetEKoglIW7AOjqG6zFxLVLpA== 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)(136003)(376002)(366004)(39860400002)(346002)(451199018)(36756003)(6506007)(83380400001)(2616005)(1076003)(6512007)(6666004)(186003)(15650500001)(8936002)(41300700001)(6916009)(4326008)(44832011)(8676002)(5660300002)(2906002)(6486002)(478600001)(66946007)(66556008)(66476007)(54906003)(316002)(86362001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: uECHE4ovAeLUffAOzw4dMIiA52D1l7hHcHXbprCWWABTVv7CdeH/bmqX3q56eU8Kprz38JimDJDuFmhyXxpmrcEWLsTn6CIQrIrKKhohw/O1IHFZwIXCL883OXoGHblgTVfpV9+ssgw3umVvX1Q43TVsuWZVgTZ6u2gDRx93MC/bfY8GEqzZafDCbN9rYSTBhqszskfCNZse7NYD1JMNe9EN61cPv5T2vROHRINhXp4plxUQpWNH1YqJWKXcjwph1W6mCE66c3j/5R0/A0ncS0mqEik3AeOKfunX1IrLZbfL13TGBVAcXnG4M+bgm+0UdD0mwiQqbGFku+zt67AxdvGwH4TNSTVF3D7KbdJilVAHp/ebAcHDiHH4r1otstUsMqZCC81LQ9o94gKULgkONspMtNWALbytPnwkGr4IhlMlKEVUFCIdyrie7jH/AJUa/kZj7h9esZlWhMRJ+DRnPN1M8TK7rJOjnicd5jtWiTPI5FsbIx3Rj93cb5judUL/3LjKftXgSnz97fRZ8sYHA54LGG6uapNYRyqtIXofizMtEYhAWziZDxaQTDXXHZVRe6Oofb5HmbV32RZjknI2ui4xEwLK0TwSed0lBN+SrEU1wqZ2og53u0gXjalDbePd39te9nQujEGTGdbYJPBUdLD0YNBQDoBlfwc6qpcOdTEhuPDMjEfygiJ13OZnUeNZ73mt/URMLbE2tkHgMFu0g9RBGKKIX9i0eaOPVB52X9ilgMSiM06Hr+HXoAZIJ5ubIztdrUTl8SuNtQLSTCZgtUyoF0xk+Lrc37BrnTdaHSIc1RZX/vSnnHm8Qth1vP1IqxttnFbXud9EqErs77TK9FSLZVwmE9lkngfoj/0ZFwcvsE2IKG/bwo9t1UHjUMkMBM02WsxSgA17YEo+NhcLyRpKPM3ib3O/+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mSL9ZwZQW9+UZIhxpymr4AZjkkk672LB83m6YFTPGO3QpXnn4SBconBv6n0Pc1YYp2KBBF04Gg95X/n5x4CWjwGHMMrs1rloWG7goTr2gSC0ZPGZKQ8Q7e0J6Ryg/2xrIKVMIyxdWARhwdQLjdbqniGdbXecNOvUidJA+7POhLyYNu72H+VpGJLfbAW1Ja4Iz141Qb5Kk5R3DPFk9d7xhvYyzfNuTOL0cuC0Rsugk7aOX0YMCjId9PSEGxlQneYelzBhmVeBqcNgSK05Hv/U5TI8obGM+J06s/9c9X1BaCSw42OywZLDE18ZAphi/Epsaxe5t+tPWPZyC7oKhqD97D/W6fBJIASNMJadQFG886jBNraWA3VBG8AUFfr+6MhLwVXk+/015yQ0UvBXP7OUGB+x0n2IIus9AJVzdDEPLo1MWQU7CMyEHcu+sFAmuFGI5a9E5LlLhajwyNtAsxloTFBQR3ksiQHtITCsYUprgrNw2uefOPZM2nEIvV9b+ud66aDFX6BXh4XNZMs3iw+3xUrPWWqSD2tWCxAZoy3Z8egXATsDRId5/K3ozJUSvmHFR2pW80LQgh1Laf6EpF+g0NxOLY3FqO9mmn9yMaQ2FCJr3c1FD8t1Bdy1SkbOl7UFGdq7skOUMBeU= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 29b6b5a1-812a-4c90-7db7-08db167917de X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:09:15.1462 (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: nEZFaO7Y48aWIPU/Eh6MPiKgCocgml29sZPqfTN4Y+xzVicww7WaUdScMnBp1sM0A1jgbSeSAp0cflb6HOCFag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5303 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-ORIG-GUID: agZWTMsE4WXcnbZXykDGEQWgGBY3dZyQ X-Proofpoint-GUID: agZWTMsE4WXcnbZXykDGEQWgGBY3dZyQ 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: Jassi Brar Cc: Heiko Stuebner Cc: linux-arm-kernel@lists.infradead.org Cc: linux-rockchip@lists.infradead.org --- drivers/mailbox/rockchip-mailbox.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mailbox/rockchip-mailbox.c b/drivers/mailbox/rockchip-mailbox.c index e02d3c9e3693..28d7bfee2641 100644 --- a/drivers/mailbox/rockchip-mailbox.c +++ b/drivers/mailbox/rockchip-mailbox.c @@ -254,7 +254,6 @@ static struct platform_driver rockchip_mbox_driver = { module_platform_driver(rockchip_mbox_driver); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("Rockchip mailbox: communicate between CPU cores and MCU"); MODULE_AUTHOR("Addy Ke "); MODULE_AUTHOR("Caesar Wang "); From patchwork Fri Feb 24 15:07: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: 13151360 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 4B59FC61DA3 for ; Fri, 24 Feb 2023 15:10:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229985AbjBXPKb (ORCPT ); Fri, 24 Feb 2023 10:10:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbjBXPKa (ORCPT ); Fri, 24 Feb 2023 10:10:30 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06C4269AC8; Fri, 24 Feb 2023 07:09:56 -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 31OEmrqa005521; Fri, 24 Feb 2023 15:09: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=67XuLq65AUw4fC+ndCYxsy+aXRFVgmuRkCdm5depkbA=; b=rRiypWborqz0Jjfv+kd+FB3poar1zDwHs+mPM1oz17vY1SEq9Mn4V/vWhl3/5lufUvgq 7l4f4VI8Xd/5O8YzLkTa6S7Pq14YXRuawIlnzNnnCVSN1FAiwAtrNyVI0bsNPmphHbw0 8EiI+LmjJcvdx4eWzl/McN1b2l0+4pLgHHMAL4EBGpJyBCIgVrvTR3wBFSDA2w66p+dP fyvAGXm+xS3WPjEY6Wb7fVCEfvuYglZTtONpKrmtRIUeNR2gGpEvLCQqblDU6rhf6sNW Gx4Q9WQW1Ivuaf5LuTlivkavfeDR4rXW/7gkJAZJexrnZ8qVniUdJM1D+9QBLnSw3+z2 uQ== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntp9twehh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:22 +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 31ODWTAY017930; Fri, 24 Feb 2023 15:09:21 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2041.outbound.protection.outlook.com [104.47.56.41]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49v8f0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BJAp1FR6Hm1WAVpp/qEFIAdGCnBxH+d2TRJer6xm7gTy+mVywucblZsrJr5ZheRTrjKd1GIXihECrFxVQm/ZdhgCb8XomTQDDCHcdX4BA8CtYjT6TzSeqdHd3FcNKE9bfH4vv3dvJtPm/kCUv8csk1ZteZ9kv8Xl8LTf+thUyzXd6r+aBsf6YIbR9e11PVReoaVERGwdxsfH+R0Kx6pv6yLYiy2Uv/+Soxj4ttnVoWQ+l5wankvemIi1pl+MKG/jcSv1UzpCs30Pjg131b7VxguklWh51e2bqIP7faYDYmugcQuH6vktUs03iKz/Zq4FqFSpEEXVM6x1Bsm/1ya5PQ== 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=67XuLq65AUw4fC+ndCYxsy+aXRFVgmuRkCdm5depkbA=; b=GUSM0KTVpQhEx+vRlYyatjURmkRfM+T+ZB1PoY6ZNCW3dc09QO4exLv1j5VkufClVeaSQW0jUeH0V5P0Rq5NIo6qET9/2ANW3m2zJmBWvuRoAIbAU3JvtZa3ZwbUyXmLX8kYqmRP0QiW4Z3LmHTh7HblNLFddhJ86GOzk08bxJzNpvPvMU3I6CE0ytaPZwRaQhlAJrShhA587iCGqM3+ROGe5wOL+aTbBhxbO7kwxdlNKl91691nh/hd1/hOM6Qnj1dQY44hhZ4dtJWZ8N7+gqWVVUQccXCZ44HCIPIj7v8Zko7jUH5CvlDrO+SfhTFOGCjdjnCPXw7QzkyiKRK1NA== 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=67XuLq65AUw4fC+ndCYxsy+aXRFVgmuRkCdm5depkbA=; b=KI/DmuaBWS2ZFCf0dVrlDgqbAEGRup6rstS1cB5yiOzHZ4mI6RXk7fUwc5tzBRrx/tKqYMwCSsgxf0nWS4R7eSxxAZnBEZ3phCmKvb9LIimqudZu+Ug+17ozBGoetEv9DcDnnhlG6n9arYLlLxvR+oCXnzjqMArd28mlXxrlZVQ= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by BN0PR10MB5303.namprd10.prod.outlook.com (2603:10b6:408:125::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:09:19 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:09:19 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Jassi Brar , Michal Simek , linux-arm-kernel@lists.infradead.org Subject: [PATCH 12/27] mailbox: zynqmp-ipi: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:56 +0000 Message-Id: <20230224150811.80316-13-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0515.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:272::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_|BN0PR10MB5303:EE_ X-MS-Office365-Filtering-Correlation-Id: c71ba46c-df46-423a-8a01-08db16791a92 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IsaSxZtpYaxf30+Bu/QqQbCSjccIEasbyg2R3C5oFMNcHHk2LEpJwrXF47omWSqeBBewKM+aEHoLIz0J9mz+1pivzkZ6j/yoUT5g28Jt01+C67XkDc3IJymrHyRuqtcH7/FXongFocG/wDR1Ub97unQrNJy+kDhmWqv858J1ogVFz45fnoqGe+eygewsIoxYRbtaDGQOtSAjEtAKjlH/GQuDaA8kn9fnZyYwYh/dznZBYvrfZDEbw6xThrgRinVLFEw9AMBCNmZXiagd6ZjNyg5q7A50deN9WTj6FHnBsS2XYPTebDfeEm3deeeVB1g1mp4qbe4VRc7d/4oB5ArftoYLWctab5Ad/CEPA/mM5Nbe8rShIzZgv5qGFsg+0QBdXVQtBPd2p0727zULJX7F7JPNrSLSRr2jCGXthfCeyridTEWcN+3nanQ27kxpJysv6KrWhP4kBBLj4mJkC95nOPO3ABCjD98ITQz6pVF/SY+TzAfEGlqE09jre02mDV24SbsTOOIdzYqe648+2iiC1RFEA1oUWONtw2tKrfDcwJrINmpua8r3Gr1JZH0CWJ4Yy1xKOOG1eZhhUM6dM0j/KdGWa3Ei2XQX4DsOxLP/8MOHrzOLAQILz8GIC/OI+kiT9oQ9rr7l6c+5UrDc9EFKTg== 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)(136003)(376002)(366004)(39860400002)(346002)(451199018)(36756003)(6506007)(83380400001)(2616005)(1076003)(6512007)(6666004)(186003)(15650500001)(8936002)(41300700001)(6916009)(4326008)(44832011)(8676002)(5660300002)(2906002)(6486002)(478600001)(66946007)(66556008)(66476007)(54906003)(316002)(86362001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TLiyeuPj/GP6Ej9m8FB9tywxh38y9FP85ON83QaYeh2r7g5VxJBXue7x4ey8OVp+m0rQL41MUwJ+R8TsHr+koDtJuolIk8JeSHIoh8Hd01Ad5yHx4uMlntnrZIsELz5xFxv5Ptcf8NrWwKpJnCEImLL9c/mzxr+99xLBPwcZSg4l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LNeSzUYZXwJUSAdVT0Rf9AR3Gu0925s7wCnP5iJhZpk8rh6/w8K4gpibx4tZFbSVYxlTOa3AQMFRw10Ypt2ehizmG57b62hMUMlTkGpdw/X80EtaNGrpoGsnyScXBem8snw7SXLTIAEyPS/P8ehev+hU09/XWZg6qbZ+0u/GF7XodeUKlDtKW6FIY4/okE+HQ5JZZg6MCvelGenvDoRPr1dD1in/d+xMlZmDEkCa73dyVBtKqEz1A+B1V9M1oGsMBsmML2oRb6FqTvUhhHlgrJBaQUisntuuoWBxnWiXQFxsrxLZ84Lvq6wDTkBxJ8jKrapihvc1RjsEO238y4/D3cafQj X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: c71ba46c-df46-423a-8a01-08db16791a92 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:09:19.6659 (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: iwh9mtdmh7vA5MejR+rFeS5ln/hFKbrLLr/qBFCksW6iV0TExM+VR0Y3ChQERUkOTaYWvZFb1h79AW75kGWjvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5303 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 mlxscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: 3V6czWXVGJaUog5J4GVlMOZsZ3JnQkxr X-Proofpoint-ORIG-GUID: 3V6czWXVGJaUog5J4GVlMOZsZ3JnQkxr 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: Jassi Brar Cc: Michal Simek Cc: linux-arm-kernel@lists.infradead.org --- drivers/mailbox/zynqmp-ipi-mailbox.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mailbox/zynqmp-ipi-mailbox.c b/drivers/mailbox/zynqmp-ipi-mailbox.c index 12e004ff1a14..c4619d31477e 100644 --- a/drivers/mailbox/zynqmp-ipi-mailbox.c +++ b/drivers/mailbox/zynqmp-ipi-mailbox.c @@ -718,6 +718,5 @@ static void __exit zynqmp_ipi_exit(void) } module_exit(zynqmp_ipi_exit); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("Xilinx ZynqMP IPI Mailbox driver"); MODULE_AUTHOR("Xilinx Inc."); From patchwork Fri Feb 24 15:07: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: 13151363 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 AFB89C61DA3 for ; Fri, 24 Feb 2023 15:11:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230244AbjBXPLN (ORCPT ); Fri, 24 Feb 2023 10:11:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230207AbjBXPLI (ORCPT ); Fri, 24 Feb 2023 10:11:08 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD3E54DE3E; Fri, 24 Feb 2023 07:10:30 -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 31OEn2pl003369; Fri, 24 Feb 2023 15:09: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=pESwYL4yE8NIIdgiAfvzSmpCiCo0iXNFKa67SEfmtPY=; b=Ver1JuWN7r0oWjX1jMKwUxP9zD5niaanm7cnBUkuohsoemdqb0p64139LUceRSqiiEMe 0kUJTcRleaurUWVMX2jMwhHR0gEtASarYCbhEg5BAIloKu1oSH9fe3INFQZLw5aLjd1G ynyFtwmTge+m3PUZcT/hlAdUkpAOpgg4Y7PE2JgQDZYjT25iY225wQdXL4BnnOWFFguS qDlclyb3ABKD3D6L3dBBOev2aKwOSozOX3sHHx+t1R63fORFUjXBFebcIifWhZcDx6bv AQOUhYi4PkpoNZn03vnXDfaLMN2MmqSMyI+fNw20o8Tu2wlJaPwEj+cfp5HN6/+Kl+56 /w== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntnf3nbbh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:26 +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 31ODKojb031919; Fri, 24 Feb 2023 15:09:26 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2044.outbound.protection.outlook.com [104.47.56.44]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49qng5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jixLMynWj6j5ln7RZaaQM5tbtKKLTGRyNLhUnCbwWnhySuY7GnIdKtezwnuCLDq1MSzy/5fsuENxCrBp+83SKt1vBtffCxIpB7qxYSrpjTd50ehoRnnaQ90XBVwRMOMEWnZnHjyIz4hz2XytdVS7QSToo54iePV+KQQhIVoX5hSWndmxX+glyxsNNPaLI2MCY0welQ6wM+AAT/5FWWup1cYxq0fy/niLJTcJz77V9L110v/AzUgZgY4JIrINk9Oj/c6exIJIRZAaD+pfsr/UzqcvdyQ4RDI4NJ/KWOcq1YUF4JA3utLVUvIz1sgmnYVvMCDgAHmxG2neMJijx7O34Q== 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=pESwYL4yE8NIIdgiAfvzSmpCiCo0iXNFKa67SEfmtPY=; b=dInYhWzSFJwestAAqi+kmK1Ulez98HVGdCD2hFKYyyONL7QFZSVqawQ4q7qGI6Aauc0cU6rhiN2yvExHxhFo70KmUyw1yfxDRKo6wTfFNj5zxxqhnDDzyn7/+MmOKKdGpFXsbIjQY9943q7FXTYgCFdGw5IyKPO9Dq9Dlqgy/m37V6xx7uPQny2+hi2Q+ZHVe469sqavbAXXZi9RZ8BijTLBhPMzpK3//I9Y0/ssNUevt/2eeEsZaqhDKKT5WTtBsiu7soS4s2TOQqJzI87Bo9qJJ6Fuvxl+iRIH8iH9vtcEhBN8sPzBaGPD20u80OM/bywvYeed6lUAU7kWRu6zqw== 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=pESwYL4yE8NIIdgiAfvzSmpCiCo0iXNFKa67SEfmtPY=; b=poWXmqzinBC7KM5/hWr8lmVI6aKEc6QGm3O/aIF+twwrEdjLZtxfiJMCQ18zCSKUgwrtH8+qi2kAtU8adObAe+QslYjF67/EU117+jGLIzLNgCDFQ9etNpZCbWZMSv5KhDri8uThBNILBg0rYI+hn+fCCRyyZ8MBvoYK5Vb6bWY= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by BN0PR10MB5303.namprd10.prod.outlook.com (2603:10b6:408:125::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:09:24 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:09:24 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Jeremy Kerr , Matt Johnston , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org Subject: [PATCH 13/27] mctp: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:57 +0000 Message-Id: <20230224150811.80316-14-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0583.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:276::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_|BN0PR10MB5303:EE_ X-MS-Office365-Filtering-Correlation-Id: 5c446e79-1bfc-4835-1056-08db16791d46 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LtkNPwwZHVjDxXGo5DTP2no/eE0se4LvbwqaXF3VG51BLdNwUy9tMBaRfAEt/uNbmjicfgkvtwQz6aW8LFT++knft/9G4lDbssHMgVLsO7r2HeCmCsYM0CsdSmyO9QoHmLmCIFqt4D8jSuhqiYv1J46sVWytrIVEEy/e95wGvrkByk2ew+Xqd2+Zn+GTydPL/JNgQYLv2XfBvyHOKVz2qtCus8yuHLnpGue4XNX255ZOG/KcZMMceeI/ejQ13flSFhUtgEdM+g9KGHwkiKO72xPO9xyBmetiHp+V5jRgGx/L5bVbENJErZ9oTldQgS4MKfaowwzTi+/u9ZzNVN1f6A/UrI7D1Vv/4CmT8q7MOfOUm/17bqOalO/bIDqQnCNV3CxHmHg5FEHSMshD4TpIOSNUxuBV6yzjWGLVJJ+LLQQO9YXsZ8dQizyayB/OWWmCYht8rDQOMOxwk75rveGmSsll745n+TcHjdbL0RaB0EoWnKLy3f3zIVGl/P5gjNaXqftsWU2oM2YoDMv4HN7AmK/huINTN1YOBLg8LlDKL9PJ/SheGpsfiAl1Fl2JdfslkKRJePiDaNUyGLGDXGkgmezDdTW5vuJfU7Kc8vsVkYpqNjJUoBBj6jiakwQX3tVRkBPmNPC1nTvhyEnjsp4yAA== 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)(136003)(376002)(366004)(39860400002)(346002)(451199018)(36756003)(6506007)(83380400001)(2616005)(1076003)(6512007)(6666004)(186003)(8936002)(7416002)(41300700001)(6916009)(4326008)(44832011)(8676002)(5660300002)(2906002)(6486002)(478600001)(66946007)(66556008)(66476007)(54906003)(316002)(86362001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: S/8VxAJ8+zT/TrIZxDst4fz5oxJgWzTOYZMguIEMJaJldEAfPtLJNAEpc8BcPl2gz6jWh8j9IRaeJNNI65Y8zJ7Q1hFc4GLrIvBZykTnD4pIEs7GljWuXzl8K/Zs7np3qIxkLaokXVVa73aQjbYnA/16njz3xt0Ii7705f8K0VCCOQyyyEksZ+HRGVMejIk0xzqc74B7n+jJHkvVXjanw3qdwZ7bzqQcv6T4lovJsSvTqoK9XsTpy1Kc2/tFtZ6W3QG+oFwbb78TZjBfYw3eL9p0LJ+/h8SOnqXYlk8Gf3m0Fw/52aJBaXPbQhbehSBfgtEEYy7f9QfRrWzVboFaDw38fqMzLC6+pW9w6nu92ZOnRq40cZtYFarWbErbcdOu1w5tJpOoUpCqDzcZn3C7aoPATuSTEETCfRiRomD21XtM6cI91zqD+zMwg3cAib7vnrW+/GsjMw7NKz34RzdhZcSsax9ptGKZNEpLSjrVzODvpkrzhGJx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UWCVfEgr7InG8UFT6bvmfmtVJgaKc6FkuaVHyLrlD+GNXfaT/JMs/ky3dUQ1Kjf1k= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5c446e79-1bfc-4835-1056-08db16791d46 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:09:24.1979 (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: 9fpzmbE3VVS1EOi1kpR2Fio0GiLUixImbgZO5esCUM4pTQL0Y3dnbxMQ1Cl1lQLVPmiS4TWNN/VSiZqn7GsBKA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5303 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: 63iDsnb3qGvS-E25vveWIk2xeWFKuP7V X-Proofpoint-ORIG-GUID: 63iDsnb3qGvS-E25vveWIk2xeWFKuP7V 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: Jeremy Kerr Cc: Matt Johnston Cc: "David S. Miller" Cc: Eric Dumazet Cc: Jakub Kicinski Cc: Paolo Abeni Cc: netdev@vger.kernel.org --- net/mctp/af_mctp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/mctp/af_mctp.c b/net/mctp/af_mctp.c index fc9e728b6333..2e763c398e92 100644 --- a/net/mctp/af_mctp.c +++ b/net/mctp/af_mctp.c @@ -694,7 +694,6 @@ subsys_initcall(mctp_init); module_exit(mctp_exit); MODULE_DESCRIPTION("MCTP core"); -MODULE_LICENSE("GPL v2"); MODULE_AUTHOR("Jeremy Kerr "); MODULE_ALIAS_NETPROTO(PF_MCTP); From patchwork Fri Feb 24 15:07: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: 13151362 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 B15E2C61DA3 for ; Fri, 24 Feb 2023 15:11:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229847AbjBXPLF (ORCPT ); Fri, 24 Feb 2023 10:11:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229770AbjBXPLE (ORCPT ); Fri, 24 Feb 2023 10:11:04 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5774392BB; Fri, 24 Feb 2023 07:10:28 -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 31OEo1Ab012036; Fri, 24 Feb 2023 15:09:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=4ylDccIUfnWDqhO1yL0oNaOMt8BcHXP4g8xqjvn6nDA=; b=nrgVjn1YTY5Qt0pI9Zls+FMQ2SNAugDFuIu7xXidYbSzr5HuglQG1uZIPaTx6Ux5sAAu LqHYVgcc2OjCswJ9lmzS7WT+heE43JM6x02S59h8d42Dv2v9PubbcOTBtWU9IZIQp0dW +g8dSGfYLtMH/GQIvHCU+m2bI9KnbLFWEbXrmwuJFHJQFujYzIa8WMlaL8HZbGoYOgq2 qXSq5oWcuXvHKQcPkZkapVUJq1PrTCTHrv23JUx3D7QyRGb0KIvXFXOlNOgAQgW7AlsN 1gy97v2Wp9omTOxzp0vzQ3pDeIQFj6LeLGoPjpqZqPIi1THE9BHJBNILUkO3dlJzTb43 Tg== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpjad7yq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:33 +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 31OEm3SK025885; Fri, 24 Feb 2023 15:09:32 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2041.outbound.protection.outlook.com [104.47.56.41]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49kfs2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cNLavepIuL54eGp46DEVFY9kAos7JgqspT9fj31+IlVWL+Kdd7jztuVC/R6ZdL8GyD6HPVg49jlMBXY/9bD9i3xQVcxfUqG3QEMvSMqi8OCFkkgJuf9xp8PvKZav1+phORdec/P2lXMt243/+ZehDhy6js46pnSl0rQVLJX3DKvzW6NGOBVbzxTkjmkSILpvtI4ID6vxdE3GnyeByH1foIa+i11ho6sTPL/MgVEaOjYZLRSYx5w7w+gAqBxseE2Pf+wljGLROJCC0Saiu4Mm2fp5QhvT3Q90HcIo8RC4ThXgwkCnboCQLKWiZ8RukbOAM4jc5Ssphsi50GSsItcEmQ== 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=4ylDccIUfnWDqhO1yL0oNaOMt8BcHXP4g8xqjvn6nDA=; b=UWnl5oX/9Sacp7EbrBuOoP7yJn6rtHN/Gg41+zUSbS0hvFE3S2qDM0jg+TQQqI0Zf3uC4fEozxdgkGuvNx5w2Px4wE5w9Idh8p7JMG1pKExYo1ktlhdBRmBT2WEsvXIJO+xv/P+NYd8iHgGqImFzr2cZFvWLk/KMAKFhdKkDJkZlooMRtSLIR4O1exDj085TEa7xak4cYXvCzPS1taZSbiCDaz9Sw/zG8wM7wG5/DOWTWFeECSkic7h3zg74uQV+WXYUclHdlhtUHib/ahlN/bI/yQD5HhjpB4m7LWvrr6onmgm67JWsxPHw8Y7DP8VLzcP3Pt0Eg6GJs3ASUYUQiA== 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=4ylDccIUfnWDqhO1yL0oNaOMt8BcHXP4g8xqjvn6nDA=; b=ykkgy4S5+gdWNBjL3EioNc3FZz0LVlOhkilWeN5FQarL9Lqwcx2T8mgvk9L8wriUJhhLBgHKCAZxMi4YPlpWL3oqVSrvzB/3dF76ilmwdvipG+2l6v2kXKaJACOM1YcxbwMfWz/KOZaM9Dr759yuBGGiWStK8MFJdpLqTaVE4DU= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by BN0PR10MB5303.namprd10.prod.outlook.com (2603:10b6:408:125::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:09:29 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:09:29 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Sean Wang , Sebastian Reichel , Matthias Brugger , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 14/27] power: reset: mt6397: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:58 +0000 Message-Id: <20230224150811.80316-15-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0430.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a0::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_|BN0PR10MB5303:EE_ X-MS-Office365-Filtering-Correlation-Id: 308c56d7-ad51-435f-46b7-08db16792041 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kujL3MZfkJIKS9UU8SY6WU+pXVNZJ+RGb7xxl5cMU2wypviKjFj5LIliwUfUhQRtMtzFiNMJ1H6Y35ZTaeDROzzG0qURN59j98LIxu3kj9ydVW3fKnzE32VHmZfK7Vf+kmOPyyJf9fmG0BgR/fmmnnBG0HJot/0dcwdckTVvP5mnKd83IVnKUNI5JItYiPqLY2ODljoYULvtgAVHReNMj0TpYSl5eYHZsKJwBzv0UIBsBqbRy+wKWBFKt9of9Go8ybBuqX3W4cE2CY2zywtFBnfCyl6XWg/8SVc20JIzbuNP6tt3iBu/3FYP01bsRxtmTXiFUnX7hj4UDDrPQAc0dRsOeHJCPTcxnIOVMFfs3beVBZvD1rbd/DVyxOM4/EWxmHL0CUFRP0OQAHkkjT2Aub7slBsUpWPYTZVP9ac9NM3N409294VfbmGRhek+0w9kQ8anY2n3fVFwEHCqBodwu4Li77YcOyPQaT+ah76QZAH6KumQIREJa+JPXrPhit31E2+zlks0qHyXvK7ZY+pbnxDt/yC8/ltpou4Wbb44wP+LVmQ1Bwqmy1qFJQE3xdmdgtX1M0Ot8eLaArtAIyW0F7lD7zmP4lOlExis5FcOcdTkNmWoNrks9zOKot4WaGCM3BrFpT8QwWL2KKKq23Cl8w== 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)(136003)(376002)(366004)(39860400002)(346002)(451199018)(36756003)(6506007)(83380400001)(2616005)(1076003)(6512007)(6666004)(186003)(8936002)(7416002)(41300700001)(6916009)(4326008)(44832011)(8676002)(5660300002)(2906002)(6486002)(478600001)(66946007)(66556008)(66476007)(54906003)(316002)(86362001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qUyEspPJW0wyQvbh2ptt7BwDOhHanBF+HZVrha7KSN7P0C01wwhQV5xb+V9ZU1i/Kv8K0LeS15AXJUhbnkXV1i6fLsTTo17tM//5H2tvMqSw/8CMraUo8KK8ykAoehKOhcH23L1wFs+Th57KXY0MPqtaZjAskxTpuubuRHKhFEj40VDbxdNbr9EXljKCi3aPIurGsw1ff551NNSH4OO3VA3iWiNX73+E+5mcFOtj6AOo7P1vC0xUeDm2lhS83XG+AeHU9gDRTd1xSVTCPkUlG4AGukOLkrF+8UWMHd9KmKvpJI2YhgztgmV5YD4ASjCBABDO9kjOsvZn8DQXb8Zepkt2OU0f71EjkMJF9IhB3xLhoztk4nZAODnKaxK4LhIPEw/kDWu9i6qN4LrBc7kkRpX3IIledZPjvNOCw6Xd59apxZyJfNMEPvTOAiv/TdqIZSsXArzgNnlVsUnzSdrSjX2LkjMyNk8vL+OBLQDj2pkiBnOQDRRky2PRV/dwN/eHNXGMOZxJoq2m33RiRIpgaD2G6NlEIMFnisJrO3SD03CyVX8uB660w4IZ9k5AKeZHO9mR7BXuLdcov/s3YGoXFIKzuBtM2mRPqbqDKO8JmHnryuQw8mhhWXM4xe1Yuu8CF7z+dVwP7Su5SDFLkgqtP+ZbVyuAgADlNZIKdZm9m1lYpDK+OzGZf1BRRRIhRyjE8nUJwtTs6q62MNxxAuqWxwta464ZNs4MMSo+qQPcRkKrp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jPMx2TZgqzH8nK6z1vkbP5vEKCaxdOKB08SeTFdrlMGrzcEyFy3wpBCLeULOShleenwOl/2mfwb+6RvvG1ydnyICr1RNtj2wPbZ08sFOr4FLQaSyc4bNm/zriEhcjheIpRzdtpafbBPJ4aIPTCv3JxADZS99RcvXcN8YflOxLTkI6nVjm8sEN9pj3cNECzQCs5fh0FvJ6UmsyA5VYBDUtdh6Zld0nF6lZA350IYbh1ZjmdjMbNUmqYi0VwpAPIZNwZala4l4vjBmx5R4Vy7Ws8Ehc3ew0RkZ1cd38R6TOHvfsMWa4sdxISYKsJEs4o5YVLYQrcXmKaFtYL/r3GRllLav4Sc0TCc7Nr4AQmBFRBoWgdreXJhGUfAjlDlrPvR5TbRu0DjWctAOZ6cb71C7Q/kQqayu5zO+mZgsy8LywxqMrj7T46DpcLg8eyY3dDA71zu8/12HfVYcf4hdptoVgKIO/mj7a1ZeqlrhV78QA2SBO4AY8EFcWsKBb0HYPBMmY7FVnZFvn/Tz/3TmFID6QS+g1/Qk3aqIPkgYRXbLXDPAIqtNhVMYeOI9ZVHC8MqOY2Rii9fpG/0TIbork7yJKy/Xex4xob9EFWeqicc0dpGXxTsuWJuK9gmpctDdpLF5TZG695Z+e8mml6J2EXykO1VGaNg6pIXI3uVfvPnl4p95nB6hs9hu0VDMV3uT5HBKCZmP5rDC/UZN3EHvNXQ4IJkk85AUePIM2Z8aEKwNpQvU+qFZAOJXhtiYTVAqltncuhI9qf11+WiKDqtbpPAeEFh2C9qPgd5UJp7w2HpNCpQOfVvTTLLx3VCq5d5rwJuy8Yv3DG3POiW73DDaxygPucQ9lGVW X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 308c56d7-ad51-435f-46b7-08db16792041 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:09:29.1997 (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: nNgpZOJ+opiOxYFn0caAAC/9T/ZI2IGbQ23sF6mY6rg8k66oND7pNQou7mzwqedyGbUjHoto0ED3cGqE7CWiGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5303 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 spamscore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 adultscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-ORIG-GUID: uY7VfHO6pGIx6XyXcujNZ9RP3hqW7T3a X-Proofpoint-GUID: uY7VfHO6pGIx6XyXcujNZ9RP3hqW7T3a 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: Sean Wang Cc: Sebastian Reichel Cc: Matthias Brugger Cc: linux-pm@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mediatek@lists.infradead.org --- drivers/power/reset/mt6323-poweroff.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/power/reset/mt6323-poweroff.c b/drivers/power/reset/mt6323-poweroff.c index d90e76fcb938..108167f7738b 100644 --- a/drivers/power/reset/mt6323-poweroff.c +++ b/drivers/power/reset/mt6323-poweroff.c @@ -97,4 +97,3 @@ module_platform_driver(mt6323_pwrc_driver); MODULE_DESCRIPTION("Poweroff driver for MT6323 PMIC"); MODULE_AUTHOR("Sean Wang "); -MODULE_LICENSE("GPL v2"); From patchwork Fri Feb 24 15:07: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: 13151801 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 CE003C64ED8 for ; Fri, 24 Feb 2023 20:15:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229532AbjBXUP1 (ORCPT ); Fri, 24 Feb 2023 15:15:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbjBXUP0 (ORCPT ); Fri, 24 Feb 2023 15:15:26 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E53C31B2D6; Fri, 24 Feb 2023 12:15:25 -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 31OEoAeA008499; Fri, 24 Feb 2023 15:09: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=MGl4RSJiWlJzRgpVI595JOFNc04yw6U1cud/BgTdOxc=; b=mKc37L3ni8LK3ydi+W4Ph0dSHr+2TOsN/XMEQtxNlRFR2cF6hUl96xdUDNMNJmjODH2R hEyt6Z5ontGIqCdw/pdDd1MKPsVQey5iKK2OndgSlbny5hBl8BeSI6WHLw9hEpxDIe3V VEKfplhP4NkH1aDz6UqHRsTaSasxt7LVSUtyJq/TG9fC23f7rG3BG61/jAC0tU52uGZR g4xD6WCMEWa54QfSQQ4nosT6eHsbw/ELemgKSuhLHwZYJyglD7yv3FDwBC49XTsYBaen zT1kRFJcOG4Kxyvh4b1lKMtJPKkZUtVJzXt4sgI2hdaExBvSdby5qu1cl9IJeURSb1XU Sw== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntnkbw72u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:36 +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 31ODmmuC030302; Fri, 24 Feb 2023 15:09:35 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2106.outbound.protection.outlook.com [104.47.58.106]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49kx2m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B5G962tct5zn0gau38y4oVRswkak15tmoJbfTBTIbOt0VAJBN0V1F4Sq6BHwNv7uHsmpoV36x/YCcbsL+giv5YKqwUf4wXJopwW63OZIDuymewxYDZg4GkXMeYdEBRl9SRYrHKTvdgIt0P4lN0YTgZDRW05rZgCY14J0RoZDH+2xiyeM9ewata7CRT4Q0XIXqbEVtQQTubY0R6PuIxVj9USuiLQYfwECJ3tVOvd9GuuW+bHBNHbaQDf1ocFZPvxOFgaqRLBxUoVmLjgci1/2EVjKhhscYnINCMwDxCT9dsCoHrA+8qecY7MwG6uc57bIz82lAR3YkVBtAqh0CkesJg== 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=MGl4RSJiWlJzRgpVI595JOFNc04yw6U1cud/BgTdOxc=; b=d7kg0vmZ20wak1sxkubtfhnDESw3nGle5u1W+vev66PzgevfZV8Q5YXhNK+xJKPh0CInbaNlQkMQhgSLcPeMTJL3Di5hlFrt6ElwEKS2L0QtTrmB48rf6eSeF59FV+ntH1v9UHEL0kq1OfTN9OI8gBlk3UZngnKMOGePUaSSozEK4uqIwI7busLHO//siYH1MeVQB7fXd0sT9NaM3HUPfFoxI5aGtMe+Ikq1cvRn4I2Zvue/N7NNiHpZs7tIGISrJ/9fZSB1lW5Xvk3sWBBlXUyzs+ZFjlWucDsTNoMGr3SHe6e8dAVxc02d/vu/1kyOJnVPR8tqC1IuPTLpVRIpVQ== 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=MGl4RSJiWlJzRgpVI595JOFNc04yw6U1cud/BgTdOxc=; b=CpSyELF4zJ4sEvDOaVcemc0DFk9FJ6bKsgXnG22khwKPhqQZG1/cIA+11lrgc3ptj9w+ytz/4DirB8SnhSuwKJUkoeK7MxfC7xroiQLohgKtfEjKCbdm8s30BeyPiSklVtTE6g6pp6nNok2gLg0RDDUwNZRUJswl/sArTTxLXQA= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH0PR10MB5610.namprd10.prod.outlook.com (2603:10b6:510:f8::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:09:33 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:09:33 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter , linux-tegra@vger.kernel.org Subject: [PATCH 15/27] memory: tegra: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:59 +0000 Message-Id: <20230224150811.80316-16-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO6P123CA0033.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:2fe::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_|PH0PR10MB5610:EE_ X-MS-Office365-Filtering-Correlation-Id: a4886d32-9795-4b54-9f0e-08db167922e6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7BVW7xxzl2aj6CV486icERbi0AI0j/7Dbw9AVwFGYol36TlzigjtZGPYSrTwPbAyVg+X6zy3foD8HnvEWs7l70O0oXytXguRybtKRxt7gTFyzrNUVGhblzw/yGo367Scx21xdWx8sFVV3nlSeIfK8v41jopRLYCYi5IUJOaRj1n4V1cKJ4Ae7W2B7yR0pq4c7MZUS3qEi73NCWiPVSiHGWkI4UlsrYldhR+gmWqo/YWOmrqeX/pKgNOoJuY8nbSxzOQ6byWIYIxGuz+N/21Jcb76h7FrvQdXsCYWsZi5BPiV9ykkg8Uc0P5KCsHcXbFKj1aeCRD/qxesmrfI+aajgH+E9NJyT39GNJqxP1HFlD4tgXARgEwpmgGoEmTLsGeoDM1ufRS+0Q6HLMtJXllg3WU8TwUDK01eqNtTm5JUFMZ7t08fI95wkQTU9pz1rBqvxjpbu7dC3G3My7sjvY4LxhVAcijkIhrSRJs47M1RroYt7lIe/GKUZ37TujNemsV4+o21XwoKN/DuZR3E86zkPJXN9un54wsdpUd+E+dj01B8oRoVkh9tc5oplLumWgu0T1ZhTEZCDtrH7CkGpXu8T8DrhlaHRiL3h6o+LLj/zQ13wZqxhTGP7PWkyX66fM/e5PQavAYGi1SJYey/JvOCHQ== 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)(366004)(396003)(376002)(136003)(346002)(39860400002)(451199018)(6486002)(86362001)(38100700002)(83380400001)(6512007)(6506007)(1076003)(6666004)(36756003)(186003)(2616005)(5660300002)(54906003)(478600001)(44832011)(8936002)(316002)(41300700001)(6916009)(8676002)(66476007)(66946007)(66556008)(4326008)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-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2DPIOurJnaR4QdZilveD50beIxAyEptDmYq+TeWiIT95OWDeTzD2OhYN4FYVGtLhFhlldn1deWBYbulFZZYj3yO/ctrQpuNh6RVvR7Mvr2BDjUtfT3zArKnSIHUVTlTH5W+cEpKkZUnDmViThzJv+uOKBPo5D8m89eau4elZV9yQw6rxr6sg/Y4kMgR2wkuK8FQ8R2y1URGsuceLYwFHuWrCseSi3k9c916B7PVxnMCiMnJcffahA4BHfDdecbo3coWHcBSArHzgqn+WLnV4ttnhlronMvDN7PyYbtwfk06m8zmPlWo5fuFkKOj4RWMzQrMP3+JTBqokFCAvTfO13o4JzxRLTFIIm7KKnEHUEC9wbkf7s7zAICRqmc0bNLRyBcNR3UzftqOrlboaKpmuS/l317JrISY3zaHjYhjAagceT+BvP/CBp72uLgoKpMxFyH8jK3oiifMheJCkcjPYUItfSOzvT1v119zA== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: a4886d32-9795-4b54-9f0e-08db167922e6 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:09:33.6388 (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: nIsElfCF+jVNY1MOhkF3rXY+hXVxA4YXJ3lDJwdNN4QPgtXLQCwWXmzhe4Gi8UKIZgFiFEQA5fdweeU+kMY03g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5610 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 bulkscore=0 phishscore=0 suspectscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: jCquhhr6AzPZwWJvjb1EAzi8xg-tcyGt X-Proofpoint-ORIG-GUID: jCquhhr6AzPZwWJvjb1EAzi8xg-tcyGt 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: Thierry Reding Cc: Jonathan Hunter Cc: linux-tegra@vger.kernel.org --- drivers/memory/tegra/tegra186-emc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/memory/tegra/tegra186-emc.c b/drivers/memory/tegra/tegra186-emc.c index 26e763bde92a..e935ad4e95b6 100644 --- a/drivers/memory/tegra/tegra186-emc.c +++ b/drivers/memory/tegra/tegra186-emc.c @@ -280,4 +280,3 @@ module_platform_driver(tegra186_emc_driver); MODULE_AUTHOR("Thierry Reding "); MODULE_DESCRIPTION("NVIDIA Tegra186 External Memory Controller driver"); -MODULE_LICENSE("GPL v2"); From patchwork Fri Feb 24 15:08:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13151657 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 8E0E5C7EE2D for ; Fri, 24 Feb 2023 18:16:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229518AbjBXSQV (ORCPT ); Fri, 24 Feb 2023 13:16:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjBXSQU (ORCPT ); Fri, 24 Feb 2023 13:16:20 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6EB66B15B; Fri, 24 Feb 2023 10:16:19 -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 31OEmset005560; Fri, 24 Feb 2023 15:09: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-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=7RsJJZnw61AuiRE+jr6r+BLOuFDqxcx8zyuDclRWs0Y=; b=1eJjAbJ2kur6SGiDvwqzyHZWr1UwhPNrwB2DeFiX9e+AXuEG+rLQrPNIWLRYuLQfXcz9 UnLeN0qWdzpW8UW+BgTHuaZw0YqzTWxOdtweOc+E96Vnl/YMvZMJc+j1yPD7Vs29TbWG S8a28qxE8G6DHv4/WXcEct5at68hhsBIgY7DUHRmZhyGzph6ZWeNyrBqHa7emfQmvzE+ zaheVn1xkzgADVVg9+90kYGrqHbm/JRlbJlU3maUKQEIUH3WZYQrQ6NevHQiKOTzEnPn MmfNdLObp2toIcHv3Itm5DttHBOcwnLv6dUA2pnevFySfffPKC72yENdPOgq63Hf4UJ4 Xg== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntp9tweja-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:40 +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 31ODXJS6031541; Fri, 24 Feb 2023 15:09:40 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2108.outbound.protection.outlook.com [104.47.58.108]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49qnsn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RzrBNujS2s5rWwYdjEFcHP0s+PmqzdTDVajCpzPTdh55TcE519MeSDPc2gsMGFT3QImCui0ndKOthfCAELEzMfWpBydDGlqG0/EvMWm7ulNLQJd3wNB4f06EUdKEF72PweumF5GVTTs3LG0dyvQE0lYQsto8Gfn2FuCt2l1uOBydC3kL10tItMxggNJaT1CEY/Pvjtg79pYg9D6XZNqMergzlAODN2UzvbDblHvvF23Tybd+oBtnccHRbiWbY9Pel3SdXRTYBmh2sw7Oaw57+Wexun6RSwY73Ep/G5kZG2P+CF/l9//GSCsv2rO8EJvk+9OxE1wFJndC1F43YCc0Rg== 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=7RsJJZnw61AuiRE+jr6r+BLOuFDqxcx8zyuDclRWs0Y=; b=XOylDtPgUJV0cNBufhFI66oGC/ze78BwPI938HWKM8qIkQFWnbOignPGHhHIvVShRCZN81g1JgNuWOb7fCVPB6tPOPZHqzBznX5H7eu5u7y+i5AY8jt8eiTN1enlpEROlG80DL6PK1OXoekk0QyW7w1PJOQJFHD6LU3c70sYyuHUy0OeAoULh1gnTpX8W99HxhYPUZkvE8hDTxPbdnKzJR5QYvkJOHDF0xsVssQs+XLsKns9+das5OBFAoTIQicIigHEHJN5MQzLhaSrS8tXAznteTw7tjMUEOGvnjpXFxDkOb9ChsnUsvvBgjM7MHJc5uTiUytiT3vBGhtPfrO0Sw== 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=7RsJJZnw61AuiRE+jr6r+BLOuFDqxcx8zyuDclRWs0Y=; b=EJx1V1/iOqN2DClIM6Jwy+YQONxUrgqcobvfCiCF1XD/ZmCT5OU5lOd0RtLBhtXiV1HEpLucG2ABafgmSOZIgmUKf+Ch/8y07tV/HYtm0M/PsMEgo/FJ+4PlqVP7dfAfy2DySR47UQM6S1L9rko0sf65g0Q83vdVno5Y0bqFOaM= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CH0PR10MB5244.namprd10.prod.outlook.com (2603:10b6:610:d9::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:09:38 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:09:38 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter , Philipp Zabel , linux-tegra@vger.kernel.org Subject: [PATCH 16/27] memory: tegra: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:08:00 +0000 Message-Id: <20230224150811.80316-17-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0407.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:189::16) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|CH0PR10MB5244:EE_ X-MS-Office365-Filtering-Correlation-Id: dc20f89f-bec3-4645-9293-08db167925b4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 41Ae2o6YQQtDDOJBMwXLjf+lOe58AGa10rxX51lsIcokK+zdE4lpusY6tWRHwnYK3GMHfAEilb0CUhCQShqMpstvVMifWj3l8t7BdEJsgqXekRPAnXm5jjNVTd70PEQDKOU4NiODliU76I3DEQyDK0p4PJtg3KMRFsu9DsCtKdXeX3ob6REs7heYdHb+8eZK/vNzkA2ivfBRmiltIYKHCkJ/VXLI/cEHL78nsxmY6oRqj7rA7HKTG7VLLDJ+2c7Q9eCxQU2ZTOtkelQtL/R52ZQDGXtNSnw9SniuibHUI0rmD1ifl2YTANVSklLV9fVzVcJH6eeZuzT1VsOfFKHA8XRCo8Ii6GpxiIxNmGnsNiUO8MQJlXSugoqFDQyAqXs0MmMy8uawUjBwTiXrqRYK9qAAB1zphG9xGXuCsjjIAzGV0x8Rq6FacylUQ10QjZlD6iypEyeOzDUmzsKpQFCbaLC5opI+uqyV+1E8oMaynL3+hLTQAxqPhVa+WiV1VT1rcQd+UrLJrnGPK5778XxTw5uo3bBjKgot5nD7u2+9aUl5uKOhMUFvoWnZEtbVFMmd50AKAY2bDPbqEzdq+tHIRj61nVfYNkIdG05vrqdTFUcEAo6+QzFXTh15j2d2KfadKB9pxbVjofZKSTYcx5wf+w== 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)(396003)(136003)(376002)(366004)(39860400002)(451199018)(54906003)(316002)(6486002)(8936002)(66946007)(44832011)(4326008)(38100700002)(41300700001)(8676002)(66556008)(6916009)(5660300002)(6512007)(83380400001)(66476007)(1076003)(478600001)(186003)(6506007)(6666004)(36756003)(2906002)(2616005)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mY3hxCKq3CFiZOX2kF7iurOJExF5QNBN6I4mXx/xhi9euBuS0I1JR5aNRFiY/AHKpJqh3jLVfUuePNya3jLiDGAhGyjHz/gdBmmFTJ7aZvHa4vrR9in/VPaPNXEWssdz78Gkd6uXEAlUFjqK+O+9iJr2m1gC9ZMnXLNCIn6YkBCtBKGEoGwYLuHbVyVDEi7PijYlFhzsWni91mT56rGR0GGguF66hFS919ZplxEZ8f3m+CWsb0ddrJ/vkdIwUpecaiDQuazah2WQqxy49ceOoiYTyGQsIR6xVQ6JAWFixzS18J0isf0jxMwhT1Fuk9YFSwSupRKeyg3FaTC4SSFS2WibgWDEMtJ4ZP7pHUwFCnzAkTFGeIDEfoDKZCIafSTD6+vqN0Yb5OQNL6nJvLO9H2a3MwMZXtXHx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3vLaUCB8rmEaW/X7P9hzUXlG0ExIefIavNpSUgIxHt2Xct1RA8VU62Jz8of07Aa0wFnn64X9iAnS/6s+Mz8kPmNrK0tF X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: dc20f89f-bec3-4645-9293-08db167925b4 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:09:38.3595 (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: 9r14Wky0vFE1a2TlfW1jpjymrr2l3XFesYUTdh0GkBJetNeamiWI70V/Y01KN9gc0KuXlxeImgbmtSi5HWNeZw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB5244 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: pXprHV2me5X04anC_r3JQYmGtyxrhVQO X-Proofpoint-ORIG-GUID: pXprHV2me5X04anC_r3JQYmGtyxrhVQO 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: Thierry Reding Cc: Jonathan Hunter Cc: Philipp Zabel Cc: linux-tegra@vger.kernel.org --- drivers/memory/tegra/mc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/memory/tegra/mc.c b/drivers/memory/tegra/mc.c index 592907546ee6..237025ba811d 100644 --- a/drivers/memory/tegra/mc.c +++ b/drivers/memory/tegra/mc.c @@ -985,4 +985,3 @@ arch_initcall(tegra_mc_init); MODULE_AUTHOR("Thierry Reding "); MODULE_DESCRIPTION("NVIDIA Tegra Memory Controller driver"); -MODULE_LICENSE("GPL v2"); From patchwork Fri Feb 24 15:08:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13151364 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 C6B36C61DA4 for ; Fri, 24 Feb 2023 15:11:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230202AbjBXPL0 (ORCPT ); Fri, 24 Feb 2023 10:11:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229999AbjBXPLW (ORCPT ); Fri, 24 Feb 2023 10:11:22 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A4186CF25; Fri, 24 Feb 2023 07:10:39 -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 31OEoA0E008485; Fri, 24 Feb 2023 15:09: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=qUOu7ZkR90CCRUAP8ZKAezDONFH1ftTYXG7o9FuDeO8=; b=Uvcgedbxgb4QcJGuUtniM/dw2qgPtOI2yDvB3iXqoqLcGWbgdunzwk/XNa1/tthf5bc5 hs+pXz/vZRpip36+DxV3coepl0jrfuHzs+ul1Ser0k3FB7eeVXqBR9z7yJUx3IsM4s1Q AvHDmimSAwKtF7itsUsbtD+t8s+Y95yCYHjI6Ln/2rag6oLm0JdkLLnVIWY3GERbhzTu vBW+faq13CK0MYZ3byxhqOq7jdQ0ITh3KRbau//UQeJnRDEZL12i6PDm0VLBjd7UVNjJ Ss0ip5p4rwPUbWRAN9rybMF6TZcDdCUp48vlnNpsPPFa41AQWzafgODIN2HDDZZpEvV5 5Q== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntnkbw738-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:46 +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 31OEkZBJ000677; Fri, 24 Feb 2023 15:09:45 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2105.outbound.protection.outlook.com [104.47.58.105]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3nxsb4dupn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nt8mF3kdSeO/TGvGmrbnc0n3RHgE4IHFyH/XpzfKGu7sQA7FtBFdemUMcTuMLyk23OInXjRFW1Wnm7Lhh3sz9sIX+yJFxZiz84ZcRG7vEbjuM/G+++FNVxKEV8qyo42aaA6l/BhuwQp9u+3+UZRv2A2/999fGmjCgXLMeLe74s3ytWmkOKY1ebb7pQBy+5SvC2e3n2DUn4oeQCiyc74QAG0Hw/bMEGd5z1K82dXfVXNTiKUjxbgf2OSfEyMSWKPj0QApYwRb8wXCcAMVBCBEjPCopeOcJ7/2RKhRLArixufWB1FsjWLQnhAh8q4w3vhZAw0MXI/fhbbiMWUaPcs3HQ== 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=qUOu7ZkR90CCRUAP8ZKAezDONFH1ftTYXG7o9FuDeO8=; b=fdfBZpGGBPqnkcr+f/n80TQnGZ7baH9hOZatPD8D6aHNvRZOB80ASl+OABMfxkmbLYe2JiWrb3/yOxBkn0BGj3Vu7KMhGOuxm6lj3HFBD0m5mf7gsQjbldxSatoZ1UYbUwA/s0w8/0NLOdhVOYoy3v8Hx6lDi2/Lw7u+FLY4FhNhN/zCWEzeHReePWZnabtRwk/N36VDUJHtVY2Rlbku5tidoa8+dY+Skgdz16PO9VUfdaJW/uqZnt0bni9QPmi+UtRLehvSPE9M0Gl9jbDDGgDgcnOFBQmM/v2SBZXsbM0GaF5CXgRVeMdJ0CQVgdvPwK1OfeQ58r9wPD3HNnWPTA== 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=qUOu7ZkR90CCRUAP8ZKAezDONFH1ftTYXG7o9FuDeO8=; b=jv7alJh23PPKkaGYvx//RCKOFTpiUPQg2nKd8AnqpVHyGTHSa+r+Qy6nT6nUDcrw76hiWahejLBdXSo8pKRgLjYT9qMyRXMM0PzXVvOgTNrAaJN8RxA+U54vYnFQBvoo6Fnh4FKtdgO59PM+ytAaa51XWFOKj3+QTDjmM6liacA= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CH0PR10MB5244.namprd10.prod.outlook.com (2603:10b6:610:d9::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:09:43 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:09:43 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Krzysztof Kozlowski Subject: [PATCH 17/27] memory: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:08:01 +0000 Message-Id: <20230224150811.80316-18-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0438.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::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_|CH0PR10MB5244:EE_ X-MS-Office365-Filtering-Correlation-Id: 04d2a79e-d22d-4fd7-681e-08db16792899 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QODKDMdN85LLfS3Vof0mt0aOCNxlDutGfdMbQ3028UxCikOZdZTNvgJqNtn2ObD8CENAutMrMwb9Md3bqp5zWY9yPL2XFh2fWPOGs+W2zpro/7e4HgaztjAKD/y1QIakEdeoTi/tGcueYiRz3Eay3f3ckbeu95UhfQmeTVbJ4F2ifvWApGL/e+WxG1ut/5nEHwrhJ6gj48WjY5wuKXgqOxFFX6qiw8wZ6j1R5TOLJu99YWdIXmTOVnLPNFqzaw/9Pf27VTLMm9acI/rvYNtlt/mZNaWhKgltRr83N+ZkduQvzAR2sS5A1ma7vx3Zy/FpwLZCkWcUH/K69CgSsrikjEX9xxvSKV1CeQF7Z/LsxWsqhTy/nXqZ5Um9OcK3QQ+8HatKdJSLsJ8RQ4xcTUmSdhgEEFpi0rbSRQJaxwBD3Vl4+UT1uvVVNT8YOUaJYq7LgQIXeAihypigPEJ7k6x8tf706x8hyn4NAstfQHawhE+ZJu+H7IZKuFsUv/es9HcNAjZQdDFI7DoO1ExuMxQcWNCQncKuMZnm7g71sLYn/oBRtmi+yNRgcXMBX7ezsxehJQ344t5MlCxbIMcKza4n95BuTMWrUo0tG1rgd1wh/tF9Jz/pfoKThxJjWHXesXWLH0Yw1phJuSjFwYg+HupmtA== 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)(396003)(136003)(376002)(366004)(39860400002)(451199018)(54906003)(316002)(6486002)(8936002)(66946007)(44832011)(4326008)(38100700002)(41300700001)(8676002)(66556008)(6916009)(5660300002)(6512007)(83380400001)(66476007)(1076003)(478600001)(186003)(6506007)(6666004)(36756003)(2906002)(2616005)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: dPlgbVjem/P7mwQjMBh7Dq4YntxPsZgswbXZo+a42F34G55d6wyfWeWoFpcLofOlxRkovqSiObF/OPvKrP8+v31taBtD3iiZc9cYDc22ULH2OJsAsKYdvuGrBr9zCYsXUwdsgqrtLN9ZG5b1MLxcmhBVaO5/G5qH0KCG0komYyvu5Hph9PV3YsctL7TsFSidTx9ACSEWjr7qlAV35uGxPXEc+PSMggC0ylqvX2MRTbll43LQ1ulrsC6uhZ2COgZ/Ogw+zgWv7ghNA4yX3QglyuNfmwWoWk8oORhJcOMZi+GYIOMKzL1ttu+trTN55UILKrxsniE/880dBUC3jh7+x6z3PjgTmbfR4tZApwfhvGWhAmbsFBVAunfBomSmLlyEH6TX7V4GHiiNoi4W58CEzgYSM1meSquYqAJ0wAG2U9AYJ0UqKBbq+zbSJRzc1eTVnIJ9gR6x+eEaTeBHCtK8wmO1LLOGDO9+5gWXW/RZBbme6AJ8QXl8cKYv9/Gr7d9aYqTsslFn/BzTfSnZAuMREeO8AuKrYsRXdoaYMn3+3L66jUnzCNx1NHkvu14PPaxCte1iHhhjOimTNZ75d/x1a7rUAJliQiVZylb9Z1wHNjqrtRQZKHLvAE1BhtUUri2SOyHe1gpbt3cbObShjyvUzGMRvVQVSt3CBotD2w1XA3xqADUrvDxeKpReuxJjUjbYwwFn2I8aAPjqQgMvoqqHTJicC6p/5xFKHpsJgnbQI1/J5euGdsgvQA00WdOAFYYgySus0O0CGklLdAK1N3o3vFAeMCH6/13R0w6eOks2TChyq9OmcYuicyj7STiHE+ORBlD5hX0zPQA7MsThmUN4+xCcqysVWPBIV1XzJbyrzgvNcLVKVQwvoITUw1HkBYDaSiiGwB5jM6HBw6WMADwdUyynuF9vj9VdDxsRBBp1bJUuVjo87w7m4Kta+p2b9g9pObGO7L33fRpQ5DM84S6aBOccREA0XKfEExptLJGSElyWIRmoIA3zQX99oj3j+K566KGCNZdZhs2m5Cr0AqSZyY6P2EzgQ+/97ov+CW+DjfFoo/w6/7wAGPVz7tEvq8yMkPTZLseDhHZPoxEBbnl4ztraaP9qyJamjrvrKwBFgScL5Y6CImvZJEaZN2jnp/R2yVxFdsbtcyqBkWM0gK97pJUTGsdlwY3kDrbTvfIrkyzpAIdeqbTCupJAZb72mZ/eODPPPsQ5d37Fanl4LiB+pEuXG56civjAvJO5L4Vs2L9GEMoPQExMwvfHv5YEnWgJK4osCMZLE14i8P9tmmww+tyGK4REm+SAitYL6/0qiJey/8zC4D2nru46fhhosN3Dvqy8xyVLPUFslVk1sPPxe2gxDBewoyaL0UY94dG5MDAJgqUxWXiro72Vp9CYNd8KN2rteIwlHmY8Hqy5ORPCUNds/VjtDhssfgjysAssaPgxOthx5bbF139PdK5WLth+mAIVDi/4YIGVvuEspYx+qXAnwkhTkh9CjYabkMPU/Muo+I76AzhjpMfrZjAd243obXyGWGBhrUoKhVvg49YxzBVWlPwcuadgnahHg7sKjA3Co5kxWYE4Qe0LwxmWPtZy9aM9+HGfQLxjLKSeYvtpPqcrwziIqPj4PqBM8eNITig= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: B1HgrHjbCpY+Vn+XgaFd/XAkl7miV1NIshtvR6pxpWzngPuQWpVCJfLJ0Z0hvYSFvLLhKsTZshIOSDgFwC2+GfEjA6qeY0tOfOvAIPzsZPalQPCnoch/Uvpd8rVq+ahQ18kh/5KAV8zgz2XnjFCq+PigIC1hg7DyfEhJ/dmHxnHWdtqmlZaMcO4fhdgrByDeJWpA5oMhznICTy/eDnMky46R7Ar9dadu7GHNLdEVu03fqT0v7G9UivLOF2jPJr+qQoMz4OzDHw7dxAoD5Qaw1h/f008mTnN2iq5K45P8H5pFWIjJuMHoSAE4trKVdI4Ipz0YxXR8gCON8aOwo6zSS330/MrYs4HzYpV+rS/bpu94O6rcJ5L+DweXF1DMtHViO4fEo2Sg/sDbj7UdNuwkkoUvkhNgTdoxjJVu86hWRpatK5HfUzbLMUBQmuQJ5hvcvD1mBhxfzuObq3XIBXXUOaDVjm6HPEb8XelysULapfKgZ97hXdnn1crPDQ/2BCoIl9nvlIRP2Bwy8VNQnxmD+/k08EzeuXodCcRzx34A2gaxe5VSNpHXE1nYbH1nfq17uat98SWNf+vfTUp4BzYRQ/01WYcJ2ejT0LIpJQZMd5OVXlOI4ZS3lHBQWy+0RYBv7l/Dm/SSJfFAOmnC2UYhvYYvanTquKu0zAQaxPZx/EN0LB5ezqACGa3jPSml9jMm1rx7nG+0rhCVqWazrN/q/TqSg85okXo6niGvfXAtbJHzQVaPxDz7Pdecv5EhKJHw37Aop5nWmmkG04GCOjdvPQ0uyU3EBpTe/Nf32NayWVMBqdvDLkjj2olmlTifL6ZAvZovO7e1ed/XhinPrn5jqPuA7nh7DaHRBAIaefZZ0F8= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 04d2a79e-d22d-4fd7-681e-08db16792899 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:09:43.2940 (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: psPLPezPQRXtg60Lej2+7dOV3dYZSQV6IgWXk+c/Pv60T7sH0XSSw39XxDFbrhoxqYL1COk/v1ntsGB2hfnClA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB5244 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxscore=0 spamscore=0 malwarescore=0 adultscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: 3yTmpsTJt_DjPDYIdmj6XM0obo5EsgcM X-Proofpoint-ORIG-GUID: 3yTmpsTJt_DjPDYIdmj6XM0obo5EsgcM 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 --- drivers/memory/bt1-l2-ctl.c | 1 - drivers/memory/da8xx-ddrctl.c | 1 - drivers/memory/fsl_ifc.c | 1 - drivers/memory/mvebu-devbus.c | 1 - 4 files changed, 4 deletions(-) diff --git a/drivers/memory/bt1-l2-ctl.c b/drivers/memory/bt1-l2-ctl.c index 85965fa26e0b..78bd71b203f2 100644 --- a/drivers/memory/bt1-l2-ctl.c +++ b/drivers/memory/bt1-l2-ctl.c @@ -321,4 +321,3 @@ module_platform_driver(l2_ctl_driver); MODULE_AUTHOR("Serge Semin "); MODULE_DESCRIPTION("Baikal-T1 L2-cache driver"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/memory/da8xx-ddrctl.c b/drivers/memory/da8xx-ddrctl.c index b32005bf269c..0ef8cc878b95 100644 --- a/drivers/memory/da8xx-ddrctl.c +++ b/drivers/memory/da8xx-ddrctl.c @@ -164,4 +164,3 @@ module_platform_driver(da8xx_ddrctl_driver); MODULE_AUTHOR("Bartosz Golaszewski "); MODULE_DESCRIPTION("TI da8xx DDR2/mDDR controller driver"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/memory/fsl_ifc.c b/drivers/memory/fsl_ifc.c index e83b61c925a4..9e8d8e9c5ad8 100644 --- a/drivers/memory/fsl_ifc.c +++ b/drivers/memory/fsl_ifc.c @@ -327,6 +327,5 @@ static int __init fsl_ifc_init(void) } subsys_initcall(fsl_ifc_init); -MODULE_LICENSE("GPL"); MODULE_AUTHOR("Freescale Semiconductor"); MODULE_DESCRIPTION("Freescale Integrated Flash Controller driver"); diff --git a/drivers/memory/mvebu-devbus.c b/drivers/memory/mvebu-devbus.c index efc6c08db2b7..406fddcdba02 100644 --- a/drivers/memory/mvebu-devbus.c +++ b/drivers/memory/mvebu-devbus.c @@ -341,6 +341,5 @@ static int __init mvebu_devbus_init(void) } module_init(mvebu_devbus_init); -MODULE_LICENSE("GPL v2"); MODULE_AUTHOR("Ezequiel Garcia "); MODULE_DESCRIPTION("Marvell EBU SoC Device Bus controller"); From patchwork Fri Feb 24 15:08:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13151869 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 32C01C6FA8E for ; Fri, 24 Feb 2023 23:54:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229626AbjBXXyt (ORCPT ); Fri, 24 Feb 2023 18:54:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229620AbjBXXyo (ORCPT ); Fri, 24 Feb 2023 18:54:44 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03CB43B21B; Fri, 24 Feb 2023 15:54:42 -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 31OEoQgV007435; Fri, 24 Feb 2023 15:09:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=oZ9BEHYJlGHKY/kKsK38H8Qihi/5txNdXjMXpVs9UAI=; b=twHk6Zo+LiIC4BwPK7v1xL4wZh7zv3jeJzoMvNm9VkRUqd20alrBHaD/POvinjtPLCsA Kf7kYuzl4rPOsZok6L8A5C/zSzkoP6G8HWrdg3JY5jM0AxFdIXN7y9c7/WJEdHcSzasR xucYP5kVJcORTEHrpxqKby/FAT/BstjlXroEIglomPl/QA4rowHJuEv0d13dFE56LFVS vgQBVl2qkDvyzV1y+/dHD5J1MR2iXkn1JUUhshNC8bs20YQmEaGwU2xwelC4k7bAc9Ip 3NZkYGiNtWNJLtX059igoqSG1Jrxn5maXtMwM2A0W0uxu3Orr/UcLTGMhQ52kmGgq9DD 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 3ntn90wb5m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:50 +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 31ODWtBK034067; Fri, 24 Feb 2023 15:09:49 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2169.outbound.protection.outlook.com [104.47.57.169]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn4gyu02-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cYSC4+if2bK8OuzeKoxUKO1BdOFi0AMBggcIhLXej/3uczsKioPL0qRacBdNiHzlVQud/tgQszzkKEcvP5h4P9KkCSkbm0C/pZUFyG741ORuYP5H65TUZDlWLx+E88Cu4VRK99whoy6MtA3GYApYC6woquI/Q6lXXNHf5hHf+nF88i6Ne3ZBLfhyY+xDGRIgdO/jUWZeMzMUpdjxZmEqq2kKsnJJA1071NtAsFNuUtncuq3/v2mZf3PBJGBgQWvidI6/xwliEp8q6MXjbgmFLu+2I6pjmdfamk/ZGAL5HBiWd1xmSx1kZEfghXayQUHa+gZSWGycpvM7sml49llCkQ== 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=oZ9BEHYJlGHKY/kKsK38H8Qihi/5txNdXjMXpVs9UAI=; b=Ouoq45hItv0UTPr9u0rFSu59/sQpSqpoc8tLhQ27Z9coZYl5dG7GDFMFEV59Md5yZlQoB5dCNRNnN0Rs1JLDIJj9XWyaQzqXUkwTi5LdCyXrx8Ta00Hm+T5buvJ2KPoefoj2UAQxa2823Fawk7FmJhM9c8G171+sj18v/X8oVBxtTn/VhtTpiHE//6R1aMNXE5RqwuMwD7ezVL/qqL/8RGFZk6Z3aO4w3fhwY/xzAPRDRQAfMxN9gUAD61pbZ1J1LZlZY1KqMn76syE63Oq1Vv3y0eMkm3X9QAKSxPwcLN9sBH9OHZ6mIEnJRuWXqqrDgbpvQ7PzwQB2qLCi1iYhpg== 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=oZ9BEHYJlGHKY/kKsK38H8Qihi/5txNdXjMXpVs9UAI=; b=pf6R1uubUkHnM56NpAMUWtutSJcnjGGPVz5YIN0yh0hVRaXytqqb5vgdLPYYCTSIauoKfrcjbkAMnOXF8qsdHYseVsBv6fgFxpVLZ778ihN9oMv4f0w/eIH9tMxejSRBOGgUu8ZFJohmjTiSwvVJuge1g7fXUJyT1IQ2uPCvNA8= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CH0PR10MB5244.namprd10.prod.outlook.com (2603:10b6:610:d9::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:09:47 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:09:47 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org Subject: [PATCH 18/27] mtd: bcm63xxpart: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:08:02 +0000 Message-Id: <20230224150811.80316-19-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P265CA0039.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2ac::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_|CH0PR10MB5244:EE_ X-MS-Office365-Filtering-Correlation-Id: 26058562-56be-489e-dc71-08db16792b30 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OiHxruetCK1QhT3rrMnkM3xjVY7mWEnCEGCWdyGVvV0N+U3Ar4loMirMFjqNwjsRM4AMap/3sbQ1NTqizYicNooj52WXCet8VVCYhPG7k/BiqW7HoCIc7aqLHijafFx973S6DCFNCKjhU5rH5zWN+rHei99amyjPUb0koff2kuCdm+ZA1ZM4VxIaFFN1YGOBkaMdTTZtV9IQQIHCKevGnmBfYcy9C59ptZrWDKWQWOfRwmrTFFQQx24qkf1lnxYapcIa044t+TCfAM5ZfnppaBNCIlldIsU2zQHLqIVXUOGFVOydgPH7iCp9B5osPNj1Lv1OA0ZwoaPSsDg8QEMBmCC0UOHN47Uv0chejviSeUkARZLzwKb/wVsfjfXE3kd3oV67SxFnyoZ8cg0HY7IAyNF8prsOfQiqn8IYvPP0cKyIq4XdiX3vS6S9aerITKVmSUk8pN40BNklhAhdhF/BUbDYQUGWh+2K8RdY3HnHfFIi654bi0blCNhHpy6TLTxatCVcFKCjf+ERzCD+/cS/SH7aYaA6qVNUlVe8ffk2F2D1InFmhgMSSYBogHf9lK9oHhiPCv6CogRi41YGHNz2bDK6Hw8F0WeJRLXpxlf+OBByrllphoQY9jgvoqjaDSrcaSVsbDi2mMede+XMosEwiQ== 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)(396003)(136003)(376002)(366004)(39860400002)(451199018)(54906003)(316002)(6486002)(8936002)(66946007)(44832011)(4326008)(38100700002)(41300700001)(8676002)(66556008)(6916009)(5660300002)(6512007)(83380400001)(66476007)(1076003)(478600001)(186003)(6506007)(6666004)(36756003)(2906002)(2616005)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ni/+BxbARMLQMfSDS8VJWrw166VmnxVorLrIWh1I2lyy9+pjM2WS+F74ojGNoMgeYPf46DTWDOlB1DGJpHPD/WK2xXAnQCsihsopEFwit7vhGIO6RftU4X6JlFa0UbwU9o790xFhstWAdT8Y7bgLYQyheY8KSrjlIMrT4lcr/grt4svG6sWWQS5Vayhpv7/CjJD2j0YaIALrrpDGRdFiRL3UVkfzNk1v6x5a6g/ErMiSnBFPU7ouI/xeVVd9niToxhOb096qIJ8wzPxhWsd/8ZxwCWoi5y/BianpxXPKFrkcMVIeUL+tmmpTmEb9V4SS05RtGZFc9DZpCz/95PffeCFlQiIsmFvqypr5R9ITZ3WLRf1fuTT6N5LhQDIU7Ha5HK3RVUIsJHnbDDlNo5OtJ4tL4NLmRF0s+ZcCYrGGLBy0nZcFgNUxaT+xgGeeq+N74dBSqVR4w7HukVZOExxnOrhIi+mfKA/uguwc+IoXiP4hZ7KhLBoLe1MNdhxBYxB39WybNbTsHyGn0RxA24xMIQ4DNYOwZAJ5RsrMKPax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CrossTenant-Network-Message-Id: 26058562-56be-489e-dc71-08db16792b30 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:09:47.5783 (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: 5u+sxTsxx21D0BgYsLOMxRoSVWcLVywDhas9RRMRvsDFsGZzBH7nFcEt8Euh3hOMTjVHZGkFAxHFBojpyaoGfg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB5244 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 spamscore=0 mlxlogscore=999 mlxscore=0 phishscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-ORIG-GUID: sBGLH6LhjSd5qxP9DDnlDTs5w4gvpOAw X-Proofpoint-GUID: sBGLH6LhjSd5qxP9DDnlDTs5w4gvpOAw 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: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org --- drivers/mtd/parsers/bcm63xxpart.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/parsers/bcm63xxpart.c b/drivers/mtd/parsers/bcm63xxpart.c index b15bdadaedb5..6e7b1ae8f58f 100644 --- a/drivers/mtd/parsers/bcm63xxpart.c +++ b/drivers/mtd/parsers/bcm63xxpart.c @@ -164,7 +164,6 @@ static struct mtd_part_parser bcm63xx_cfe_parser = { }; module_mtd_part_parser(bcm63xx_cfe_parser); -MODULE_LICENSE("GPL"); MODULE_AUTHOR("Daniel Dickinson "); MODULE_AUTHOR("Florian Fainelli "); MODULE_AUTHOR("Mike Albon "); From patchwork Fri Feb 24 15:08:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13151365 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 D5212C678D5 for ; Fri, 24 Feb 2023 15:11:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229527AbjBXPLn (ORCPT ); Fri, 24 Feb 2023 10:11:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230226AbjBXPLm (ORCPT ); Fri, 24 Feb 2023 10:11:42 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC1AA69ACB; Fri, 24 Feb 2023 07:11:05 -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 31OEn2Lm003403; Fri, 24 Feb 2023 15:09: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=ce6eJUF2k6XnFtxOewephDZpRcUvtcr+BhJjHDmtf5Y=; b=di0vARE/6nlbhQJZzByxg0vERrk4OTXFWrDyOG2eDapHhE5a6H2BAWdpXWnyMmt3YioB RxyoOv1w7IFNoZWYV1rYEywPz6t7BFeaZZzjZ+xqlfVdMLmnkqq1rW3beUao6PIfhhlT wuPZaKVgpB1hu4fyuovh+n8sZGhvvDalXLdyjeOp7Ty9surCRLyltdawEP35ilqbR5cy 97VPPGzOaD2YHW5t6xPxQjJ33uXp1U07nUI3x/dWuLehZfUnGqq8na1ixzvkHNItAQ8Q kqgPJpnVcL9Y35O+xN6cUlczpE9Rb02upz4Eb4inF+En+wKbCJuuK2MK+f4dOyX4Kkq3 Qg== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntnf3nbc9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:55 +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 31OEkjl4000653; Fri, 24 Feb 2023 15:09:54 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2100.outbound.protection.outlook.com [104.47.58.100]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3nxsb4dutu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SLjFAoUs2Ktt5b+mvNlB4gF8kNsHynFgQOVQPrR8GnrWJMg0Yq2ZCATvPql5dXx793tNg6ie2FTTSU/Erl+v83cbn8rNIMgeY+BgEg+spG2o//ESvmZzGxwTrPUFVdqXJIotg1L1upIFBJPszkqxiRN6MXk3w3CcL3Ku1Ct3BEJ9lxS7SGwchUGHtQajdgZNQXIO+x4mOFopnsjyAduBdUaEkQP+IetYZM5QJ1+biZDqnWKgj7M0I5ySauvqRvgxTXsN7TYRGzt5ymRfw2V1H64D1xWwkjQ2L3IEm/7i/a+gZd8BzsEI2nE7pQjrXz6JaPAT7iL2If+Y3DXJaeV1qw== 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=ce6eJUF2k6XnFtxOewephDZpRcUvtcr+BhJjHDmtf5Y=; b=ocogsQASh8OXTiG/oJTE/RPRsNr4NhtRGb3C5vY2wy4D2RBU8A4AfDFRu6lBcS+1N3vxl9MGGpU9RvXwUUjIlGD607LVJ/stVkBzPEPkd6wa3xRt9QUphyPkkzLoJKDe9B1EKg+CaoxIh4kxwanOx3wcWwdthpzXgAbNCkmT77bzkKkdFON/sj5X9TWgLB/1vuki1VNVfyE1DN7w9iU6aazcvB7uz6FrVSnM+x8znBTOtT+zZwPxLQlBm8YZRq+ktMD0FtudkcYjjc8lIRZLr/pztJdacEiGjp0epk3U3qrSs/VZdjB5pPJRenNvpWbAjT0KvgHORQ/THlvPA4skxw== 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=ce6eJUF2k6XnFtxOewephDZpRcUvtcr+BhJjHDmtf5Y=; b=YVN0j/71D//eWVZJE1PUYxSSeL8ZKcP1g7naxn5MfQ8muzMSltXN1VHYqYSc+vWLUxkUMbLIDNF1kldNSHP4lNwugCNQ16QVK5u/uOs+IEkfhiQWvWYUDcVrZOgVMKdtdBaNdlg4DTNJmphh29fxeyq3790LlWDusvIUCNLpJ4M= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CH0PR10MB5244.namprd10.prod.outlook.com (2603:10b6:610:d9::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:09:52 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:09:52 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Claudiu Beznea , Thomas Gleixner , Marc Zyngier , linux-arm-kernel@lists.infradead.org Subject: [PATCH 19/27] irqchip/mchp-eic: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:08:03 +0000 Message-Id: <20230224150811.80316-20-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P265CA0054.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2ac::10) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|CH0PR10MB5244:EE_ X-MS-Office365-Filtering-Correlation-Id: 9023e185-2a74-47f5-e905-08db16792e43 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IzlJ/I2P/BTPf6zz01+nDJCrfNCR/th/XVLs0oulj3//fy8Zu9UND3QaHpWaj5ioiyj7mEZrlnSuvEKmhek3jj+kHJCxtlH7ROtzKlGuV8A4uT2sPGOrH8v6yeg+hx3AQ8gIHTiLTEx0jJ0SsKwdGyEsEwx3OrKpYSZ639RkDMU5Gki2djohjNNx8ERmm7SF74rntcrmn30ylVKpydR85XGhTpN7wBO8+DeTdbPdaZHVsGog+733MN5sZzvR5Ng2N2id4GMEEoezxZEwlHSamjYiXSYVr5MBy6pvUDZwzp9KdrJQHdDgJdtac1qCvC/TOUGcZixTYyBkIUIMIoYLfS3HzlZRgNvMI+jRBWF6Pw0IbMITs2cLNfWloDEtVbv/z4jscyV3/zB/qTNzfnl86Bv6SMoGYhgA014nrz/BrvnWUFC9n0RLM9VZffu00FW17Nx3Mhma0EvUoxOwx5a58/pvajOcWKxT66YrQOziFtjecGJJRHkV7tUp6h4u/ZHGRJPnZ1kdWIWia8i84sxP2orkSjV8XcNTfn4g4NvLfruWu4mlVSoPonzxzJ1u9Tow8WXDRp6YFjYRouISkPIyjJrVn5y5juzR58wtSS2ZViEPSKJxnGwRQJm46hxTH6q/T8foVM6yd3UzWvYPeL0BSw== 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)(396003)(136003)(376002)(366004)(39860400002)(451199018)(54906003)(316002)(6486002)(8936002)(66946007)(44832011)(4326008)(38100700002)(41300700001)(8676002)(66556008)(6916009)(5660300002)(6512007)(83380400001)(66476007)(1076003)(478600001)(186003)(6506007)(6666004)(36756003)(2906002)(2616005)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OCLGY1o1HtQxeFuV92E+sGi6hlAq3zRGLuVpEn7GI1D5hBic1eeqKf449uUY2hYLBIaVtbExU8fX0xFpuPExqrUIpqGfag2f8y/aLs3oGi+p+wooD9a8DUIESws/qXM7T1CHlbKOVlAHUp94ChOlIknpAxRz6KenjnTDcDCHTssFk8z3ReOrtwvZWNAMrGb8f227J5cckxu1QSTVEQ3e0XJkNh1+9/O5uw16Am+N92lzpRTAwu86Rv48wlg2TTeZWzHw7caalQFftnAiYMJQm8wYRTBVE2xFndgm5bs5RMFawP+SzLEZ++PtsUkBgQrf53FV/Oa8ucirFLqi3AHfebsU/PH8QyuuzjP2lPITxj4VulEICI41hO3317lC44PCniKuEw5jxP5I5FP9wwC7Wej27EleaxVfnN673NpDxP139ms/JBW6EQcyKvcRHEqG259XWS9Aeyr6fgonLU2lbPA1wz6tA2A0c84YO761xF0HiAq2z1OOVNkPMdfyKn0oqEEpOOQt5Npe9y7hj4xkVDHZcs6EfvYT2o+igmMb5vTd6mEv42Yn+Jt/xugR9bS+vf/Sbxe+31M5jUbqXsm//Rbmx9vlalbtKAM3Lc0Z5LM2r/vBg8dH5EUSryzr5OLqwQgTLDwGkhnyeZR0JNu4bcYZs8MB873Lw2u0al4NE+UF4LoiP23d1/tRnQXpsQux8W631LchqDjRzYH9CUd2Xnoq3cMvlKk2VHFGNQn05zF1QoW6DGsa/YK33KzFnLgv4Lzt2+Z6qas6ZkowYUZS2PhBbJDAo+peyKWSPLXgKtu1yP/swDvTeu7eWXgz0wCXgI569NCi9YBeAnp5zbhAf88C4HbLm1v6qHXh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ZR951iOVhSoMRTSF1B26UddYJeAZ0CHC4ZY5Cf+uT3CklAh02EEthK41dIQo5eXKN1ivTwDUIv5O5TZE3DsSR1RkxchKnS9ILmFt1IwS0jnOV781JZ684lv1pSjx2E6P/nmqW79G1JB6M/PeyllXh7t4qUL9Qc6FOGJch3DBlDVwVfefIQBPaA/0t5j62W92vTwmX49r2igPWaCuvz/CIFkG04NGAPjTKzbSf+ZJkDBMN1QmtJoGG2t4o2FbsjV37T7hjdVsZGFl0Xf6OW4vKOjAM4+u5TfcpO5El8qG6H9b9ZWYYJ1yBYDrEKy/nAgwurWPrPQcoPYXQQjQz2s8yIR0T0HgrITbJdoK5fs/N31KCXoilhoSAJ1lQE2pm13oLCBtstqsf7E3zD832ofYZhL+171v2AnNxNwZNrXdTSISxs2U46qbel8rE35IccqGvoufvLXcKThF07FicANl1n0I+REgiNOTRjvD16Ht/V3DBfoIM9TW4It7jtIFmCsFL32AfTq+ee4hGwJVh6P9F9HRZQkqT/1BHa/gyq0NMSDNL1jjt/taKL7U8av9b8o0tjUIB4sNdDxsxCELlweF0tH/p2UQYIXU07PU8jcedps1vma+wOVrwmDsvQESoKNhjBUemuV1oylQyoDjPDw7pcCMreDb/VRA87EZZE7a5fF8PJ+Vee0dXsWcR06kMjY0ngB5PBzVE/STaCKRZG7WK5aHTDFty84a X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9023e185-2a74-47f5-e905-08db16792e43 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:09:52.7207 (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: mytqBNwt7GpJCUzj33GeD3c6bEYY67WDqlrGqWstTRV8b8OMOIbDlBA4jKHku7uJLafCP9ZRG0/H0xqn85FpLw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB5244 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxscore=0 spamscore=0 malwarescore=0 adultscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: JCzj_EymxxuZ5ogUCtWiap0lkoBAMcZ5 X-Proofpoint-ORIG-GUID: JCzj_EymxxuZ5ogUCtWiap0lkoBAMcZ5 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: Claudiu Beznea Cc: Thomas Gleixner Cc: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org Reviewed-by: Claudiu Beznea --- drivers/irqchip/irq-mchp-eic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/irqchip/irq-mchp-eic.c b/drivers/irqchip/irq-mchp-eic.c index c726a19837d2..5dcd94c000a2 100644 --- a/drivers/irqchip/irq-mchp-eic.c +++ b/drivers/irqchip/irq-mchp-eic.c @@ -276,5 +276,4 @@ IRQCHIP_MATCH("microchip,sama7g5-eic", mchp_eic_init) IRQCHIP_PLATFORM_DRIVER_END(mchp_eic) MODULE_DESCRIPTION("Microchip External Interrupt Controller"); -MODULE_LICENSE("GPL v2"); MODULE_AUTHOR("Claudiu Beznea "); From patchwork Fri Feb 24 15:08:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13151667 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 9CF75C7EE23 for ; Fri, 24 Feb 2023 18:28:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229563AbjBXS2T (ORCPT ); Fri, 24 Feb 2023 13:28:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbjBXS2S (ORCPT ); Fri, 24 Feb 2023 13:28:18 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BDAF15172; Fri, 24 Feb 2023 10:28:17 -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 31OEoQV2007421; Fri, 24 Feb 2023 15:10: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-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=t0OqZoo27ysPN9Ov/36W8nrlMlUS/kzBHEeVsqp0YQo=; b=jJTsS1bFLPP9EQ/CThxOYJogsGHmEXV8r4EoiPIo9q4xfULIEnDcw5mywVM7ZAixEbm5 Jt/TFaGX/a5f9gF8p5QVzflMV6qdxle7EPRy7sjtoUoSQYVrHU17qqKpdwj88kzFbgO+ tmzYTloa98kh5MQztW+uLRWSSUQ60DVVBA6UIgLZ+N5Eyb3ehrOVTtjNqwy8dAFFy99D n2wapAKrnAt+Zkyi/uVXh2E3TTRHKad+hTIzIL1dJxny6vJ66LSsVJV8zHNZ89V6+VVC xG3UB5kzthFUScBkrW4zwFQchhlzyuHVbrjDSyDTPReyY9RYjetF+wLDyzFgXmUBUNQh yw== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn90wb66-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:10: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 31OEFH2l025896; Fri, 24 Feb 2023 15:09:59 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2104.outbound.protection.outlook.com [104.47.58.104]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49kg7d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S3Sr4vUy4jhJSEqXH71sEuO/N95Eto9yyaqcAA+C3fRA5pnRVH2ndnhH01BG5UwwK9Kunzu8BYb0zL1nPCFupbZcVQA2PtN1dX8Q2iTEWMEHREuTspy+alfC19A/Qpf76iOtDbqTwVBTkUV4LNd/KAbxTltvrcKC5SNWbiLQ0YwvhannrJEII2Duy1RQfyM9pafNKZLuAzPxxXe48marh7PpPvqO7he4ChReMevbOwDEeZxoQ6k/Y/jeMs/Xkkox5rdPtE6vxjw8GC9zBtlDp2sVkLIdFDG8R08m94SM5jbciiF8fLj2wVcSzTlrx4Pq7mpScalDvRBRxkgmp3c3Fg== 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=t0OqZoo27ysPN9Ov/36W8nrlMlUS/kzBHEeVsqp0YQo=; b=B4kFY6fb2p5W4QiR7lzkhiVkGFSyYVgV3fZHlOxx2vu5rR9saFpi5Ves+iL9CiJbDfxJXhNG7w+FwoOpgHb6712s8jz8VW03pCS7/73mvfsN4vK3m5mdMS26Aj6mhWkZ9dYBTjELQM8r0vLokYlpwBUvsqG3toD3OnTZ6z7qrv/+rus90pdIJZ7rzw9piN+SfCt7gE5QO/gJB5Qzg3BpcuhucKZjcN6bni+FYkavlFVVZ87hWh5qvFwl7AnD3u7w/qSdcGBt65c9l3bmO9xc7ToVCcRMKq/gwmCvvotYAnNC0QYQuV/6Y0e9V9051P0cU6x0IVZSoQgMV8QYczMzhg== 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=t0OqZoo27ysPN9Ov/36W8nrlMlUS/kzBHEeVsqp0YQo=; b=Z/+Xbh65eUsYM8iAPxnTDoP6pBhCOFIGVHLiNpJNIxycRWCU9gZEmBYo8ACX0Z/QX+aAEbznAHwdrPfzLzF7ez+HBWWkU8kwAM1AZ77n8o60RZxg9uxlf+cZQoGLTwEZWaxvUim+qR8DtM2e7BWy54Mn8Qwakg77zzARZ9syEj4= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CH0PR10MB5244.namprd10.prod.outlook.com (2603:10b6:610:d9::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:09:57 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:09:57 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Lee Jones , Maxime Coquelin , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 20/27] mfd: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:08:04 +0000 Message-Id: <20230224150811.80316-21-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0040.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:61::28) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|CH0PR10MB5244:EE_ X-MS-Office365-Filtering-Correlation-Id: 1b8635b2-0179-4428-2185-08db167930ca X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mRExDC3OS+ByYaSyfXFdtWaenVhFIyQnusLoYv/uE3bc2kvlXWe23i7w1wpYInqU+LXgA6g/XZL/d+V8l4v7wksf0SW9zxl6WcllJu6VNsx4U9M1jpTl1SW/QlEfRe5mQE5CvXQadNfTK7z+rW0I96ejYz8Z3q8ZNssX8nuyUKdQrjKlMpwcgBByoe+zIvlv3pTCF5RQ5uWwRJUBkJmGxwdKK4HUCDIVh4Kgs/mGwjty1PBZUxOWg8iyNImKb/45SJ7QKwAm1I2hm8XjoQd6mBuOa9Easz5ssP11Rgsitvst7uxsbnN+3LxaXNB8TxbH7T4OgkG+V1aHZ1kJ5DqVOkfRyXwYgFu9noyEzdkShGkKM27g5r1a6jJqvmAmpNZgU19GRN4WQORocR4WxHveZnNE4F7+Ym+MQU+0LE/iUEiPn0eOqLnmaLwf44YjajE+mNHPYfqFGK+rLGsDM/+JJuVBra4YFr7NvA5sTfu7n1OyujXKYmnIM6T9AoPPrRIE2pK/htYQ0zuLVYh1yBXfw57z2Yvdriz6Jn42cV4dXx+tLSkCo0wwmkMN6HulNtbIdVBuIB2lojpPSMCoTFGqmBlh+fIpyh1iJHzqW0PYdCobP5EgfSqQp9JBrVRkRkkXAqpN9Hc3G9ARZRElwNgY1w== 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)(396003)(136003)(376002)(366004)(39860400002)(451199018)(54906003)(316002)(6486002)(8936002)(66946007)(44832011)(4326008)(38100700002)(41300700001)(8676002)(66556008)(6916009)(5660300002)(6512007)(83380400001)(66476007)(1076003)(478600001)(186003)(6506007)(6666004)(36756003)(2906002)(2616005)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: aaiI0UlhXLaC9juAH9HUWYvdvbdPyJKuHZRGKwsd1EgdH7+lyzqeFyLkkvZNSF2kW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cu1/uP44RQAwkwoJwEpIk64XYMPLIFPRhcREB8VegPtQcj8ICWOoO2Z48yGGNlTkwo9WUcZ5o8z28v2PqwiEtpYgtuKxiNN6sQnTgMKoA285BlO1lorpBiqsyY1wmi2q6CSSJtPA28upkYAyEu5SF+HUOEXVBgnbIPsjRXAMLn1JgyfTmmEL48X3mn5PuL2STkkIXz8JlbrJVkdjIQcieWppQG2pDTCkXKeXVBIG10BQTQTlMag/Yu1F0GqK0FZkKI7T/j41SEk6J8wnmfs73HKn5b+clZaTmyABivJDhDNYzXUyjB+ks2ervL9H3pIuvNHQXTFbNts3aBNbqQL+tLFLSUd9kNsSOrbm4GYNvpu99CadbM2roHcca0DJQinPyODgf9RAuA4i0LPjAdV+s9GQAPdd3EtPJB7kUVaGnKkTMbmZRbfm9P1j1wrpWE+DlbW2t5kGBZyQXNrIRyVuBOsoK7C9DAhjsK5atPctwI8rZ2FdBSFlpoZObKvPg4stHcfxv3IHO79RPL+j9KW X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b8635b2-0179-4428-2185-08db167930ca X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:09:56.9558 (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: glIjmjA+6O+sBbUBKkDJZ13dk/AGxhoCBa7170V2fCCSR3HR04KD1gLsxWtwAG68ADx/QLiRiOGwVIwFPOyK3Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB5244 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 spamscore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 adultscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-ORIG-GUID: XmHiMydVc82shoOW8S6zYGyRQ62oZ_dl X-Proofpoint-GUID: XmHiMydVc82shoOW8S6zYGyRQ62oZ_dl 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: Lee Jones Cc: Maxime Coquelin Cc: Alexandre Torgue Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linux-arm-kernel@lists.infradead.org --- drivers/mfd/stmpe-i2c.c | 1 - drivers/mfd/stmpe-spi.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/mfd/stmpe-i2c.c b/drivers/mfd/stmpe-i2c.c index d4944fc1feb1..7998e0db1e15 100644 --- a/drivers/mfd/stmpe-i2c.c +++ b/drivers/mfd/stmpe-i2c.c @@ -135,6 +135,5 @@ static void __exit stmpe_exit(void) } module_exit(stmpe_exit); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("STMPE MFD I2C Interface Driver"); MODULE_AUTHOR("Rabin Vincent "); diff --git a/drivers/mfd/stmpe-spi.c b/drivers/mfd/stmpe-spi.c index e9cbf33502b3..792236f56399 100644 --- a/drivers/mfd/stmpe-spi.c +++ b/drivers/mfd/stmpe-spi.c @@ -154,6 +154,5 @@ static void __exit stmpe_exit(void) } module_exit(stmpe_exit); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("STMPE MFD SPI Interface Driver"); MODULE_AUTHOR("Viresh Kumar "); From patchwork Fri Feb 24 15:08:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13151863 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 E8B77C64ED8 for ; Fri, 24 Feb 2023 23:28:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229812AbjBXX2w (ORCPT ); Fri, 24 Feb 2023 18:28:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229806AbjBXX2u (ORCPT ); Fri, 24 Feb 2023 18:28:50 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3B946ADCB; Fri, 24 Feb 2023 15:28:24 -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 31OEo1lc012052; Fri, 24 Feb 2023 15:10: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=Ust2a0tRvwOOv71HF5HGsctkYH9lu3wQupB2WsZSSbU=; b=ONbhH+NksiV9JD+kCDNJ3ez4hFYBREbVnk+0Xv0YI8LOBohQYpLbrU6hB2KiBmbh8tbn 8oZlRL/jPUsTKdVRLrWp9oBBipiEzI8F5iPkPbMh8+EpiFl5KnX+37UEhE7mnWv4jobe n3gz37SfrvEjcUFz2XKwXn2lKjG7roLRAWYBwAwGxEmZAmiTgRI99IMXwqxK1S4HZzfH JtrEekwcQdkWR1lJQAMJf+0YU8Qvwq/Q7mAlPG9+FkjgoOoeDKhGBzj6OSGuv0iAc5fw PQLpufi2MkiGzWMCYJB3zBreVjNPcUsdjg3WiMoC7DOCeWGbvy4H35wNAu0jqHr1Slpt Kw== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpjad81c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:10:03 +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 31OE1Zsg018074; Fri, 24 Feb 2023 15:10:03 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2175.outbound.protection.outlook.com [104.47.57.175]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49v94h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:10:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KYC4qByHSbykGhM/CQD4eR2zsWkKbbdz65WDCzkC+pXaCHNjMPIMvXGeX42pbRtuN7BIui/uURAxyj8C5RciiFyVevbUE4pBREWVg9/4PuMT4xblcDzpshO+grhUqEzx9dTIC5FGlvX+9Me6DFiIf9+H1DbdMhHj9UegyONVmFayb+X0/2XciNqyZLWavj6gkQgz2z1IXzQVdpw90DcFCayNgmopeD0TcAqpwPwDSll04hr6nDYuClIfYcBFgAyG7v+sgOMmprx8X7/0tzmbFu8xOuvgsUjB8EZP2Kovpx8mRqo6QSaBQ054F2hkU7zIaH+LCYWlVOrk27enV7wfnw== 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=Ust2a0tRvwOOv71HF5HGsctkYH9lu3wQupB2WsZSSbU=; b=CJJuVCxI2IgNng/+hGNK7bGL823CDyA89FhrgkQ8/Ar460d5b97s7l51rZsgjWyrONbu6+MMRBen/G5SCD4PtdUlvFwj3Jm7QDDs3rSKthQxz0bKQ3KiWt2+NgE4WrXTbGynaMSQuIRbg2P/uxa4Qp1oK/q3DzPEO959w7MufDh6mowPeHTGKX47p2g1OhUquZENOCwFhwMic27JaBY/J7syAPQvgEJsWp9J8nUEL3BuJlRdNAN80mLOY+x2hKVGG/y2RYlrJwI57MGSC6aqRtqwWFTtLhE+rwqAffeqnojke3fFuWtGcO4jgmIqCdWzjeViqBhONS6ROWPY70mi9Q== 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=Ust2a0tRvwOOv71HF5HGsctkYH9lu3wQupB2WsZSSbU=; b=I7+yRhK7iNBfdwpDWaojrMXpAwxc0uHkm4RNRSgq33FLK/DfKcfdwXMgGvmiHS21Mg2JRK3NLl5pAaL/3deVhKQK7GTfEAkVunWZ09vJH14qdzTyAsK6upZkQxVZQld3uq6bxkYbNzTztj96dgm4tkuZAdaJvzYvnpQN1DY9BIU= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CH0PR10MB5244.namprd10.prod.outlook.com (2603:10b6:610:d9::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:10:00 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:10:00 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Lee Jones , Florian Fainelli , Ray Jui , Scott Branden , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 21/27] mfd: bcm2835-pm: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:08:05 +0000 Message-Id: <20230224150811.80316-22-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0251.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a7::22) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|CH0PR10MB5244:EE_ X-MS-Office365-Filtering-Correlation-Id: bae8c32d-18b7-45fd-a307-08db167932fa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EhYoz6jPne4vvUEvJOd7X97mYPZYJX0W6Xyp+Lwmkhm2X5/2+ZIx4qB/EEvQsY0EieiLEM5AtytNx3jCQUL4UK82ILPYc2RZuP+9772r4hsPIoHBSX7ZqKZ5+Jq7z6+hTfdvWZBoC7y9FoHBECUDsOVWFOtsgpPhiB+0JZSYueb45+KOvz3Jdpf/BNK4NIJn7gpIEkm6sDD2Q4Iaco+vqlCNtIqYpEFZU62j2b3gywTeAoNfhzmjt0ST9RO6SZbr0rCZ0CkGmvuibyUoqjTPryBDWdd8tIkj9YrvlNpaE//ghUVxYsylPL4BURsSthgMkrFJ0sqLMpEIpR6lupjR6WUomPuOyGrWpIC9/1+BtDh5oBpaTReJ8nKmCNiCiREo3lQsPk766E1vQxLpZSQA5e+5btmodlHP5goy7xmh9lhd0vxx3g0yJt29VFN4XGqeVeuqrVEe6EE4VEtmMiMgv6cMNI3CkFnZoPeVcZxww3cX8VeHVwjh4D8jtumIascjjOONRAivWP+lSXiwyovv1GDjdNurkwfh/F3ouLuQGwWRgof82nZr3Bwt6TJny8NAf33pyUcj64f7euYJzYG8sQUWXuIJAa1FMx1uKjDm06h+LRLm/Y13D3pTvE6iGwgskXAvxEjPim+F71pb06lHzA== 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)(396003)(136003)(376002)(366004)(39860400002)(451199018)(54906003)(316002)(6486002)(8936002)(7416002)(66946007)(44832011)(4326008)(38100700002)(41300700001)(8676002)(66556008)(6916009)(5660300002)(6512007)(83380400001)(66476007)(1076003)(478600001)(186003)(6506007)(36756003)(2906002)(2616005)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8VcUB9MEShpHkDB4i1eI0WHcMykOQfQcNI3ks0S5e4fD0OeOGhwqzF8u2eycA7py9h+PaHW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hFgXI8Enlc0C+8LWMq2G7F6n+UWUMuV6r3tt6+hJWPO22t/ZVjMlapufhWT9pYs7tnt+ochMaPYyUBiRcsQJmRNWAVEPv3sfManHwXA2y0wBzMKLDjjVAzEzcQpsLfGI1IirBwDamiPKSqIWEGTWnCADCKv1cSCEfL20LZeYuthDgUh0fpoqbMyc4Idi5+W8sqYN5x8Er7T0ytTPW2tn3KBXixmFaoFmecOKs/SEDNoe+umlqP2JcRROksB3TXQ5ZCsxxAuF03wkmL5sMTVYxJmRdQoRDQpAdYfNTdadjuXPps98AHPu2oX7u2pLt2geTjuLBlGW823IL0eqctdgxHwi3jioQaSqVXcT2VXWFh5y7f2W2510Tm6tFrCI/QAWNS32o4h39Ck9RodAdNGEV3bf0oEooQkg0pRrFEeMuSGVx9odyvj0IVHOwQN39E2gk X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: bae8c32d-18b7-45fd-a307-08db167932fa X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:10:00.6291 (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: w4bsReJdn1URcAUxptxYcSeBPFSNuvGSlZIlAjuSPLMUiWyqSjGClPuU4J+xEhV2BkX9T4Dsc75VAK4skweQ2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB5244 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 mlxscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-ORIG-GUID: WeI552mI1FvVikzZ-TXnm7MiFBLHJObl X-Proofpoint-GUID: WeI552mI1FvVikzZ-TXnm7MiFBLHJObl 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: Lee Jones Cc: Florian Fainelli Cc: Ray Jui Cc: Scott Branden Cc: linux-rpi-kernel@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org --- drivers/mfd/bcm2835-pm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mfd/bcm2835-pm.c b/drivers/mfd/bcm2835-pm.c index 49cd1f03884a..2c0aa2a2c893 100644 --- a/drivers/mfd/bcm2835-pm.c +++ b/drivers/mfd/bcm2835-pm.c @@ -123,4 +123,3 @@ module_platform_driver(bcm2835_pm_driver); MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Driver for Broadcom BCM2835 PM MFD"); -MODULE_LICENSE("GPL"); From patchwork Fri Feb 24 15:08:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13151750 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 3E3C5C7EE23 for ; Fri, 24 Feb 2023 19:51:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229608AbjBXTvg (ORCPT ); Fri, 24 Feb 2023 14:51:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbjBXTvf (ORCPT ); Fri, 24 Feb 2023 14:51:35 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 091FF6C8EF; Fri, 24 Feb 2023 11:51:33 -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 31OEo12p012027; Fri, 24 Feb 2023 15:10:08 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=yt3JDqC+bypfwY9OITqR6JBuxsnRiaQ+t8opVpTMuSk=; b=W3gCb7D6x/Nb3JIXeTvXVoYx2eGkteQV/fubPjNL10XPmRIvOOa1rq9829T3F+W0tZ5i lcsPIdXMRq+2mVpZkn0NY4oKpbqmO6T5UPwxNL3b59/v/mxd4otHtRe7dH0n/CJMDT2j y5qIhzu/OxJ6Vv1zX6snzT5Zel1uu/kXPO3MuEvq6Eris96BGpvcTBgDbcxmWqQxw5kJ nP0dAqm1kTUTjk9KWKFAk1C8VoZ/JXS7cQe9QtzVd6dlTSDHz7q1KuFtMZnL6hWkNk09 uddeMzDY1KgSZ+r1H06CGXty4NvSLXdKK5nvTznT6saRjjMDkaOjjBIShsYn1wFLYKEB xg== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpjad81m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:10:08 +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 31ODDoqV030234; Fri, 24 Feb 2023 15:10:07 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2109.outbound.protection.outlook.com [104.47.58.109]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49kxq4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:10:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oMZmWN11sPJYHiWJJEX4R7tNx4Wz4Qh/m1USWKETCg8G/vp7Agyy/AJcHjl5ygqKC9umdKVHsC+n5iOSoA0anX/9Y2mIvi0sJIUDBzqhRRokhlSm5pFqa82xZjbdiSnpMFcz1ZtQ5NaHtkNGH7obbj4BlpzK+QzBtgG787dLLCWMk5RKrGoCMk2AUbVXczktiRrh2HjHvRj/MQN7jDstfrySLhfZaQ7VtcNIYd+yJ70kSoX4bRIFT+FY/a+6tPo7NuPbMp/ZtYI2l5awI0Yn8v7fmzx7OTWUWFvlCJlomRWwdzVWO6Lxe9t+/DpHHAWDxr0NF5ZMgfnHB3e+St4RCw== 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=yt3JDqC+bypfwY9OITqR6JBuxsnRiaQ+t8opVpTMuSk=; b=AVvOPOl2RTBclCCI1IUa7ba6nWynX4Yq9kirA0qpl2euqSe2YceuDHfTCGlwRfuIZqZDSBf/yW0z7E0h5kePLFsueMKh8jEVkn2VzxVC6FxtnvjAKSUXG5qcvR7MHaANlp+j5SksyYAIZa1TDSPqnwJe/0MilO4xgYNPIxUaScPL/QyLRouX5gkoTm3ThtrbgMr1UMggAcgb5TnqAETwrun4swDlMxL0Ba/j1k3CeG4AGit3C4oxbCm1SykjGxqrBfRF0X+usChsJtSyVOjTe7UKDQ1XyBKuCYdb4SrxhAmeJFyWn0CVo5TsAh65VZn60HtF3iUpAz7OZqemDNJVKQ== 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=yt3JDqC+bypfwY9OITqR6JBuxsnRiaQ+t8opVpTMuSk=; b=C144hd6G9zhk5BHdYvvKaH7utDSMSlFI2QwZFewMbAUIQ9VVJAWSFz9qtQXn+9CB011q9ftTx5fJZeDVbl42ntC4sD7LQhmMX6qNN+aCsGCqzMe61meNycl0e1JybooJI4UkxatOzkoAV/uNDjSTCnwF7M4Qdko4yFWFOX7Eq2o= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CH0PR10MB5244.namprd10.prod.outlook.com (2603:10b6:610:d9::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:10:05 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:10:05 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Lee Jones Subject: [PATCH 22/27] mfd: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:08:06 +0000 Message-Id: <20230224150811.80316-23-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0236.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a7::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_|CH0PR10MB5244:EE_ X-MS-Office365-Filtering-Correlation-Id: aaaacfe5-75e9-4b62-e67f-08db167935b2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Bqv1Hpnx7ARsvGQtmcFrAxdyzHpdBCvilGSsCeD1KbGahEsz8to9Yuxvslwe1Wa3aGVtOy4laEN0ONxGDs7mC1PGjvPnSlwx7ShYu5/JSKEQllaCJTCFShn7DjjAKpVeF4+3NLHb2cIGUmolbsNyBKekDEMtx6eizRj0xQ+75M2z5HC2wB+PFXh+j2AcOb/0hUyVEwxDXvBJxJMEaIJpR8QoK7PPnoV9bTo/YVJLIx+kbesIrR5NIeVhY32VaIZoETjMf/ZhmEu0r5ENuxQ4B4MKu//aviiz0Ii+UiX2sHrZ+YVJ6vnL05FkzalU5d/0SFXQAC3ydS22v8NZo0n/BPko7tEHas7YKrNbqPBGaE+k0T0pcbl7UITNqpseuzG3V/QiPwFVPgn3juvU1WaJOUbYQ2MHZQ4pe252xbm3DxyiODtYNbR9LHHZJh7ZBVpKnQLKapHi0OSpPZFQvm58oJ2iflJy/ORgq4WuP0IXwYzaaIr0+GishcREfMy6i1vZYzee5PNr36/1hf4lqwHs7yhiwMCu2AUls+hkfgZSLLDM5LjWyQkNKgmTq4MvGktegSGNYDZSJHTq7lkB05kOokj2KCnKUsDV0T0+f4+GmwxsW7BNZ5e6fqwMap5KhglCCm3c9WzkQywcYGMNEn5yEQ== 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)(396003)(136003)(376002)(366004)(39860400002)(451199018)(54906003)(316002)(6486002)(8936002)(66946007)(44832011)(4326008)(38100700002)(41300700001)(8676002)(66556008)(6916009)(5660300002)(6512007)(83380400001)(66476007)(1076003)(478600001)(186003)(6506007)(36756003)(2906002)(2616005)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: O1rrN3yyYedfTK4DlNQxPoSr+/P1SHV322FKNofAst45A6TzsEpf0bj9xf50dT4r11lF3meMwmUGHj5pfuOd53SPz7aNy69WHy/TjmDBoa6C1H8PmBxfIOYxWCfi66Zjy6IZ7nmlW6rlddRrCd5K8txqrmxj8UYR9FWUdgVy7S+NqGt693T+wqnFoc2TTcuEBhwnef739d9cH9kDf4xOJhWGlLe6T+leQdKTLkx8D/V7B+LXFg0nJ+SwUcq0RqeIM7dpVrXlCYH1JRCtVzFtaPsOLUn90T/SN+xUUoI9D8DIBGODZZM+3gfG42acapBj53jK/3uCXm2ninOngaeB9Mj1hrk9gvHZMZdJ8gbcMibZYN/b5CqhkWBjFA5fYvjWxQgbn6bLlXM680lhdCHMWSWxdY7K4xRESeQUL8dhZgXnh20or7JW5PQJ4KQABzqCoPU/dJeeXfIe2Do1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Eal1ONGxT2q01mEetN4S27UqA3tdY3CLTXufv+pKL6R9gFVU30q3d/tf5m7IfycD1RsVySo5gUg4f2QHuAX4ifHXIc21OZ4WABe6GRg1SRVKXBc9aM= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: CgTlvGVNDtw3+L4jgn13y4M3UwtMNeIgTfVkjRAPzVg33byWOWBZ+7uDZNGdVjBoWFQJ65+wFk4eofWI9zGRqVKyQHTdgkl21BjCnVyAa2f8dUJp4Bqev4+tpMHzcVDW7nPuUo2m2uk0eDgE2D3VUYKBKxl6HYAORNSnmms2yzg/OfNyZuVNDBVluCSQVQAwmedK9tEAaGdB4wJzuW8SGDCE3HBgI/Tud5/vGxkrK/kxBAlbM74Dr1l815Xgi4mU/jVnvHbvhUN8EYMSFNYVlBfIItN7wh/ha51w9Di2BNol/GmvzQZCiFozDCd4OWXzdBVWlShPj+aF8RodWZZjJBVPPueSUsMck2BndGCSkAvT4nD6sUN5UhAn70AwirJIDV6OjtBnkKDEuvZ97KTQjKahXb2YVBBbh8Tlqs9WdCHuH0ZzP6hfHyCqSbKevkJF15o2I2GkE6jfnka9NNLGGFO74QMr+RDCdu8OJeFjk0XBq9q2ZvuK1c0jAmvwCz0+Vk64pF0XdtpcieTzUsjg6xp1RGudz9JM8cIFPio756sZCAo6VHjSIKChha42riCjwqx1YJX56yUpZ7oFxozlokFKeyaM1wt7sqNeRVQWOtgMTy09MZd22zFPa5pquDmYplBtxqnpQSDsVBLcu0HtHdCwHWQY4enk/6zhgOLlIgSO2dEh0p9Dkq8xQ//RYMJumExKvyoRz3QUaLeYFjaYQvKsBG4U1Zx/rZFKFUOQyRTEJU9nZPkPTK7HN21cLvirvw43GbWpP/BL1n5Thz9AtwrmvMA8Oz1V+OisvQLL9volwxt5O4LzrnlpQKlB6USF X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: aaaacfe5-75e9-4b62-e67f-08db167935b2 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:10:05.3171 (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: bU5KVdkS3NkEfvksdM7VF/yd8bvHr34+v05sj+ZoB7q6NtCIOAMbkwGKy85/Vxw3SPniITHK1DjjWHWvCKZ9pw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB5244 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 bulkscore=0 phishscore=0 suspectscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-ORIG-GUID: 13AZtyuj9uA1DBJt5sIKYdUodte24rcm X-Proofpoint-GUID: 13AZtyuj9uA1DBJt5sIKYdUodte24rcm 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: Lee Jones --- drivers/mfd/88pm860x-core.c | 1 - drivers/mfd/ezx-pcap.c | 1 - drivers/mfd/lp8788.c | 1 - drivers/mfd/tc3589x.c | 1 - drivers/mfd/tps6586x.c | 1 - 5 files changed, 5 deletions(-) diff --git a/drivers/mfd/88pm860x-core.c b/drivers/mfd/88pm860x-core.c index 6ba7169cb953..3c57e537d57f 100644 --- a/drivers/mfd/88pm860x-core.c +++ b/drivers/mfd/88pm860x-core.c @@ -1276,4 +1276,3 @@ module_exit(pm860x_i2c_exit); MODULE_DESCRIPTION("PMIC Driver for Marvell 88PM860x"); MODULE_AUTHOR("Haojian Zhuang "); -MODULE_LICENSE("GPL"); diff --git a/drivers/mfd/ezx-pcap.c b/drivers/mfd/ezx-pcap.c index 3d5ce18aa9ae..8d006f6be48c 100644 --- a/drivers/mfd/ezx-pcap.c +++ b/drivers/mfd/ezx-pcap.c @@ -528,7 +528,6 @@ static void __exit ezx_pcap_exit(void) subsys_initcall(ezx_pcap_init); module_exit(ezx_pcap_exit); -MODULE_LICENSE("GPL"); MODULE_AUTHOR("Daniel Ribeiro / Harald Welte"); MODULE_DESCRIPTION("Motorola PCAP2 ASIC Driver"); MODULE_ALIAS("spi:ezx-pcap"); diff --git a/drivers/mfd/lp8788.c b/drivers/mfd/lp8788.c index fe809b64147e..18583addaae2 100644 --- a/drivers/mfd/lp8788.c +++ b/drivers/mfd/lp8788.c @@ -244,4 +244,3 @@ module_exit(lp8788_exit); MODULE_DESCRIPTION("TI LP8788 MFD Driver"); MODULE_AUTHOR("Milo Kim"); -MODULE_LICENSE("GPL"); diff --git a/drivers/mfd/tc3589x.c b/drivers/mfd/tc3589x.c index 1f6e0d682cd9..cbfe19d1b145 100644 --- a/drivers/mfd/tc3589x.c +++ b/drivers/mfd/tc3589x.c @@ -502,6 +502,5 @@ static void __exit tc3589x_exit(void) } module_exit(tc3589x_exit); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("TC3589x MFD core driver"); MODULE_AUTHOR("Hanumath Prasad, Rabin Vincent"); diff --git a/drivers/mfd/tps6586x.c b/drivers/mfd/tps6586x.c index 2d947f3f606a..90e23232b6b0 100644 --- a/drivers/mfd/tps6586x.c +++ b/drivers/mfd/tps6586x.c @@ -638,4 +638,3 @@ module_exit(tps6586x_exit); MODULE_DESCRIPTION("TPS6586X core driver"); MODULE_AUTHOR("Mike Rapoport "); -MODULE_LICENSE("GPL"); From patchwork Fri Feb 24 15:08:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13151850 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 1A40BC6FA8E for ; Fri, 24 Feb 2023 22:48:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229560AbjBXWs1 (ORCPT ); Fri, 24 Feb 2023 17:48:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229684AbjBXWsT (ORCPT ); Fri, 24 Feb 2023 17:48:19 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E9C970812; Fri, 24 Feb 2023 14:48:18 -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 31OEoTRq006518; Fri, 24 Feb 2023 15:10:13 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=Cs9Of6idYsih3VEackTHzcdXStaaV3YJVRN1ZQQeXSY=; b=BPpAmPMPxjJd4i2QniS8Q01xyBFIKF9y22gox6QhoVTM2ym3LOmiXMwYnl0ylvve7YvL 1iDtu8ZA0FFu21kq2gSvGuguKSnnlQlTSKg9egCZRmU4Vkb/QKmVDHI/kXQX5+9qtnMz hKWuVSOC2IRlfu2pdZ6C+kK8QkfSmmaqB6+fGX1ZUEBV1QdinljduetifopDo+v2feaX 3v84twlIDiGDZxhEXKrvzXuF+Xjkep02MK5fuCM48h0aqk5U1ioox3IqdBXBkpRz++M7 TDevtNZzhPgSFKDRzV2OlN0Kuuv+ik+vEupGX1HiEWG8rciE48/97mLiAsmil6TB5qAZ yw== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntq7un6sd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:10:13 +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 31ODj2e3031555; Fri, 24 Feb 2023 15:10:12 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2104.outbound.protection.outlook.com [104.47.58.104]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49qpf7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:10:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cd4Q1bycPpGAfY4PwBlZ2ZwD7n1WJv2V2jz+09d6n8tB02u3mgQ772tvN3KeaCLd2ELAUG9JqPKK0RDkbvs96Fhd5LI1SGcfGHko2yc31cW/yVEg5bdNhf3TMJKyXlnvdsOGAiBWtVvWHtUJ8ym4frNyd17MdLZF/ygFC7I0DuUppJWa+l+QsrVuqzB4aDFnIjbSW2JGam+E5pyHMJaI4IZAned+B33JoFuufBYWs4i6JcvQaP+gEmyZ+mBSd0gnBaN5Tp2l9+HECIlknTaIN3keLksQQFH8M10E1jednFQOHrVS1PT4JheFpPpmLdhpYou02Q3y6VHMoT0wrdNruw== 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=Cs9Of6idYsih3VEackTHzcdXStaaV3YJVRN1ZQQeXSY=; b=l1HYlHlevjTdD004U5VN1LpkImzQKHQZSQL9rkyNR+DC8LYn5B7Og4AkCmubUwX8rEW6t+EScisZnlQFIRxMAMn0hebDPwXrFPh8aR1inXj7XcNwyP8klXAE6BPWEuZteI8E6dwYOUxQnSvMx/OaO8AUpN/1WGg83ITLOGz0RbnQ0XyaBmfD1Ja4Vd88KyRB2DdaZLFBKH5s25Jnj4ZVpPcxiKTXXz96tIcfnL49MnzYW3vfyxnwmMe7sJU94un9CANBagygUVAzaSAvks1VVXOfpNsilxeUru1v5vy+QGD5kM+RCfSyCxnGWIaQWT7uXi2v7x4sgSJR29/XMf7tVw== 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=Cs9Of6idYsih3VEackTHzcdXStaaV3YJVRN1ZQQeXSY=; b=nuWgsksbdEqKo63YfgoT5SWBUMD4ACRu1/llJ5LXguOrjBunVB3/H6h3wY9jOwrBEKfL5PH8QU48WEvnAV9AdWLSJDGmmRG0krVB12RnDvvneqsRbHlUVTacpaPNHcgYN+GOf27XOZH4flOwljWOO4vnr2yUuoMtpMCnWBeosno= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SJ0PR10MB6424.namprd10.prod.outlook.com (2603:10b6:a03:44e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.7; Fri, 24 Feb 2023 15:10:10 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:10:10 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Trond Myklebust , Anna Schumaker , Chuck Lever , Jeff Layton , linux-nfs@vger.kernel.org Subject: [PATCH 23/27] NFSv4_2: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:08:07 +0000 Message-Id: <20230224150811.80316-24-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO3P265CA0021.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:387::8) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|SJ0PR10MB6424:EE_ X-MS-Office365-Filtering-Correlation-Id: 52a3886d-2d82-4667-c7d4-08db16793885 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fDTlpE4aPw5CsiVqJgaCaZSKMsZojg1hy+yICY0NS3LbAnAXnCL9+JLN/ghcK2KaZlc95aGeDKvZrw/NnOPPV2Akv9iaMqe0gqu2OE5ubtbYxUwX9x4wAZwmPmJHIvgOlQ9nIWqHIqRbaPTdsYV5q2PoZWZfjc9fbeJVXV6FuBjYQ1G81Tug0vJwDeUYHbqrVuIZnNj90y2pGcNJ6yrTqXIBDmeIzkrb7MapxMPedlRKOWqTxZHJvvGmpG8qoAXjv6E0t9YYavEEIkpxSXq1WUJ4vW1B1xaladhQQIWsacGOKfofwswz7UF9eIb2m6FsNaPKARdt3xAAmR0jfZPTYMsYaKLDayGsBtZmTxBmhfvUj2TcOcSJTZoNRKi83ZAgK668EGLNy8EoQK/wyy5zWzEDeeforqKnf8gVOvKsmKnNeIRS/LE12ixIwOfNbkTPCW3wZA5tZDYfvDYHvBHo4kWREwcwT9bP5NNojD5MFIBh3CC8YFG+NbWmF02/fkwBRbYgoPpaf39s0+lw21/3QobBTHwq7vV8nedXAOY/tMQM+rBBTgmKK6l+GOX/YKftKYwOP/QNGciNHlEZoNK3WKZf97WTp/ZlrakesbYsoEYvOTuM35YQY0nuacA8P2uLfEK75/buWeqK8m9zEIWj2Q== 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)(366004)(346002)(136003)(396003)(39860400002)(376002)(451199018)(83380400001)(36756003)(4326008)(66476007)(66556008)(66946007)(6916009)(8676002)(86362001)(2906002)(38100700002)(41300700001)(478600001)(186003)(2616005)(1076003)(54906003)(6666004)(6512007)(6506007)(316002)(8936002)(44832011)(5660300002)(6486002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: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5LuLtowtXL+6mTfm8cxZHIYXN3akafAJHCt5TfJNdrTCiBaEizmnJRW/5U+5hl72r3v+h6cpIUGQcLQaNPGF5VkSAhJiwQA2yxVkw4j7ua5lbHOiGfGo/FfdSuB0EgKCHBdm81UMYlqUibx1Hov0r2UylHUecLdLejM9ooEQyHuUJI1JDsz6yFE3BSPQWF8GRd9qqxvNt7WG6ocav2Sys01007PyuoixBpivymN55Yb1fcpmSL7qXB91DojPLxfMZjYWpdxb5OZBZO/rSuCMN6eLnEV6jm2mNQTi6MwdjWjprQ25DvP8FBCdVWNqM3l11phoXhSqJz6f/aSL+RN+ZDpjMMdXdEGi9d+AxsEGC5bvBIsAUl06EpMt7RDQzkDb7CP7UFuPdW/J//TB0kVD7ILDpqixqq/v6OEl6VwTB3m76UxprpMR5BXlM= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 52a3886d-2d82-4667-c7d4-08db16793885 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:10:09.9296 (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: /hFpEShaY3DOShRJjvT6B1+b7dJdBo02g0+C7WkCeLBQiBGifOcOBGn3a3QSghDKh/i1BbfdtNQmx3ElGKGLig== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB6424 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: 3uH0d4So6JmwVBvEYljvh1SqWAjw3Mn7 X-Proofpoint-ORIG-GUID: 3uH0d4So6JmwVBvEYljvh1SqWAjw3Mn7 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: Trond Myklebust Cc: Anna Schumaker Cc: Chuck Lever Cc: Jeff Layton Cc: linux-nfs@vger.kernel.org --- fs/nfs_common/nfs_ssc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/nfs_common/nfs_ssc.c b/fs/nfs_common/nfs_ssc.c index 7c1509e968c8..832246b22c51 100644 --- a/fs/nfs_common/nfs_ssc.c +++ b/fs/nfs_common/nfs_ssc.c @@ -12,7 +12,6 @@ #include #include "../nfs/nfs4_fs.h" -MODULE_LICENSE("GPL"); struct nfs_ssc_client_ops_tbl nfs_ssc_client_tbl; EXPORT_SYMBOL_GPL(nfs_ssc_client_tbl); From patchwork Fri Feb 24 15:08:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13151803 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 235B7C64ED8 for ; Fri, 24 Feb 2023 20:30:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229542AbjBXUaB (ORCPT ); Fri, 24 Feb 2023 15:30:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbjBXUaA (ORCPT ); Fri, 24 Feb 2023 15:30:00 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BE9A5DCFC; Fri, 24 Feb 2023 12:29:59 -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 31OEoAxr008494; Fri, 24 Feb 2023 15:10:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=PlLEOTIJd6bJJIiFxC3IPEKwJnBtEqwMQyM5KgM7iYM=; b=SN30SDxm6Z5Ug6NLseeyg+FV70VLTpdTv+OFUEWI6GxEEqooHkZofs3zwiS8H8yVlx6L IDlBRYFoauF5v42dzzlbEScKrV0guHWnoZUgQlTAjpoPHrrj7fZHq1hl076T5yHJmNob nDkwognKrvbK552dtCIzKPlDp7rMxoliFyqEWWCOhWJZZ3gHAq1TVsfnlsFTdn1arlW+ rHJGBdoztf6Cc9jMyXxsrkk9RaC47m85kuyLR9JUaroiJNNr9iJxswmwaPkSOIng+zsP hvAHzRnODP8fMFlUNy43qDcCFu1IGxYlXeW3esT71+Hxcnsaj/Hy1qbUtFXXhxRJnLI2 Dw== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntnkbw750-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:10:18 +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 31OEFH32025896; Fri, 24 Feb 2023 15:10:18 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2102.outbound.protection.outlook.com [104.47.58.102]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49kgvh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:10:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jl0D+RaAi1xIKx/stQNeeQVUZPhiNi5Aof8gpiCgZs2TacD8vNlrOcNvAKREt+nFBw/zgPtP0SWKFrBlGmknMB8N1aJEsKhyItaoJauGisHVthZ2tdKixe7GSQQOPQKRrUw9UnU56+IIugNwe1E9dEEvdrmwiKCL/+qV7GCf7dfEGrxwDH7wxXw1UTZfP6VRafIWLZ9wWAymuh/1VAYUmu+zHqqPk9rW53nGLTALJwuKJibsZWbZhaSloqfFML0t4yogrDFi9jBlABw84LLden3A300uOvKq9ChUFUfgE1dNva4wMp7j9svGSfnb1lil7I5WzlEeXdgyTh0y+Yydjw== 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=PlLEOTIJd6bJJIiFxC3IPEKwJnBtEqwMQyM5KgM7iYM=; b=BjoTTKW3NKPBUVVR/i0k+QPoAur6X/Aj4CZcCS47H6qkpqhM5P2939scTGaXkDr7n+LMwIN7j93Nckh8RcSY562TanXL3XKqigsh3LFx4KoEUAUHduYiwnx9/qRrBbb+2sgV6fJ6NC3ODcoPOY1A25ojFH3xhvsBvrdYm2sQID4w3dr5i2Jp55IHi+vRUbBD/F9RNE9Y6CMw+oSsg30YMULRI9u//PS4PpzV2LEDM8OEd6gDY2Ati/8nTIWfmW3g82Vo50DsAXy354IpOlKk4M8tEhxS7dcdw1Xbdo8WZLW2v7syiEo1v9bmtuw6eFgBcCF3THZscpjsAwp0kPd3iw== 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=PlLEOTIJd6bJJIiFxC3IPEKwJnBtEqwMQyM5KgM7iYM=; b=xG5vwJudnkwtDnOnir1obWAfGxreL3hiyXnMaGlfPeCM4BaFpmUnaDWZkmwQhPw0Xqz/ltHzD0zmK2zzv4g7j9upPdvDwXoFtE5w6WSWDox3XVzbci2tsxwWMlhoQGYV2bLUAA9R/bf7PNXSh0fiZoVb/XIuWhKxnJgIdoK6qCU= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SJ0PR10MB6424.namprd10.prod.outlook.com (2603:10b6:a03:44e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.7; Fri, 24 Feb 2023 15:10:15 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:10:15 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Srinivas Kandagatla , Michal Simek , linux-arm-kernel@lists.infradead.org Subject: [PATCH 24/27] firmware: xilinx: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:08:08 +0000 Message-Id: <20230224150811.80316-25-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0522.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:272::8) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|SJ0PR10MB6424:EE_ X-MS-Office365-Filtering-Correlation-Id: 7d14a4f7-413f-4959-981d-08db16793b98 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Gt28duRi7XGt7g736llboYmxN8wNRpo+D9rsnOlcDjGXGOsr+zd75vkQ7aoALndr3W636FwquCnlSRKUyqysikDwHJPsEEYDayfmwqq6oOrqITAVawZlW8qeyYjVwe7toswyv4UNabb/g+OPR/va+f9bZU3LdWZYDrHRHsiyogIBSVmtWVpgU6haF3yFy0TX+UGbnPTI7r8Kzu6nlu57Kq0JsL0iIKD0GqpYGLhtqlkjWjKesJkN1Au6fXwxMOmBErbUa38im7xyQEpWCtzZqma6guhifXCBS2mdp9G2rqyp/YtFoRD4wp5PvnQeJg2MARcb9RzZzpvI72RMApbIdOr8g41NVz87j+JqwtSbK5RAlRZetZOWaNLqXuPFsOl0+17dl080zoG9DhZR7BxapG5fGA2aXw2+RmcACM3ucWfbaKC9zAH9GjSd1ZyehB+Wu0rocRpMz0s4TlHN4kfPJCjyhBNv5t1I8GSA4+ZDDt2jAElvK7Xhnu99SUdY6nMDDEHEtCDa73dEmyDg9LhqhsM/0B4vUXuGN2Mnd/hbx34wMX1hFig198i6Hxz4E87UPYKaZghM/9xrjqYcN34UHCULPeYgExp2EOeYlTSGUZ+4XW5uuKAblPxENaELJg299igpWoVgfCur3oVj3Up3BQ== 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)(366004)(346002)(136003)(396003)(39860400002)(376002)(451199018)(83380400001)(36756003)(4326008)(66476007)(66556008)(66946007)(6916009)(8676002)(86362001)(2906002)(38100700002)(41300700001)(478600001)(186003)(2616005)(1076003)(54906003)(6666004)(6512007)(6506007)(316002)(8936002)(44832011)(5660300002)(6486002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NsfoSHYXsZZZ0o2YCc3dD1Aq44BwyO/zFlbp/lM80FvOx1EXT2uLuSW/vQDjTuTE1gPSUDne+03XxnANwe++OemwSfOL2OcDp2yIys/fbH7BespKtc5rIOHoyOBRs1eBgjb79xiUZPbguCUlxzLUPYwDBg/hhka67LqWVKkqwu6Sbx+m6rcZ7phoPQiRKXwx0vwtVw4rntKe9sTTKnr39UF9RQXiIk91CbnrAUlTxb9thFOdGgYBiyOAgHyjBCcZVZM7BKdGtnrLDtMxB+nG33hL4eJQ1yPoUeoRZCG8cmsJqz/RE+GKsOWYkyEZKheR25OGWlW3fmkUW4sutL8zCO7EygWHS1eVxiQvCTXHc8Z4kHeqRB/HD5Mq7GnNV5zidktngpg9rOSt/owJcJQIH+mWNSN+bF4YIOansvrE+PARoH/tFVMvT95eIA06IfGzslCII0wZROa/aARFGx7Zbm8Bwo5vITK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JG4RjCWDfTez3SWkaJQzbt X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7d14a4f7-413f-4959-981d-08db16793b98 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:10:15.0861 (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: muthvwkSAsxorSj0dJKT+2ksgibpmuxoaXtViEok7JA/sQXrMpBFPg8WXsfaGrFVbUCX0ggUqbl4RrbeTvEyaQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB6424 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 spamscore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 adultscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: ny7fN2U1bTExAzYQN65Cq0lEm5vSQYvN X-Proofpoint-ORIG-GUID: ny7fN2U1bTExAzYQN65Cq0lEm5vSQYvN 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: Srinivas Kandagatla Cc: Michal Simek Cc: linux-arm-kernel@lists.infradead.org --- drivers/nvmem/zynqmp_nvmem.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/nvmem/zynqmp_nvmem.c b/drivers/nvmem/zynqmp_nvmem.c index e28d7b133e11..844c1d861dea 100644 --- a/drivers/nvmem/zynqmp_nvmem.c +++ b/drivers/nvmem/zynqmp_nvmem.c @@ -78,4 +78,3 @@ module_platform_driver(zynqmp_nvmem_driver); MODULE_AUTHOR("Michal Simek , Nava kishore Manne "); MODULE_DESCRIPTION("ZynqMP NVMEM driver"); -MODULE_LICENSE("GPL"); From patchwork Fri Feb 24 15:08:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13151366 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 1601EC678D5 for ; Fri, 24 Feb 2023 15:11:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230265AbjBXPLy (ORCPT ); Fri, 24 Feb 2023 10:11:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230259AbjBXPLu (ORCPT ); Fri, 24 Feb 2023 10:11:50 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B05586A9F0; Fri, 24 Feb 2023 07:11:12 -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 31OEmwlJ024909; Fri, 24 Feb 2023 15:10:21 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=lPZdgEPTsTdnv/Yrk4b2vQxTXO8TalhMi6jV2539eaA=; b=hBfnv4TGX5firUlvJw0b7yIs7X3JWjz2mAPBgqAAE5DR8oLY5Q5smx+44FfjJXy1SyNz zH1kMOwpgifHoJQBuQMgvRQqQKQx2531XkUzfS4QYWpxJHDaIEH1RgNcKs1fnsFj/X+9 O5LNra9wZ4G/L3N56PkHtq0wVdkjgFH2f93ZPw99lWVJw0tjXe9aiGzKbXQ6qBcNpLEc fHUG+Ur4GCS4MN1le4+9woKOD+GivyphW/s/OWcaE/D3x4C4cD8Snj1fUTJx59GPk9m7 VIp6B7iVSH/ySHukWPtvo3YhCR0b+/6LBBA3VUXcKhBODQHlacCJTQiB6LPIME539HXL 3g== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn3dwatq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:10:21 +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 31OEhwxV031603; Fri, 24 Feb 2023 15:10:20 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2176.outbound.protection.outlook.com [104.47.55.176]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49qppc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:10:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YUvtBgzOENFaH8wiwhWLoZZJhg5B2qV1duaNbSLZ10oal7BhVKVhF0tP/KR/MS8mGnjRqGTqhCNB3zSVMYU/u40iCGfha35A+NksrrDEcBk93Ed2wjOhA5WjqGGMoQVVeGxqpwkNj7Hhx9JOHA6VL9Dq9QcglmFnQpSlKU+Ma8nWzkdaFMQV1I5KqRWA3Vwzi2mplz1Cd8pBinsY6NFiQqgfG+UwdnQ7vB6hYmxoWfJMbqC3cv9av+IVc0sNTVFtR4dkwiCsQG0k5oAdKfPEM0jcXgTKLj+xv99878s8tLoX4n+bdzawvW9OojY5Oq5W3xOsccTu179TlzksAiAISA== 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=lPZdgEPTsTdnv/Yrk4b2vQxTXO8TalhMi6jV2539eaA=; b=lr92HpwazrRXnHAkUlaTpZdSOTr/M9M2AeSPpBunVTkaegFJ5lUB1tXE/a+rZw0LvFPBrwDSiYhq8hubmqxk7GMTy++OYQ2LI3E1VGHGn1lR6sA5Zde1vYhnTAGxs1io3iD/VHlpyuqcsNJqNoGpG707QTKJs7D2KZ+Ro5MyDQK7K7J3OB8xONVVZVwnHi3UP6UfaCVpgVnx/jjFw5GQeJmNdmn7pZIj7DJSu3ABKPaVriUv6X6ynCHEmUQNlUDGA1C13nPU3NiOrSRom1Hnt+//Y4cPHsGiN8fJAM5Ub+JEN/LyhVm2az9YL83Z6gQTlPwux++u6Ih9AZz0b1fRNA== 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=lPZdgEPTsTdnv/Yrk4b2vQxTXO8TalhMi6jV2539eaA=; b=qpc7k+h7yJocc9r3UloZEQJUE7WAhYJwsneKY+YuHknIdWJCfBTc2x7pzhtnhCE5UsrqyNV/GvPALTCvIV+D6e2BgURNohojAX8Mfzo2PHbU2P6fcvEIGR2+MSd1Phax/QyBUZS+PvZcgNcDfI/f++C3Tda25dUXrSTZsR6Zeks= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SJ0PR10MB6424.namprd10.prod.outlook.com (2603:10b6:a03:44e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.7; Fri, 24 Feb 2023 15:10:19 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:10:19 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Srinivas Kandagatla Subject: [PATCH 25/27] nvmem: core: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:08:09 +0000 Message-Id: <20230224150811.80316-26-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0380.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18f::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_|SJ0PR10MB6424:EE_ X-MS-Office365-Filtering-Correlation-Id: 3575cc86-b33f-4108-cdcc-08db16793dea X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WL3QaT00psMVfqMZZ+9avlb2/7UTFZtL3knFfqbFGfmHa+Vu+yPKJNbuJtrQDYI/o0mhY6ZoYd+MvDeBBkw3DlraOA7BNFwwvzA2vJx+UzPpFs7ck7/2szC8bQGb0F/yWTzBY5nYtcq486t4FYTsE47nwCWXNfkkoEPnaIhn0voh1kbLmeUIWl53UQ/Nw0sSpZ20bXWZH6Hkz20zduXpYFVIilrnCSL8QzANqSMplAtVcO/B58OjJ4rX7IIaLBhMfUIENbLTq0W94a9VWXPnSUyBuhWglDbtDssO0KYrCL0cKqEoLkuy9AC6wKmkKaZUoUf9tPJU0YsEJNUr7SZg2dQU3DIH9l56J2P7hdyCH5Lke2rlGvI+NyKKsBOzpcAR0EWoXQc3qoJ7czXZHxMqUAzffXGReGzuqRySJERHVTvhOV7UoQLdEDbIiFzwlNJRk3VriWEvL7USD2lRfnx+brlsJ7t/j6SHKHtCDGaa38o1BlJF9vWnpiHnHadrtDOeLaK2QtR9pAXJkk6gAP03f9x5CTPzhQIj/DqxUi6FnceACuOUOO3yduXgh/DBsaXjBB8shxcPVPQBOjz4rPgoW8dI+EwStAt4f94U8ySyBRe12Fs2DxVHW/GjIkOQh9BnF5d4QPUO2L/aFZ8IA0cPhw== 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)(366004)(346002)(136003)(396003)(39860400002)(376002)(451199018)(83380400001)(36756003)(4326008)(66476007)(66556008)(66946007)(6916009)(8676002)(86362001)(2906002)(38100700002)(41300700001)(478600001)(186003)(2616005)(1076003)(54906003)(6666004)(6512007)(6506007)(316002)(8936002)(44832011)(5660300002)(6486002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TmwDtbiXTkdZXDmPZpGihbfl0JkE8xiDdtIFHg17pVkxpclFb9YPsU5HTDFchDAwBgyz5BeUTfihBIfgQKfUVmvtD4Ibus+VovQRIniOqi9AvkKd8KNBpLHEnvG/lJrNzXF7PMhz9XPR4Aa894ezqS8gQ12wiqXPlMgvG0kaneZXPCuxEOXaHJWPssVfk5YAsahvs0SrMh5wWQ9hY7aHuoNlNlnJN0QBSkkVMj7OAiaAODa5vJhrDrPW0PSEfiD0xetIOAAIPnj2SgSq0tQQ7vFQeZ+XXoAsb7EdwAkZr8UrPnHTp8nFT22WdyQ+ecUHgaGjlz0U6S+4BqplTkSYTsLEr/rcL5Z/nXGhfUqgApgIqGxEIuG2m8vG8L8boqulkkKqR3wGdO4MqsGSjHGl1xHX32UYJZ6LNQYDZWT6AUuqd8/SZtd1l3rE+xtN3qBVrDG/Ncv0WNFNLlplu4M5e9ngNkwmL5ygIlUN+WyRZukRQ/t+XXeVoTPbaLf59B9FUDpctD26Yq6i78S379CTc4l8QPxXXVbeB1lGNIgyUOLWl8Vpgki06e3hTZPFnGmCLOrkuEs/MLBHpweRJhnTxIp2j7q0B703ONmIFlsOU67OTGN7PEFjF+M9NR8D7/oZ0RKyy77914vmDQd+b03WmebMn2IOp6c8gYA7fNZp/1vqOjQ4Y3yN0hfQPgldYbujroy24o0YnhjKiYsIaLkMGI2rf/anUaBGqDPYmMAC+VHu/npV9L6O9Hzas0q5F2ND2FUrlM0xrUJCLWyeEHNGJ2n4T92u5c0k1PX9E1c+ErW3I8Dwc19Ioayz3ITObpVKceSus7tUT9M5jPntrd5mCfwAxZcxGixrhQibQtpAF5WmJQUwVXR2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y2bP2vfbQXm35BJKSXa37xuqOTiXIC7Ehq5UHVcOIR8j9D4h7aUUxG4XAphernC/m8qgKJwZuGqqqQOGgRsiXIHNpeguKqHRD+PRv/gpIKzC6ly0MzwX/N5/OvvoAi6fXcEYaDN9QCiB512ksMm6iFgera4CTTzhWqBT8+iUNV2cCnsgZr6ipgP2ZEprlLZtPy26teXh3Fj+1ldyFrbJFO9JrVE2LTYzn1Ux04bC/EC6BgMPuSN7DxgAnVlcuT6Dfy1I+3zkqtf+XZuIe64FIqy5aCjodN7x5nBF3s3oqAhpBvy7qmf/oSRFVAL2raukSIUf+mtYPeS6VFOoanj0u66RveCJqvPeDDGLLzUwTi5KPJMszSzRyHTu070tk5G7JYn5GLaMHprAhaIxKhLHFYN26sVeQTxEltyZIm45HfmPGmt8dSw9Zm4mIvy46qwS/4DfY/isrSqxB2PiLaIPwBYrfZinIdwaevZ73M0IzO+flFQAeasdmkqnS+8bdY4L8JG3Dbh5sJiXIzLrnXSJFNsQlpgeEx/H5URmpFWPtz+htxL6EuTpf+AmgCju+C/6wKpEKae1RZA/oGluf6e+qP4FKrkSJXJaE3UBkvpnOwIYoKcBct+bAcD5h7NOHwgoZyJe0= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3575cc86-b33f-4108-cdcc-08db16793dea X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:10:18.9803 (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: GHX6IVKu/io16dVv5PEReH1VX41F4GPzoPwF7Y91DWZzxf7SiWFlouBTvhV/5tqBFBBEHbqIiDYScFjRhLpSzQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB6424 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: 4C27Bwm_NlLEg1LLdVV4I8mPluNC9ZcN X-Proofpoint-ORIG-GUID: 4C27Bwm_NlLEg1LLdVV4I8mPluNC9ZcN 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: Srinivas Kandagatla --- drivers/nvmem/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c index 321d7d63e068..b50f25b23325 100644 --- a/drivers/nvmem/core.c +++ b/drivers/nvmem/core.c @@ -1955,4 +1955,3 @@ module_exit(nvmem_exit); MODULE_AUTHOR("Srinivas Kandagatla X-Patchwork-Id: 13151367 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 790B2C61DA4 for ; Fri, 24 Feb 2023 15:12:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230174AbjBXPMD (ORCPT ); Fri, 24 Feb 2023 10:12:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjBXPL4 (ORCPT ); Fri, 24 Feb 2023 10:11:56 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7828A6ADF2; Fri, 24 Feb 2023 07:11:23 -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 31OEoA0Q008490; Fri, 24 Feb 2023 15:10: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=a34cf8zc8KvQlsJyGSt/TDVPV+RaXCR7xP4oOnFyk/0=; b=Xos8VQkXbGioAVlagwmrefBBFfMl413+pfhGfCdCnEvPD0v+beRtNv73q4APVCHntgEs 9nDEnpONvWuVuaWGQZe9Lp/csgKLe/jCYweEzqfw6lgplAiq27+3Ya9CvCI/nxgMFPyd PsR8S4DlGkRglXfWwqqQD2oqklso5VNGIHX+c96Ga2nxdpkmSfl1OewjGsGZdA4pHMwh MSLGPzlotYPrTGOHctROvj1/Ayg4dXIpn0DPkmXvxit4AE20gYWjA3d7Lw8UdlsiVxwn 3opNgq1Tp4BwMRiwLr0USGcBjj40s8ZWP8wt4b3X3pojEcffkI2C63e+SS7pTe7H6Zfj Kg== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntnkbw75e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:10:27 +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 31ODiFWR018014; Fri, 24 Feb 2023 15:10:26 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2101.outbound.protection.outlook.com [104.47.58.101]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49v9s1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:10:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HHKGgPyzvYm50O5Vx9wtKI/GiaKXfn9RgqaSQLqBZjejCSkKkecIjJ4GNh2bMiG9/kpL4guy1NiqSrdxQN84feUUULQSMfsUTQ5NGZLtuNX7bSmpUV5Le1PzD1qyLZmJKmqf9ovdls7P3ivlMXvogXYHWqlIxa8ieaJYxqipRB6lo+iOUYkDs71Dg0EQAWNzbgoHGLfcSN9TpqWqE0/2k53mY2N6Jn5BRf6uSBplkGF9n09rISgdkXRLScpkWwV+hYyoHcX3mk4RxXkh0xhDD7J+/AqnVIsJhPzo6L3b/Q7EyWM2v2pqQMxPgRwZf1iR0Bni7j1ZVsykm6A+qNZGdw== 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=a34cf8zc8KvQlsJyGSt/TDVPV+RaXCR7xP4oOnFyk/0=; b=IWouWXGiz1o6m/r+ce6QHHSFhEfmjztvTyT7UP/GjrpC0l8gOQ0hSln43mOuFlqFBr7sfgKsyf2HTQwkAHqnRDE305lFnT+IGBydg7wbPMOfSYWFbQnR4zhQt0atWMC+p1gp3/gnjRYGqnBo2lkf/G4Bmb8uF8M6QjVtQvaA6CHChfuzAvWKIXZq+7DQ/z34Kwmj2iSNJZUqUsI+7O9D1xR934H8YIGCEIwTDJ0QjSRFq3JBT/AjvVB8kPh4ct9hovcPZdQqABf49u45tDGQ0/tfevUU2qSd2qqcLENEzo9g4fN7vw0FsxBkVcFTguGWt84QYxTU2G2R5j2fWf39Ug== 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=a34cf8zc8KvQlsJyGSt/TDVPV+RaXCR7xP4oOnFyk/0=; b=xqs0SuEbbcoF+9HyoKQJTU4tSNwuTAz3WVqeNbdmPkYjgFj5qJ/7AyuKYThSXCHmyKUCma6dRBhaSdFdgVGSmHDv4KFuXYixwa//NxWxJ7AS4jqH6pTFhbfpvcj4S9/ueP6oJyqwfekc6tkrdTUsU+ESolyT+PFDFn9hb62WxBs= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SJ0PR10MB6424.namprd10.prod.outlook.com (2603:10b6:a03:44e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.7; Fri, 24 Feb 2023 15:10:24 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:10:24 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Tony Lindgren , Lee Jones , linux-omap@vger.kernel.org Subject: [PATCH 26/27] mfd: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:08:10 +0000 Message-Id: <20230224150811.80316-27-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0379.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18f::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_|SJ0PR10MB6424:EE_ X-MS-Office365-Filtering-Correlation-Id: 7391efb8-bb2d-40a1-34a4-08db167940ce X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Lrwn6xClL1dT939/aqGi8yoCg53KodGZx+KVLOGXaOSVM4Oue592VN8vO9Nn3u8lSaOQn4b5wPc8TKFK1KTpth14bD/Vq8B6Y3zkh+c65UGd8tW6uzww6EmBv2lwTfW2evyFNBsfE5tVdcjqky3iKoiUn/IpJ3N38UK3U3SP2eQT/tYFKBA57S2eyIVl7k0QkjaIkStgf+tvSIMVZ5kVVESVM15C87YzSkdNu8AcwJG4rclTKY90dQa0o+KprMKWpnD8RHi0iFH4VZEDpo+9104932oYhT1BDXBfoC8yBUe9yueHktk+W87Wa1wuzyXQTsmcHYxd6HTgGyrg+APlIpqz9E6DZSQS7AKbHnELstU9Vpp9bCqc8Lla3kf9GOren3RyEfSgJNl7nbpBc/whWS0vaPDgx0dzae/8+W35+In057ViP3fzmLQ4vz1dYbQTfTRxZBICKUdQgOIfTkXgYO1lha9/C7TDWaAiUGQlBYfh1xJo7EHuG4U9Y97Yug1ZcCXz+WOif5tcD/dH/Fadf8RnXocKG/mR2cRboKSlxGop+M2nnC7gu9Nokz1J6uThxRGE/0tWgDofVKXCRXlp6C7DlpsxW0YlKdiNlH+RADD3ApEgSdBKz6g48j3eiPOUT4qMTRVPDayA2AezajZGAg== 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)(366004)(346002)(136003)(396003)(39860400002)(376002)(451199018)(83380400001)(36756003)(4326008)(66476007)(66556008)(66946007)(6916009)(8676002)(86362001)(2906002)(38100700002)(41300700001)(478600001)(186003)(2616005)(1076003)(54906003)(6666004)(6512007)(6506007)(316002)(8936002)(44832011)(5660300002)(6486002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3kzz+2d8zPuUDqiUIf4eaD7MCKfWx276nycExl4kQDhYm0B1U66702cOJvMUA3Wd0MZZXzFP6xir7l41PqMsUlYNbYLftpLY17NLlKxEZaFB3LRUYn2baxtRlDBQHke+4G0l7bpn5rnPoJ29kyHnlkQDUNYQiwzbsjHQTzHkx6Siewoq7bQSnY8L+ukbFW/hWXOyWNPZ7JCoCOQtO2AtjxS0Jjm2fK+wkDKLlQHFSNJSjlTvcCoeI0pzgUeEJWcoobju//udyYurm7PTIaPo74TESte/hNSu41vqNRwY1F6WzsCmgIC1rsHShiJc9y7zgEcKFojW1aR8cIxR2aDEtSSAxJNAQ9RopYRo451tJx9DGEG5HsCCRxGUeMls32fY3ItqVjMG4C6pWMjrIW10mM/G2EC5SqGSyb8oFay3iv95wM0T42GLuIbNuJrSrj7QpR/rdivu94gfZbtLuY3sh852dUlbwJD01DXxfT/hTGUh2bmuA4PR8bAS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J2Hg9B56X0G6qLmc+AGjyyUIqKhuQytPyQpQV3rK0nPY= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: YyE+ZkHb8gBARzEqEZpHACZ5B0fR8weTMxVuW7LrNeawDgOKW8VBE5fMI2CDfJg72i2z1K/xh6pDMwSAcsHKtCy8C1TBzZH3LNmAPzxPdPr76vJp1KioVfkvVBxgujQ4SN0s2+xX8z/Jv7yz7Fk6c1UH97lIpX2vBh5P3JOIth1bos6NHxJ9OAfCEG5Aro6lRyAElbNZbWYg0BoDVxGYUWD1a9xhfXLkwNMGTPBcDqemCZvb0636bpngcXobNMX1uK6JvbBKTHhDX7ykh0kqCaEN7RXyqi7i9RK8M/XkNI0dYk+A4TLRDN/5a6kU8+bsOfygXJniHpSxEcT80RCfbJ1lHC1DyB7BDc34VoVSXFZ+rv8aX+iX7xI7sHi5GIVsHfxG6NUDwkAHrSa298h6eLv483xW4JhX8+a5HK/2N32jQIk6cTkrsqN1o7RxXMm1Cu7QJITt1QBeG5RrneFfZsVgDY2T5COO1RfRjbFnKMux85nofQqpoHYYDhRO/L2WfiURpYxqGMMtIx5qzrHuhDplzNtdp9l2Hw+or0Zqt6uLkDqwkomHirhOArLk9dIKiETgeWkUmuqcJbB2I5W1sF05GWTUekhZUOVtm78OuZvopgdbK24d/yE5slJWn1cL59/jtEnG1PePTqdPu8pJMqoHnmKcEIG8Y2HDWfNjBF9FZ7C86A2nIMU0+Ymk/EdDaoSWroYdqhhNqfISlgLvLvN/27gcQnLztAZHreXnKC4gU9Mtb9GXowhfiWR4lTB08jkZv/OqGr2qGuaS4BcE6QMkx2evjgCmbaOOz+I1yc8Fe0d09F10fzT5wBBmxaKftESku83WOvImUdUq8x7oV3DuYYF7C+MTPYEHERsrqWo= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7391efb8-bb2d-40a1-34a4-08db167940ce X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:10:23.9198 (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: 1sxeh75W2bzVbA5JpCjdv2S3lglUNJ9pWDdfHJzMDJLYMGZ7XB84unSZ9vh3W0hkwz2yGOo7sZJMcKPE+EmGMQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB6424 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 mlxscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: P1w39P-srS0RU1wcBM8ZDwM1szLu0Z_a X-Proofpoint-ORIG-GUID: P1w39P-srS0RU1wcBM8ZDwM1szLu0Z_a 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: Tony Lindgren Cc: Lee Jones Cc: linux-omap@vger.kernel.org --- drivers/mfd/omap-usb-host.c | 1 - drivers/mfd/omap-usb-tll.c | 1 - drivers/mfd/twl4030-audio.c | 1 - drivers/mfd/twl6040.c | 1 - 4 files changed, 4 deletions(-) diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index 787d2ae86375..7f5775109593 100644 --- a/drivers/mfd/omap-usb-host.c +++ b/drivers/mfd/omap-usb-host.c @@ -853,7 +853,6 @@ static struct platform_driver usbhs_omap_driver = { MODULE_AUTHOR("Keshava Munegowda "); MODULE_AUTHOR("Roger Quadros "); MODULE_ALIAS("platform:" USBHS_DRIVER_NAME); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("usb host common core driver for omap EHCI and OHCI"); static int omap_usbhs_drvinit(void) diff --git a/drivers/mfd/omap-usb-tll.c b/drivers/mfd/omap-usb-tll.c index 080d7970a377..8ca4067da6cd 100644 --- a/drivers/mfd/omap-usb-tll.c +++ b/drivers/mfd/omap-usb-tll.c @@ -450,7 +450,6 @@ EXPORT_SYMBOL_GPL(omap_tll_disable); MODULE_AUTHOR("Keshava Munegowda "); MODULE_AUTHOR("Roger Quadros "); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("usb tll driver for TI OMAP EHCI and OHCI controllers"); static int __init omap_usbtll_drvinit(void) diff --git a/drivers/mfd/twl4030-audio.c b/drivers/mfd/twl4030-audio.c index 4536d829b43e..88002f8941e5 100644 --- a/drivers/mfd/twl4030-audio.c +++ b/drivers/mfd/twl4030-audio.c @@ -285,5 +285,4 @@ module_platform_driver(twl4030_audio_driver); MODULE_AUTHOR("Peter Ujfalusi "); MODULE_DESCRIPTION("TWL4030 audio block MFD driver"); -MODULE_LICENSE("GPL"); MODULE_ALIAS("platform:twl4030-audio"); diff --git a/drivers/mfd/twl6040.c b/drivers/mfd/twl6040.c index fc97fa5a2d0c..e982119bbefa 100644 --- a/drivers/mfd/twl6040.c +++ b/drivers/mfd/twl6040.c @@ -839,4 +839,3 @@ module_i2c_driver(twl6040_driver); MODULE_DESCRIPTION("TWL6040 MFD"); MODULE_AUTHOR("Misael Lopez Cruz "); MODULE_AUTHOR("Jorge Eduardo Candelaria "); -MODULE_LICENSE("GPL"); From patchwork Fri Feb 24 15:08:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13151368 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 C516FC6FA99 for ; Fri, 24 Feb 2023 15:12:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230257AbjBXPMF (ORCPT ); Fri, 24 Feb 2023 10:12:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230256AbjBXPMA (ORCPT ); Fri, 24 Feb 2023 10:12:00 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66E066CF06; Fri, 24 Feb 2023 07:11:30 -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 31OEo1d5012033; Fri, 24 Feb 2023 15:10:31 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=KRrwQzlt5aRkpr/mL7CMLdUB9E29iFH9PIP+6PHbgtI=; b=Vq37TjQGSX7zf1euOjf2sd5+DWrOWVcPj50sphlLz0oSXnkDL6yne28SRuM0I3/lXGxn H3do7u/k+r4JaPcbWc9yG3bg6C9piVHHZAswjCdZVX0wpCKUKMvB+jK5To/DBWLxF3jT RLe/pmc6sdMCZLveNPNlI0Eb5aY/oEHV8lSIrj3YQle44VSltKiusCnI4rTz/w6QwmE9 xpiafbMYLIuqBqy90oYBelowAPn34HBc295jFusPRyQKAQwkziWmzzEyCRpt+bWZcXMx SXSGNGal8/ERCjUnGb2oIA9heviyy2obPuXvyy1r5WdB5l/BPrioLfD3MDEPIR73DDtN fQ== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpjad82u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:10:31 +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 31ODVvm9030210; Fri, 24 Feb 2023 15:10:30 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2108.outbound.protection.outlook.com [104.47.58.108]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49kyca-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:10:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IbqIo5dx5bqQOxcHPVjHbL9bSjhOud2ACce8LKoG5NSLDHbeYGPVcipb31SKrCikest8OIxw/giU01hZt2Jdx75pZz92Km1g7gKJ5FRoL9Lo75HTvdcVvAJgAahMfEXmed8EDEDZpgN/CcukcPciRrZgWlPRCZ8zIWiwHj/2tXQKsiDRTL1q2JU6kMDouY9oYFIhV1bqIBCJaHnTc+KbTL/JR4mMO4nQzgxhFb1int7/wPRb74ctcr0yemxXUZ+AJZF//lFSi41ZGbNImYPtyvxIi+WT3d8jYjJ4I1v+IB8X34T1X0gz8pXyCIrXFgIcEVwfBQ11Psr2YCfxet/Fgg== 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=KRrwQzlt5aRkpr/mL7CMLdUB9E29iFH9PIP+6PHbgtI=; b=EJNmkNZdCQXV7RBdRp0kfnoinuFO5Q7PW/GLrKFi12nFOz9eOtqb/ouhCfvOoyOZxl68IqJEaeVhSDrGnoQcGQar8d01dvfN75p/13GisO+3EguXZ+UT5FrG2ykxVLiceCHJPyvuhdBVuCoLlcYsBNrsFyPRTiCOSqdyS8WxsedUvIcfry+JsOXWnC602NaMQw9zujqsZRH1VVf4ZqAL3PoR+lieuJX5mGKptzWE8RmCKUfewPpKECXYLWN69+78LcQ4MJiT9w1PBU5wN78n++D/E5Y/J4wrfX6tqAi3pQSA0HoMDSvO/jJZHLUbmtKXcH1ancL9XJzElSVppwIsTg== 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=KRrwQzlt5aRkpr/mL7CMLdUB9E29iFH9PIP+6PHbgtI=; b=v4tzOPcCMApWYn7UHJeZJL2qxihRSixR3koBTE4mdZ7/JwFMMHU6PdxbNd74frMPvRzzEUFG55c05toVcKJFjMZSoJ2LE20PvZQq63cmjxfEQIt5jS5UGFiggyx84joygqq0fKgbrv42gBW8ze5+edB7ZKuWJATnoJfa1EreCc4= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SJ0PR10MB6424.namprd10.prod.outlook.com (2603:10b6:a03:44e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.7; Fri, 24 Feb 2023 15:10:28 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:10:28 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Vladimir Oltean , netdev@vger.kernel.org Subject: [PATCH 27/27] lib: packing: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:08:11 +0000 Message-Id: <20230224150811.80316-28-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0396.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18f::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_|SJ0PR10MB6424:EE_ X-MS-Office365-Filtering-Correlation-Id: e56e921c-9632-431a-4357-08db16794384 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nG27zJ9SJwIJY3ZF5wkxF8JF/0sW5/HzPmvxCvE/AZIG/N47GeSKU+bjhDdhAiFFf+oySvJ0pGRAWjDC6jiynl8duXN/QRpaKXUVsgApmZZpXF+S1BGKmF1ZndDwzv6TUrDwP+qOfQug0Un7Unzm0VI3mLEoXZuKeNuhS94M7uQzZ8qEUobGSCdFI0/zFbwAKDL4EGGVG8DNyt1eDH20fcEAMA2BCHomT+WiunUpE2M4jvOBeAROzHG+B4zCQF9bS9HKrHlrXY4r9uvOWI4KNDjOQBEwgVX39/3CmwXZoOag3suI7S8ytm/SJIZKgaeVTUDtmsieUZlXYTClbGJMfl/NIitfzfeagpfAkaRSCcJklePZFdCIPHbwCBRNbp+pW3c6CNrMPy7t+K9SpTyl0QADvbJoxfJBo0xyDYd/8DiS8SIILHokLXJLLcAh1usrZ3UudW71hQVlLOOmJjV6rnGG7nAfgq0F2J4gJjK0+bGO8rZn1U+ssKYNaatU90T081/0xpb5eCQZoFVSj2kiEfaUKWrNxWtFiKEFELpDVa/VWUhHawpZ44ItTVz4lNdohcZcsa/WQyfBfkd2SOoMa1HXKV92kkecbMaPxUQZeMcQTtHDbn0poS3kdHXslWD3hxVX/+12hVAp7CIP34T6cQ== 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)(366004)(346002)(136003)(396003)(39860400002)(376002)(451199018)(83380400001)(36756003)(4326008)(66476007)(66556008)(66946007)(6916009)(8676002)(86362001)(2906002)(38100700002)(41300700001)(478600001)(186003)(2616005)(1076003)(54906003)(6666004)(6512007)(6506007)(316002)(8936002)(44832011)(5660300002)(6486002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: kd8fI2tPlncPTffDzFVHYcetr/wIBvc0h0uJ2lg3V8p5aep2DxU8N52Ou+3OIkCNc3ipO0VTIzIMhKe9mQgKAKQsxJ32t1NhfxAzr/U0RJesuB7aLkitxbP4pZ9NCb4O3EQ7R5ytKtX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pCJkEUkIAc8Eh8aPEHTKS4qC5yOeGNEkRonFNeURBhospYwCjzQPFkD1g6N/5dstd5TblkCanJ2MRFbMlRH26n1TESuiKkr9EHD8iDqHkg5Vbd8XVr1AVfrzkvnvA22EQlYSM7VJilSmvS1CDnLyizHB8Pc8R2m9a/q1LC5gFY8Nzmb6x8gdfYfPBjKdc+04tqvgUD0vklX1eik4cREIVkmsMdm0b9XftWUdWV9VFs9z+mC0t+wiC+dldSYfI1zaMbkTUty72uP3JWLgJz20Gnfw1BIPddZwJtjrL0cKAzc= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: e56e921c-9632-431a-4357-08db16794384 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:10:28.3746 (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: KQSw+7XkiHIRIwWeSTR+gbGl6PxgKvEbypERT73FfCofvxBgjyFIwwpZpc8FsSv1VkEsFan/pDUZuAKJinjiKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB6424 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-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 bulkscore=0 phishscore=0 suspectscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-ORIG-GUID: si0ElL4JkVQXWoSqFDc9rl_51ESnZ2xH X-Proofpoint-GUID: si0ElL4JkVQXWoSqFDc9rl_51ESnZ2xH 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: Vladimir Oltean Cc: netdev@vger.kernel.org --- lib/packing.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/packing.c b/lib/packing.c index a96169237ae6..3f656167c17e 100644 --- a/lib/packing.c +++ b/lib/packing.c @@ -198,5 +198,4 @@ int packing(void *pbuf, u64 *uval, int startbit, int endbit, size_t pbuflen, } EXPORT_SYMBOL(packing); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("Generic bitfield packing and unpacking");