From patchwork Fri Feb 17 14:10:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13144943 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 06C4FC6379F for ; Fri, 17 Feb 2023 15:09:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229999AbjBQPJ5 (ORCPT ); Fri, 17 Feb 2023 10:09:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229844AbjBQPJ4 (ORCPT ); Fri, 17 Feb 2023 10:09:56 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E75046A2; Fri, 17 Feb 2023 07:09:49 -0800 (PST) Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31H7hw7J020119; Fri, 17 Feb 2023 14:12:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=dJuqsT58RIQ5Qc8USHxfhPBXL9fWm9i93SBZ3u2eyXw=; b=gAjcsU/2BhFUvhSvMJHvoLwHSgfaosM2lqkP2x7xmSuGoCLJ+i8VyLWz1N7AutbL2n8L sPTP+VPl2oVMfo6T6Sth39LgnoE0bDAZFylguYGNQ5Dx1BhjDlDqjGT2GQqmibpKInvQ r+1H1H8NIKYowatI0rMtFvE26dztFE3Y4K+jsxDppRenckoSQoE9C2tjqdwsiOc7/Ulx 40jz7jr37f6EEIXGfFMr0VOkrQZ+cNbSJbIK5ehr77MPbc0PiJwiULuYI1VechAZoXMj tTF7Kpoa+fYyiOK3w41OPTHB2Jh/YuMErHcUMj0onUJG8XvhlmlTOSJ7TzabI4HIHXhE /g== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np2mtny88-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:47 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31HCAMVl013890; Fri, 17 Feb 2023 14:12:46 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2041.outbound.protection.outlook.com [104.47.66.41]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1f9ujps-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:12:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g/Ek/y1w0JXe1dWDEWA/rMFnpfG32gsPzmuEQ1S8OJPLd/gc3mH7eWR4APu1LpjjTrasiZeaN93yKPMYWakSVC+GKefWLNEjxUWA8jf2vBfqanAxt0XInxKiXI3PaJm9XU73aMJ56QZz2ARfACUTOf102tYDquAhTAsH4N3NYfiD28lfxel+R9tGyUv0zM2zEy/ecfqjxUeCc/Dvt1OXe6QbUYipn9AO6ZXSoGbsD7viQVNaritNz2ydWOtgXTFtYplJyfZ/shx5s98/5/NHI0ciTTkYkjldfZQysnBaOfLPjpj1zDXakTZXAgMffXrlb68EUKRZIr5v/OtXZLbUmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dJuqsT58RIQ5Qc8USHxfhPBXL9fWm9i93SBZ3u2eyXw=; b=AQojhdB/XWO9aVhH4bnsEK84m4QIq6aamOGAQYuggWub3A3KEJJ+mav2saVH7YlOkoGf2cihM10zgW19oHa2PMMmP+QAJBc5cmJgkLovN3UJLVvIy5U96I9Ozm/fnGxcUdtfYvWC6L27kqep0vi/U4VY+VsrvwqJz4JkK6XiXh9CKSC6fXfacxpHQQT8L7U10J3KA1Silew4xZgqDeTUsDnjEkcnifWg9FooTEY/bJGSGZxm3DFQyYHFUDlATKhqHV+sSpCNbujwehkRqnr3QY7QNKH6bg2MM6w89nCQ3O440+pq1CVeJk7fMsoEOus+RONfOHSa3uPl0d0dXqeKUQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dJuqsT58RIQ5Qc8USHxfhPBXL9fWm9i93SBZ3u2eyXw=; b=PZox8X+OuOfN6mD/fiA+BaCYiTrJFk+J7jwUbQ6vUXkdM+ckvfEYfu7k0kX0QbmLhsMtzxTdXsOhcKjo7qi5za028fRDR+lKe47Fv0l6mQ8mcBa+EwLIOa79IxldN+TPdmtcJVrGFQBMPvsRZLqah3RF01kAumNHs/zXoUE4MHQ= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CH3PR10MB7493.namprd10.prod.outlook.com (2603:10b6:610:15d::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.12; Fri, 17 Feb 2023 14:12:45 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.006; Fri, 17 Feb 2023 14:12:44 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Manivannan Sadhasivam , Linus Walleij , Bartosz Golaszewski , linux-arm-kernel@lists.infradead.org, linux-unisoc@lists.infradead.org, linux-gpio@vger.kernel.org Subject: [PATCH 20/24] kbuild, gpio: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:55 +0000 Message-Id: <20230217141059.392471-21-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0332.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a4::32) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|CH3PR10MB7493:EE_ X-MS-Office365-Filtering-Correlation-Id: af810aab-364e-4ed6-14fa-08db10f10a33 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +XarRWxkEGq8kfup9ttt8JrWsZ3fxlCmFWqj4A6UW7hWeCwSwDaKXiwzhRBHjM1ALzyHxV8EZK1k3Z63gB/MCXVhrm1mAMQkygrfc+kMQu/KOmYMM73JfPHZQCLSibuVJMRiqw6+uxoGp/VKu7NBl+0KFGp0Ae/jsR6oqT8tozUGrQe4cfTPnzcEnOB9o81drjObkQ4Nqvi/84ntZnW9BHQ7YagdX/7r087KdFhsH1ujR5JrfZI9HZ18H9/jqQn8YQ0f5cTu9MbfZO0pQD2PDMOOW+sZ2L4b3R4saJMi8HpMybAychKJWdnhvXKaKX5e08NPFQ13NS3XgaF36SfQ5dO2cpoQtmNMbHEcSNVqms1O5sLnlNM7e2sC6GQyivmZkdlvWxwgVw9GLFmM9y/p022H0+e1rYDQDOyCzXfy1diAUpjGfibQbsar71z/5D1vvKisJNcUageOTn9wh5C5f2gTKYWBuC690JBFBMUBNeHgYh8BqMl6jX7bKFIiZBGyxNs5JJbsg5IqpAOXIpaCUQXsG0ybI3dSRZkN24eUh8Lgeg+jX+32b+uMCNhAQO0QsqJBMbuiuZWIm0kmwoxVV0AatbN87rt7Jwpt25l/UoOYc+lykwe+wYmFMhS1LKABDrQwdXHXxRuBg9Kfwx18Bg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(376002)(366004)(396003)(39860400002)(136003)(346002)(451199018)(38100700002)(2906002)(36756003)(6512007)(2616005)(478600001)(186003)(86362001)(1076003)(6506007)(6666004)(6486002)(83380400001)(44832011)(41300700001)(8936002)(6916009)(5660300002)(7416002)(4326008)(66946007)(316002)(66476007)(66556008)(8676002)(54906003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: EFWEtZgHJPkJ1se3qD+1B3WsGBa3eEtsXnPJoQkWjuuT6MPFktkzJpsDNWNvK7w1dr/Spn0TK8lfakyCwnR2Fqd1/PhQrkc7TdqCvz1JCyGgk+o7J4ZbNnxhB+M/1lvqCu5suL3C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pkg0zhHsfnjkKkCy5cA514XI20wkaB3qNGW71ke8+Kbp1XZjvULYENLkrl7e1VGMevWBXQAUiNdXGEheub8/FsnF0OV5MyVemUezyu4rHGLvTkM4FmqETCQB6+ygCit771Zl/CLnqO392XYJHt0CUu3v2X6in7UfijnZQHOW9Nq5r+1XsYNq+5CoSsrFD3GI76K2WFSHts89knMmlRf/E+HkhvxyMQJNOjw9016N85ySkMODwxM5UC5CJ62N8IsbEg1WElzr93c8fYElwPZJwWFG6YT0BAeDnOUifsjsIdFx264wdzvir0UiLrmcSFcnm2EKpH9rGj/7nNNn89P2+PFx0hWZJdrhZvoNOKdGxq+680H6DSQykC5ELLL+ZgSgLqSeXZcBtlsFju+JrTsTTvFMsshvTfLFFyQMeA52LV4s569w8+UKxLH5TgK5Y= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: ho9AtMUJUrXYu8CkyLrKr38nfQj2iy0vfoZi4KnruUyMb+MTvVsa4OIUGya9TYGjX8DBtwNBefzJogFxKb6KDVKN2yq5rNDEMolM8LCKj4VwWr0euagdT1ZOMEJrjA38y1ZXZvRQZrPSC54t//zhBZ9uKSpkYrLrMTPWB4KHNlLL98OqNT2Y6xY9k9WU557BWQeN2YTmlK7bGoXuprK6/jlsX8idg1sxXpV3WfMJOCqoEbPYS9rYQfQG9H/8pA5m1OAUVlt5an9NfHK8RthX0FSrPQHc3Nf0stnHRutrsXmYzeafv/TeVKZKmMkMs6t6N/Vs+ENeS3fcII21AlywXolFr2MuQkOMWEsNLj/pRrOhVl9yg44f8z/uUEQ/C/mAG0BNk/Y3Qajfyryu4K6al89zBuPU0gDFpthoHm5cFqsz9jVlUa0DvagTYkeUbXRmzfqhrgyghn3ZvC/l3B2B5d8ZW2Lfzrlqk4MstowMdWcoXdaLOkuDBlFxoqXC0qiTAZckhiOFuoUWzjh2Qnyza3wdF/KtYa7zdmA1VEwXweOgizlX3NCLI8lFtWXD4m0fZD89NsdghuWKGhpBhDd05NUaBFRt5y0wiIjfvzjNe5x0TuFmnotiapNwb10rEFyshHtTAN0LzYy/t4pwkpHaaGGYjmJI2wnYUnS5/urHH0HkKmbEw4e+MmJRuk3vKvRzZ4FOZJ84VZSRhkjWa0Ue+gxFChqtYk9WOP/diw1UudBib84cpZQUK70ODosueauQKbpwPGDYFL6fRLTGADINktmIzZ8joaDqtDim30STBjVrIjNJTviuYHVr1TCOJBo12Gqnu0MQgjkRRfLXoPJSgDzS1O1azirb4Itz9sPdXqgBnDXjrJDNqH5ihfC5s7W0AbN8oMhEsFw598Ze3w+QUZhFf6RM3TigUINsCkOXh/N4nLo2IHuK+HOBg7bZowuZ X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: af810aab-364e-4ed6-14fa-08db10f10a33 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:12:44.8746 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ixoK1Bj/yB34CMG1PVE5+TY/oE/DBZG9fVXvkNT2iyy2FKUh2AqWF/g2GfepcZzOqZD9siifk3H4MQBXjSqS1w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR10MB7493 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 phishscore=0 spamscore=0 bulkscore=0 mlxlogscore=999 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: 5x-GGrU6o1D-b7jI-35p13ah1EO66Pd5 X-Proofpoint-ORIG-GUID: 5x-GGrU6o1D-b7jI-35p13ah1EO66Pd5 Precedence: bulk List-ID: Since commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message. So remove it in the files in this commit, none of which can be built as modules. Signed-off-by: Nick Alcock Suggested-by: Luis Chamberlain Cc: Luis Chamberlain Cc: linux-modules@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Hitomi Hasegawa Cc: Manivannan Sadhasivam Cc: Linus Walleij Cc: Bartosz Golaszewski Cc: linux-arm-kernel@lists.infradead.org Cc: linux-unisoc@lists.infradead.org Cc: linux-gpio@vger.kernel.org --- drivers/gpio/gpio-rda.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/gpio-rda.c b/drivers/gpio/gpio-rda.c index 62ba18b3a602..ab4137de5889 100644 --- a/drivers/gpio/gpio-rda.c +++ b/drivers/gpio/gpio-rda.c @@ -286,4 +286,3 @@ module_platform_driver_probe(rda_gpio_driver, rda_gpio_probe); MODULE_DESCRIPTION("RDA Micro GPIO driver"); MODULE_AUTHOR("Manivannan Sadhasivam "); -MODULE_LICENSE("GPL v2");