From patchwork Tue Feb 28 13:01: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: 13154869 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 85833C83005 for ; Tue, 28 Feb 2023 13:02:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229762AbjB1NC4 (ORCPT ); Tue, 28 Feb 2023 08:02:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231608AbjB1NCx (ORCPT ); Tue, 28 Feb 2023 08:02:53 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AE3310EE; Tue, 28 Feb 2023 05:02:52 -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 31S6GSHS028680; Tue, 28 Feb 2023 13:02: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=BQQm+BdgXnFzmwTRnoGX487q7zhcg4bUcK+YmDgMG4w=; b=gcMynJ8WyYCQPAbgvFD99VVkV0LZDf52r1uMwkYgBYnKLkGY8JJAXSxkWgEwrfUw+36B 32gCsyz05X0M9bz+PAS8/tMnhujRD4TKZXnPq8k7j/9yzcSwI4mxK5yA9lfpnnVusSKX k/X0xizAF1prb7JtJPsfNo7jQLzXyeOXB67uNu9EIUSWmHaEGNFoDdMJwPTVLJj20hHN s+zEF8U/W0GRGUxbE9BJtg3yf/rfSCY4uhoC6saDPNB1N2BzDvYLSO3EEyeA7wGAeYkt o5S2GWgAQi7TOeogI1FxTFUQv40/lL8Jx7SCiYcCpnJKnTRIAZeLW6hFY7RCv35mambD 7A== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb9ae35v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:02:32 +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 31SBif8i015877; Tue, 28 Feb 2023 13:02:31 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2041.outbound.protection.outlook.com [104.47.74.41]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8s71mex-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:02:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aC0XYQJEBal6snuAuJ8QBf8eQO9khlLe2UKacnZYKEpBTDLa7nwdWj1zLlO7gfgGzFXHkLBjjSjjCuzQlxX/nn1uQhvamQ7iTLHLW8TPZ/68w6tC0Ojsu76fW43ofCD6z0nOIP8mgrk3D4Xm/FUx+C3G+kqzZVW2Cu/fHrUYdKOrXcMn7/WSmr7n+NW826hmB4830gucxpmw/yvTHy+Hi2/vWGxERRwld3hWW7ZPUUK/Bwif0bqd3sTB/0m7GrkKfdViPGFNaQMr4m++ptUzoHZBzGyyXLzGO5vE9d7DY3oUahCNP70DrtH2RDITy7VgD3UNJpZkPsSMRBtzXLR4tg== 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=BQQm+BdgXnFzmwTRnoGX487q7zhcg4bUcK+YmDgMG4w=; b=J8U6ujWEVUxz6nON6P2qsh+YaP08qE+6vXop0kclYw44QkapOAGSvK+0sp5Av3aI64zP5Rci3+mX2ysytBDdn4hl1Ch5GcoOf6+qmLz9wvd2OctLei8cF7hPbY+RU47e6gG24EVokaHJlcAszNs+banG6mQqDL2b5gZXDhvgqvEXbkKEmMbwq38E5dUd9lyLs1SW2ohHjw3ixDFsnNQ50VLe74Gdw8BnEBjYw+CE5EeXZRKT92kB04+fvxAB1WTpv4QghuWQGyAoH43IHOLjzHB90/+xFrj1FUBlIm0ZANd197/MoOn/deAEdHdFmeLWLXuHqG2GbAKKHjBlkQeeJA== 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=BQQm+BdgXnFzmwTRnoGX487q7zhcg4bUcK+YmDgMG4w=; b=p8PzbxgiH8k4+irM6qa34ypHvg3sITsCduZQQkDeN39A/DWICipB9chcOKANyJUX/MTjPhg02kWOl7g8Xy8WYIhcAFSM67rT8EW5nhlZvbD/zW/DuzgVMDKkkln1GHAcEc2ZmwVgTNakwv6rA5ou2/K7o1VNHFMovxIx6XzQofs= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CY8PR10MB7290.namprd10.prod.outlook.com (2603:10b6:930:7b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16; Tue, 28 Feb 2023 13:02: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%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:02:29 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , linux-perf-users@vger.kernel.org Subject: [PATCH 01/20] perf/hw_breakpoint: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:01:56 +0000 Message-Id: <20230228130215.289081-2-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0318.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:197::17) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|CY8PR10MB7290:EE_ X-MS-Office365-Filtering-Correlation-Id: 4d25583d-e0f4-4448-babd-08db198c0c1a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ahG0lfhytXUhq7rGPxM2wwFw367SxO6TWtLDLq+t2AVFICEXMg5uxiDVcXUGgjCc5Flk8E9X/1XpkWc9JhK5sBtpZt1u52gaQEMEW+RB68mcQQEgSEqlQIVLovG6BiezVAEN/fTDmxJqTxRcO4GJxLSzyNyeynnfO4qXAIjNqC10KvKpVFQsgmvuG67EwuigWdzmKstLa1apDbOvLRGwKoSOM3J9xLKJHgjroTlh7GrO6tnuBVlt1DiEFwRgEQRAWvQ+bqhFb1MlpbPyOVUqYf7JaBgpP1gdOpDtI+2YaQ/RlRNS7HprB8NpQkP05PPsGWvEoHPI/B5YdRwiET65yjsuL/auSjhTdIytZccsfF8Hx9zXkvXbXaVNoSvbLJ10dCcpoJF72tTSto+Z60OB6ytLz/dCdTuvbsfA4+RcOCLKdsOAVk2WwjKlTg/Sp9oqyjfPqG2l+wMTXDQBUBEpcb57dqcFoVRpprRrstHPld7Yuu0fj13ng8ajTGGrTRBMrzKWI9fKVDiy16IvnFViUJgCFyhANVVGNOad9s5imCyFQ8E5EK9KyEzK9j9iL9o1K+dLlrOpknCi7XAGW1nJP/dl1g3vdHMhdjGhoFeOK3ieN4M90y8DukbqVNkpOYU9dFanFx5PoRHXKZTBFKk+Cw== 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)(366004)(39860400002)(396003)(136003)(376002)(451199018)(36756003)(44832011)(5660300002)(83380400001)(478600001)(6666004)(6486002)(2616005)(6512007)(6506007)(1076003)(186003)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(41300700001)(86362001)(8936002)(54906003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 2DJE3RjULQB85fn4oS2aLuYwjRFFfMwDvUVkoALpXfKlc8dAyVO0sD0Pz1Vpo/px+M0XFvDWi2W65w2mu9Jr4sXsDptwcyUK6KbTWtayZYu6RqR/4Jz8Q3lDycP4DV2C5QHXhgF0XZlVOxfgTTa/KbfVIcQA5F6jcFP+oo9nwp4pPJwRxRFzzm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MlPmP19z5UHsOPyKFD/nPSA1luhpODho91IZlxsAxIRWT6vwoSmePYFhBYdkU5Sr+EPWGi38BtukhzH1D+S8Cje9i2xTCaJz4zTmEfZG8fu4JiqhYK4Cr+i3DUdUnX99JMXnpxSBVaojbDeQ/1EWSkcY75ex5waswFVodpBm54DXmRYmBReE+057lZ6+g6I7Zdu8kCLr153HcQRU5LpTKfMiNR8SBAJGL30sZucwoTDr+yFSNWx/GQ0WLlhYW+bWCIVzxUg8T1Ew3tWvGg== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4d25583d-e0f4-4448-babd-08db198c0c1a X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:02:29.3670 (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: GO2tFq8ppdeWJQksfNK4kWV9+/I4Ohzxcf741vkK+2YXFRWy51lKburmIqUZbocXjdMoUDZnQAXK78WdxGSfBw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB7290 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 phishscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280105 X-Proofpoint-GUID: YbGzxvc8q62IY8r0N2apUa_4zxu1HaRA X-Proofpoint-ORIG-GUID: YbGzxvc8q62IY8r0N2apUa_4zxu1HaRA 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: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: linux-perf-users@vger.kernel.org --- kernel/events/hw_breakpoint_test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/events/hw_breakpoint_test.c b/kernel/events/hw_breakpoint_test.c index c57610f52bb4d..2cfeeecf8de97 100644 --- a/kernel/events/hw_breakpoint_test.c +++ b/kernel/events/hw_breakpoint_test.c @@ -329,5 +329,4 @@ static struct kunit_suite hw_breakpoint_test_suite = { kunit_test_suites(&hw_breakpoint_test_suite); -MODULE_LICENSE("GPL"); MODULE_AUTHOR("Marco Elver "); From patchwork Tue Feb 28 13:01: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: 13154866 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 1C057C64EC7 for ; Tue, 28 Feb 2023 13:02:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230386AbjB1NCq (ORCPT ); Tue, 28 Feb 2023 08:02:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229633AbjB1NCp (ORCPT ); Tue, 28 Feb 2023 08:02:45 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1040A30186; Tue, 28 Feb 2023 05:02:43 -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 31S6D8uI027473; Tue, 28 Feb 2023 13:02: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=WprWU7KQOKxrj0dRw2rDjqqChIUL9H+xdlK4PoUkXbs=; b=EFaNL/eueqr61AFLeuHdO5hq3m8riWAnAG4BVPb5srr+/B632SJ9T1DlD27C4aVACX70 InC760qhKUogebwhRl5TUzyrBIvTPJ1+33mKT5X8aAbnC0hgSU0pSHn0Pa8toyI5d3Wh wrHQmxxs6mN09gYFOQ4OEz2muYxKAMU3VCvhnDg3P00dSUi6HGlPoJEvudQn2GtQgxCv RKpKrfZBQJ5wEmTBX2fto4GKBm/+DzPCSEhZF2/IAiOa1el2detOJnfe3S2gkRwOmOxe BuxxVs8dD42Nez92VPDOat4h/HQ6FFf04WzMKlcz4SkwV4vqVF4kbYVd/TuL8VjmJyUP zw== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb9ae360-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:02:36 +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 31SBmTSe016044; Tue, 28 Feb 2023 13:02:35 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2042.outbound.protection.outlook.com [104.47.74.42]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8s71mj9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:02:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bNzN8SkjMfaBap8iiwYaKbsxFe4VUGs4qNmgTiMtnQaJf48oHRzyRkVknT+aEJwPkNvUCKlqse5eG+KWnSQmkkLkI/Vu9P3t6xNS4AMCfeFguDGyYf7yHWVk+TlIQZTfOAI63Ix+qC68JwoHaE6hPA5FMgPcDNoqlPidx1c5jmUnmKPICRmsLTBTuB7AL2P2e/ycHDmvsZ18+wHnw+/Ia+8NuLng5srEwTdlC1eSySTCSIdM8kvOGZgCT9EjI9ZVTcZk73fyoAXAtZKh9vDqYzxvIn74Y57YCqHjM6mTwDE/k+RaMgpSnW6dF+LMwmXnWq17eUGv2jaZ5k0HRBftyw== 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=WprWU7KQOKxrj0dRw2rDjqqChIUL9H+xdlK4PoUkXbs=; b=HrrI+gqXe5xIwEzUJmUz6Xgl851K5ZhBTWA7iCwjGv1P2eL4XLrU71MTmEHPkOFHZIRNrOViyw0lSJmlOvkN3nihZKQyMwCVoXCwWEDX0HtKIZnO1Q8NCYAJmQ2MFYJii/WvnkXFLutrOJ2tVKVC8bm7GiMm7NWqri1VcnjO5LW+0hwr4AerhQ9pqYjWJhRIZpCEb8Up3lIOSLK9hB9fnf7zFIUcpCa1CcBRYhOnXT267OMgd8c1URBnXwVntYBTwoZDIC6s4kfOGqqJfXkEy1kZpiw4u7UYICmdoTS3EU8C+TUuflfqhYE5JUXq8qrREN5qZFUPPDgVj+w0TbLkvw== 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=WprWU7KQOKxrj0dRw2rDjqqChIUL9H+xdlK4PoUkXbs=; b=cNm0GV3xiRJueVCgXkEqIEMbga6VK7uZyRaQfWIqWdd5bSjPIENhoDYyDTHFsgsLoj5JdxflAbpVInwNvyqYZnlQcFERGZQlnQclxIGgs4qaRo6fEEJGzOKSasWVe5ge0jXu9GsL3i7YgOsh5FYOeq7//4fSUG3YJqY9h+3hpBY= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CY8PR10MB7290.namprd10.prod.outlook.com (2603:10b6:930:7b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16; Tue, 28 Feb 2023 13:02: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%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:02:33 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Basavaraj Natikar , Shyam Sundar S K , Linus Walleij , linux-gpio@vger.kernel.org Subject: [PATCH 02/20] pinctrl: amd: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:01:57 +0000 Message-Id: <20230228130215.289081-3-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P265CA0111.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2c3::11) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|CY8PR10MB7290:EE_ X-MS-Office365-Filtering-Correlation-Id: 8a6af093-28c3-4172-76ff-08db198c0e95 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uuL+Y/H6K0hO1MfrueOcAQWqwnLwA6z81JMdcuJ/lCLWOtdO6DU4AQo/WSSWdRWIghZ41YlWLOGwpABO+xwfrVl8OcCfZbi1pbl9giPuDHLYLXiHNSKYwLpRDqkRRHEmTuEt06+INqY/2i4uDgSEuKG6IPWH9XIZgH8B7GtDXxojc3FiGSuOHBAQxrCrfklumaZA0Zk2hPoe9Ez5iZBcidZRYBsk8SE10Djei+QfH4rsPAHM6sLVMtSD6RDFUXaDhZ10AudalXWqlFhmmM9iMOTzunN22lbPLxFmja4ROwhOnEwT67XQgxOQN4XfhndPdlI3NmRBuPEdhKWFGP/EARWWlzG84Ks8Ur1axQr1MlIgXZOqJ+ZGLARYysf4DVqVbOQdZ94GoJ1lImZ3sakwunyLNyPwuoizlK+x6Moe6UVmE1RDFE52YIthQBYK0xdifQ+E5JoZknashSf0SkBagR51xcDuwHqLHVGVANrJdYZg1ig12lx34mOnNZJDyN4A8tLaGDIR52HI+5FwXVkNpg7YXE3ULwmTtrUSB1iHI0Kyb466x3jzd06N7a5VyKYtzr+Z4l08uzJH5RSrAsyuF/pa9CEtN6K4P5FiOfIid4x7l6fSmBtrePRLFcikIH8xVXdqH6+KTTep0eE7tbM1rQ== 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)(366004)(39860400002)(396003)(136003)(376002)(451199018)(36756003)(44832011)(5660300002)(83380400001)(478600001)(6666004)(6486002)(2616005)(6512007)(6506007)(1076003)(186003)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(41300700001)(86362001)(8936002)(54906003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: bG2KiEpp+tFdOAIrWh+PjgRhXW3bw4cHxD9FJMz3ktOwIlNqJHDsXJvynzl+qyZaLri4mJodw+XhU2ttqa794Ee2IF9s+QPYffSO08bfNGInd2lXzgV8MefhxiFce0ocr98Kr0W1IgFdOLlWr8e2x0ZKdgJSAdQKWlv5f8bpDNo33O8G5pyz5rPzC8p7DKLyD4AaAnTx6AooXvvy9IFB2Ps/unBp5518XZOTFL9CwZW4IbQ1qkkv8IKK0pGhGYDfS2hSDJU2qyP4Yh1vK7o/NnbPlo/ESoavPVL1XvFGK31LMrrajsUiTXfU8IFfKX/R8DI/MtQdH3GKD2hh6cvyrnEFXl9uKR77yu1P6ziyr2lE45VzmgRo3MBjxkyDT98iPA54BrAQpTS82F7Sc6Vv7LFCmvSWWRc9CqGPnTOBytedZABAX0F5oBNn+i7M6GuNDGLGKtvUI3biGnP0TdO/GzGTmWUwcxa59OlDqvTgrbqvNtVP0xbbk13TMdfgFw1tCCpa4LFzkXgYLiaukZ5NT8+xTfZQbgiSX05HVWZusqQ68nWD5174cwKY/L2RWxf6rDppUXytzo+moGrEz5m8SvSYLrTUPeOCA/GIW+c6et2kWefiDIwSxIB7apql28j+LFnCthEPie6fioOKf8K3QPuGS1LNupJ6QpE979HSugcqeHgS0x1lp2ZY+MUI5rai4flK2Vf1U6NPhdEyXXxBj94T7P6Pbc4jwojOxkVQoi2LlW7oAip/FhtnbagT7MLShpnJpCw9fLRDfOrDAXS/lWARZyCeZbs/whRogVWTNZb+IYxnnLcQ7WfigTMNJoR2hFX4k3XefA4LADCBKRD2cqB+Wn8aOcIvEjXOPP+oLdctnnOnuaDXYOkXWpm+lZm2PIg1IoAoX3k0HTlAL15sBkfVRs34essaTZ447XWqTpVncThbYRPma9ZtnXjFNxzCkUi73NWgdREL5Bov0bMUZ/4y0cztnxxF4747LN2b0froU6GB/mMZ2obPrv9EHVwRc8e+IJ7HYdm4gxYIVloEQpj9qud1zDhJvqPOb7M+9GhlO3ynltTE0U8RWlXfuoUk9TF7ganzDTfmHxOWW1nYWe+QTMDMD6rPBlCqhNNZcXQR6RMTaqCiJinARENk7Uep9pvMXfSOrzX8eu5Q+q/YwDeGVsfZ/ujJpnE+MjZx07FQSLBAGWnL3r1yCnQ/Bc4kZcXXERH3l1J8v4WePCpmiCl8ThI97CdJgZnbN76nBLEfzFpFymCROvN4IAc71OoUpEtHc2KyH7CloN+Vj0N+SQjlIeGQvFZbDEOt078DsCYsf/V9uj89hgFnac9ElN+QUkAi1TLp/KgvmG5Vxs3fLn/k77B3TQ046Kp0mNafF+z/BRxgCQtsc5XItXMFY4HTATtPzlIH1l2ToOiQL7cE6EYbDWtLf5MEAX5YedAUHURpLRoYfPVVsw5n+YB3ulWtXIdw2J21VyBwq+AR3gsAF3aq0auCD73B6UAryQasOn505WpV7jOjrvnPKtFsjFlp2fnSHMLhlM2I77GbXfYhw6zZDMtKG+OO3v2v29Or/fixIkImFld/NZWdhDLAaFpfqc2uaF1dumpGRdglBPsQ5A== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: 5T+eyif65pMulg/wsoefhqWsHlGE7amw1EMWIlKoH+rCP2Q1FTb092nRIy31zFE8sexFQbcc1dpYam5j1mozVfhHr+WwP5quPVeFh2zhzOhOFUYyAbxRou/ixjsD/TyETNCtPoSi9MeGJ91wnH5nJxocAeFpwopikq8+EgKxTta1jKbtliQMioyU1vBPv17jZhapIwTRlKtY4whOTwuazKBqH0BWTohKE+Y5IsS3FTRPwSyU/Hlf35Uk0zHbWhrUD+dR3LhGTsteYrIDk2GW8x3c9duNA0cJCpn/TPvW0ERKYFFZYHSrfQkPhsTfZejnaTHtlXacWhjqBU6pAJIIewLNLiMNxeh+tvCpR8aW4fFRcy9P+zI0kp0YX9eCyDdK8vGJXGf46xFMD61BKiVWDilj5At4vBxp87QVp4sVAPtVL/gXy0xK0w4RD09sYYZyibj7sKKB9hhOrssGGK9JtQ+bHWwjLKyhx75scxIWoMm+xoSHvLhxGXwFNoI4K5Kq1WELoKiZx58pOHbZgQph/UQreQBA76zv8a9+2lUuUmwfnRL2w1/+8fwnReuRV9sScpW1B+Y8+R+Yzd2+wi8L1cyrNG53AbUlbbWTzm4sJDEZKIkxxaiQZp2c7ILQ3nIHqYvEYD+ehxiwVmFMJr7+4yDzn3Jc99fa6o1pKgg9gWgHlqU+BVTZIzcdzuGK8CH1BdsveGRasM4zxrKPwJTkHg2yxQSsBYWnnlcU/uC68f+7l3+LivwmWJLYiHMnh0ayCl15+99GnhjC413syki9S53ApgEcyqiCF3PfXts0rNL3yWBUy/jkUZm3ecp7VRvJ1CBluGyrkQs/OcYXM+infPsc/nIE6KuqekomC87VfyaeNQU0yRcJP+YP3J7pWdQw X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8a6af093-28c3-4172-76ff-08db198c0e95 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:02:33.5412 (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: alQYHv3WBfb7+BMj5FZOjm3r+10zhqWTnvRtmnWmVO4dR9pjjvJ+0glmjDiDn3wsowLpDgqzOOpnzgGxKffrxg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB7290 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 phishscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280105 X-Proofpoint-GUID: U5GJDhJ5TGiW94zpUmy2kpLZuivOuj-Y X-Proofpoint-ORIG-GUID: U5GJDhJ5TGiW94zpUmy2kpLZuivOuj-Y 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: Basavaraj Natikar Cc: Shyam Sundar S K Cc: Linus Walleij Cc: linux-gpio@vger.kernel.org --- drivers/pinctrl/pinctrl-amd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c index 9bc6e3922e78e..f9928469c1d04 100644 --- a/drivers/pinctrl/pinctrl-amd.c +++ b/drivers/pinctrl/pinctrl-amd.c @@ -1205,6 +1205,5 @@ static struct platform_driver amd_gpio_driver = { module_platform_driver(amd_gpio_driver); -MODULE_LICENSE("GPL v2"); MODULE_AUTHOR("Ken Xue , Jeff Wu "); MODULE_DESCRIPTION("AMD GPIO pinctrl driver"); From patchwork Tue Feb 28 13:01: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: 13154868 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 BA662C7EE37 for ; Tue, 28 Feb 2023 13:02:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231583AbjB1NCx (ORCPT ); Tue, 28 Feb 2023 08:02:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231544AbjB1NCv (ORCPT ); Tue, 28 Feb 2023 08:02:51 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36673302BF; Tue, 28 Feb 2023 05:02:50 -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 31S69Wa9027314; Tue, 28 Feb 2023 13:02: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=HdWSHhT9etaw7RH+d2W9I3ajz6baIXkmPrDLfWAw++w=; b=klaTgQ28mfqImlKsmtJm4EyLfqNWFOtPIiugS6UhFj4+BI6Ev6kdvOi12Y0ZGV20z3Dx w2mU4NSGfjigy/RT9TMQZ+24Fz7hdwH5F1EDWvpPYOpAuVSgCZOCWUrstnoQAod+LeWw 2mx2o0NKlClW5FJF5dRcQ1TRSWA7Dcru8tqZR7pzGSe56JZchmQPb9GF0gfTEPDGP4B0 lnobqyW7W0JkL3VGEvG2sWab2i68ntkEN1b6AX+w6XiB7SsNtbGxL5+dSLsUSXIjL8bq IRZOCnwE9PYV2D7U2DfEHwHvX7dVOZqxE/R5cXIlfm/0MYqgJZSiHkR73pKaes1G/F2C OQ== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb9ae368-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:02:41 +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 31SBmaeU001067; Tue, 28 Feb 2023 13:02:40 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2177.outbound.protection.outlook.com [104.47.57.177]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8s6geem-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:02:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OYHgXT/9MFWuwwmHZnnzunAeuuXquHkLZ/rAEbbWa0WF2JvxZpuW9pQyjrtuBT+b0DYS2FBfZid6QeybohFZhbWw4tAeF+VfC+TMNf/jqQ3zgiCGabFA19BYAIyQg+lvzWPPkPRqmu6HNIA5anabMwSzOwc7MLKSq26+S7MNBkOB2kQt4dv4Tl3EeHODPg2Deuy7wdj/+AmUHskzwQZoWVwbRva0khnMa0rywGhdGmMOini5G52IcgTpIhSz5crrDj/+ZGHdI3Ap5PNOr+zJ2viKzVrjbjGIQBvy1YNf9+0o1AOOPoQ3mUTFEwQn/+F+3Rsa00c9EznkGqTFSrR/Zw== 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=HdWSHhT9etaw7RH+d2W9I3ajz6baIXkmPrDLfWAw++w=; b=Hogr1/Rv1GUFha6rxq4UYhMzPzjIPp2g2OWxW2zSTNkr91+nOYcDgqnetW7E61bLc4xRrRo/672GK5uZ8f0ZbyaKYaqWSIyr4orLWGkJUsVHOL2qhBdwvyzoOP3DyAejuRwnd15J/4ByNmpYXhOJH8Tnlr2iYe2SBCZTXo8casi/l+eybnHlLxgD74SwKuR8Wv2RH1ckmN1FD7xNdxvnmm1CYfbo6ER9STkeuzUa7oa/2dlfmSAMXtqAZpoyCLnNn/7yJIDeCX/2tkDOV54XZ3ZvEFW4fIn2A5me8GSpVAir2tTCRuQNoHYs/XvVhjabKktXjAAP0+F9xafl1tBlJA== 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=HdWSHhT9etaw7RH+d2W9I3ajz6baIXkmPrDLfWAw++w=; b=w9YN3HR8BLFteUsig/JU6z9KYox5TImb0WaWeD5iWxToF4xb7LqUBCLZPiVhpzWp2ymqDraL04IemIAati4I1FtpoLLo8dZfdB9zg8xlql2cQ2pozfcDPMRA53CExLSCjb11USZVBpYlGOnT6/ylSvWeyj6jLkDIlLK7H+vKCHg= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CY8PR10MB7290.namprd10.prod.outlook.com (2603:10b6:930:7b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16; Tue, 28 Feb 2023 13:02: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%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:02:38 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Sean Wang , Linus Walleij , Matthias Brugger , linux-mediatek@lists.infradead.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 03/20] pinctrl: mediatek: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:01:58 +0000 Message-Id: <20230228130215.289081-4-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P123CA0080.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:138::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_|CY8PR10MB7290:EE_ X-MS-Office365-Filtering-Correlation-Id: 7e23e419-2c48-4972-53c9-08db198c115e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cSWNYACJ5KwCXYTmxZmabrST6IdxReLuKo9OWhLRBGoJrffe9mSrsiD9VKHteIgvC9K/9l9KNx8B9zghn51jFqsv/L9esBz7LMJ3EmQVfkTkigJH/Us7zP0MJWLYmbvOjvNHjPqzdvUwDLMXJAnKe+YbVY+s8ZDzdsGHbqF9rdfPDWMAmgOSdtxfNpqv/iIYOlUNi2/T4UtiQSUJeW6CW1QFDFVACcRNb5AI5Z3t+rDpCOikwoRvcLHvhV8caI7qJ8BSqbP3A3fbQQXYYteOfitxIsqGQVNixUvEeFqNNQ4KhdZmoqJuBL76FUwX9EXiasGzFgVEuhELh/U4Q404H+Q3K/iSClgus1Js+pxLYss8MfMyjkTfsUhL6dfELaeXxKrzr6uNm1Tfo4yonDGbkYRqKeXmLxn/R6DTGFMRGFTd/W/w0G6Tq6N/b0bpzjvetTeXXUtFqmvRK9TsgKjyME+0pBodkDdkOxf7dGtExO5hgzyjSmWTG2kewC5SvlCn5PDOySPBXW4xf/xyHVgWI0L2HnwGKYPEkKz+dhr0zVswxjX2+TcQ/gmWtrYGcmOTqnAq/pX3nmEAZhvFeWoCO2FUK74JIHQnlOS8crBEVpbxIZncdSBHXLTPntqRU4jg6gU0UMAHR1qQspSN3RLQ4g== 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)(366004)(39860400002)(396003)(136003)(376002)(451199018)(7416002)(36756003)(44832011)(5660300002)(83380400001)(478600001)(6666004)(6486002)(2616005)(6512007)(6506007)(1076003)(186003)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(41300700001)(86362001)(8936002)(54906003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exch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v6KA7/MRxIPVZcKiq0ZPer1dkWg+ONsdGjKCrUSC6bHD99jJohH9zSwc2fzfamqV7VxVdiJGQr2/GPvLNVaErlq1OnwPfPSrRIyOWkRNjuSgD7jpFE/n8HU6YfJ/Rs8q4om8kpYn8Qc6r/3sThvRV6wrP3TkREC/XYGyBp7Zbu5LZZ6fJYm68+5DDbPykAI/naEziI51dJ9pGyHpYEgr4r0TXkUuK/bJDJtcPgfHGErjjM9ykvRiPzB0AzhCaXzeeo45DDNikJBzjZ37HnsGCUJGifatxNnLqklB2pPTQ02/MF+yjn2RBg74hX2pt6eArPxE2s1HQmRCcmgY8mv4NLR3MDbCFqgV8lvhlcuXmWIDHAeJpkto5LaZTazFHODNrmQBD/Fqy+jyauf2V9Ht5PCxGLk2bBZNNAeJrHyECwYH6kK2opNOWnkrpnlml2hDhZ68RNzPgQE5Xsesu6v09qhesCHdaTIDvgu9SH/VMo2YEXwqUoGkIOLPO33tCqSztu8CczLYxnvPTwrnUcYDBkW7NxMe+Ai3 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7e23e419-2c48-4972-53c9-08db198c115e X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:02:38.4005 (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: EynijOqPjgvpPgE2dCJjYxLMTf8+xsTgdtE8tcpMeCVWV/CmQrzFdOSTzrleTH0BB5X9JX0B1xapOmRl2ebB2g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB7290 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 malwarescore=0 mlxlogscore=999 phishscore=0 spamscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280105 X-Proofpoint-GUID: 5OwZAJ7TL0Sd-B9Lecsm3ToUe85mphXW X-Proofpoint-ORIG-GUID: 5OwZAJ7TL0Sd-B9Lecsm3ToUe85mphXW 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: Linus Walleij Cc: Matthias Brugger Cc: linux-mediatek@lists.infradead.org Cc: linux-gpio@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org --- drivers/pinctrl/mediatek/pinctrl-mt8188.c | 1 - drivers/pinctrl/mediatek/pinctrl-mt8192.c | 1 - drivers/pinctrl/mediatek/pinctrl-mt8365.c | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8188.c b/drivers/pinctrl/mediatek/pinctrl-mt8188.c index 6a3d0126288e2..c067e043e6192 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt8188.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt8188.c @@ -1670,5 +1670,4 @@ static int __init mt8188_pinctrl_init(void) arch_initcall(mt8188_pinctrl_init); -MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("MediaTek MT8188 Pinctrl Driver"); diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8192.c b/drivers/pinctrl/mediatek/pinctrl-mt8192.c index 9695f4ec6aba9..dee1b3aefd36e 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt8192.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt8192.c @@ -1431,5 +1431,4 @@ static int __init mt8192_pinctrl_init(void) } arch_initcall(mt8192_pinctrl_init); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("MediaTek MT8192 Pinctrl Driver"); diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8365.c b/drivers/pinctrl/mediatek/pinctrl-mt8365.c index db4492e9ee673..75a505035e96b 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt8365.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt8365.c @@ -495,6 +495,5 @@ static int __init mtk_pinctrl_init(void) } arch_initcall(mtk_pinctrl_init); -MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("MediaTek MT8365 Pinctrl Driver"); MODULE_AUTHOR("Zhiyong Tao "); From patchwork Tue Feb 28 13:01: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: 13154870 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 EAC10C64EC7 for ; Tue, 28 Feb 2023 13:03:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231626AbjB1NDP (ORCPT ); Tue, 28 Feb 2023 08:03:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231350AbjB1NDF (ORCPT ); Tue, 28 Feb 2023 08:03:05 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E0736E9C; Tue, 28 Feb 2023 05:02:55 -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 31S6P2ii018687; Tue, 28 Feb 2023 13:02:47 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=9HercEzMIm8FoOqFRLPzepdxtCz7dyCg49LqSqCSdxk=; b=tDvIrTpGTXFpWBF0Zt+HWt5/WEhKv9J4BWhJVGIujTd3H8AhZT7oDY0B4DsTBu9BISnA Ek95iMGUFXDMi0eWgXOVSJ8Nv3XOwdWpXGC+IMNz7N34HMct7vZnte+EXjprLp1JUh1A +Hz8fUoTvBC/EMGh+9YSNKP1e3ULbNa2t8i45pT3d2XS/CPlSV8cNB+cMmv2pa2tCYCk HJObcaVdLQUEqJfWMzXiouetisH46NYSF10ma1zrJH9yS/nphEN+61dHYX7p1tj3MpNq gaULc0LIksZz8pbQjq1KrxupXZKLsYoTfccj4eht7vbYMfQ++tROAlGLeqVogU1jwGZd 4g== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyba7e1qv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:02:46 +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 31SAo7cE013160; Tue, 28 Feb 2023 13:02:46 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2173.outbound.protection.outlook.com [104.47.57.173]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8s6r8gs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:02:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JtBZ1ZhGSPKdEVZQCX0g6DWpUbGGL5ZK8rBJQ0yHV00G17VDIDV1kKq7/FGjnVeDVIGpXe2kiCzWxTjfnu+GMyi7rZoeyj7AZPs7d3JjW0kf417hydu/EGCnJk2y+XW9H105g75/hvJCOuyycsvRe0cQGZABNYw9IXM4vi4fiSDcmYXPSe1VATR6aV20Omz01TuuwoOz1lt3iAHDN5lB5EmLSayHzo+RPOvaLvAbiCmoZpyyMaeaCuCZSy4nOJj6c4BMv/qnhuMafjvr3z593NpJLhl/5toilHjLj6iQyGs6GhVlTUj2N99dK1SyJsG8SMRr29spaA4rmf2g2kGF9A== 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=9HercEzMIm8FoOqFRLPzepdxtCz7dyCg49LqSqCSdxk=; b=i+2Z+Top2hvWZZWT2GdABUV4xSTmVb5MnVW4EJVXr1XvCcYW9w9MwIC5FrG57T1ZrSEtnoJDjCdnvZj2xHXQe7uqebTKZ2IX/7FZQ7s9abMfr1SYbnq8NcO9506Gq78Yk/YktfhZr9qw2dfCveceJga5Ev9t+/G0pW08Z5azgeANi1EaQza/kN9ieN07+WdXa0a8HVDMR6UFyUtzEyVkHQNRyZJqiL0lfey8LjXssBpNzI7zWq2KntIvMJ4bF4YEvJ1GPKhJEAgrzIQ6aE0CX00H3OKemxvIs8kNuX0J+4GhwRzs+qcmU4rp9NG66D7MiHTB8fuQUwVQ2NEzlNEVDA== 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=9HercEzMIm8FoOqFRLPzepdxtCz7dyCg49LqSqCSdxk=; b=NhEVZXnm9RBtysq5wHaB7AC74WJ4Ro7OMIjdZbGBuEuyVlJgbAiH926QZLRcO+tQNRuUObqumf4SBnZe4oLH3hCCp6x3ns5eemQ2YAhZqgyYnYZzB81hXIQsUvkGSN6Tltw+wxNjoBo91SQtxsO3vgft1KyJzvpkIM7Gqy4I7/k= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CY8PR10MB7290.namprd10.prod.outlook.com (2603:10b6:930:7b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16; Tue, 28 Feb 2023 13:02: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%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:02:43 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Geert Uytterhoeven , Linus Walleij , linux-renesas-soc@vger.kernel.org, linux-gpio@vger.kernel.org Subject: [PATCH 04/20] pinctrl: renesas: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:01:59 +0000 Message-Id: <20230228130215.289081-5-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO6P123CA0038.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:2fe::15) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|CY8PR10MB7290:EE_ X-MS-Office365-Filtering-Correlation-Id: 0c4f3b43-dbd6-4bdd-1d91-08db198c1476 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Lvi0CBcZ6rjGy9wF8vBtDMrTrV/NiL9xtGzEwIjUJKBv8pJt+vsqfphHvIE1yF6fyX7SnPyzr5vEiibEfffSdUvE72VdYDqHPXLpNNaCdpbyBcVj7UTBXAIj5QPQwXadb5iKudRT0bjbTaDDaSI+oNLZA9aHLh2DdsqYeTt1RxIciGQbVwazWCmlPhzGcLsAXQtQ1j8jQn4ISjdBOoRAQvat75DG/8pg3vnR5Trv2I6ucKQYSBUPAj9opzKaZKeqSD4JgiqpnDBsYsKb5QwrMwPsNGaOM0f+s1rJiLbVwcsA1BQMMCQ5ClWHgRfFPbIFACV4Rlp9LbhTAHJNOwLqkQ6S6hRnzNMNS0e3CoJ5xoWtrHSrPcSAQRQrsKXYTFVIHIrIj7L4getOIRiSsPTIPInxmUZU+PI412o5Ytj6na2ctAebNUGLzDJlPQWqrgkwIQcpsjPB673vy5lOuZ9jNt9jmJEz+/FGmSR4xYj61QlYmOEDHdAOxbQj1J4QxKrVCalTvpJz8fHRRlPL9eUnC8pwmpm08CIa2+6jUIci0KGmYw9AFI8YWoi8aJD5yycD2AX/0yYSt/QcOg+Geu5fsOnf4vyhCDCQ5FsYsV5C5zsTifusMXWAc7PPF9lbAqeeNTBQoJyRk/O35MJDJdjHGQ== 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)(366004)(39860400002)(396003)(136003)(376002)(451199018)(36756003)(44832011)(5660300002)(83380400001)(478600001)(6666004)(6486002)(2616005)(6512007)(6506007)(1076003)(186003)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(41300700001)(86362001)(8936002)(54906003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: D6dpFePdHb9Rt4XF433YS0YkJiLeRhBas6XuiatJ4zypF/xx1medS81yrzJwGre6FQVRF5cuU4mRRH/KGeQF/9pHPyoYQFtDC11wHtziBYJTB81rBPYNTexaUdJQQihotipycbE44mkU883aYZJ1kV1sLRK2SNsXVKr3SrbicuG4hm/9vT3uFg00Ks3TSx7Rsq7kcfT1U8BKGdN1W4ZoQOLssU69dnUCmjuqO4njIFdjJvXqhIaRM1g89in2nai76qPeuPkayQ1OOj3VT1vNlMDdbHq0dM8Aqlxj+EGf6vefBc0DVjS5l746WIoUjIJdW3jGdysoWwDbB0+6bf4OKdDjU6ezFC93cT0L1Tt9H0AEtjGPAWXXMM9f/aCPbQWRTVGmTedUrZK5N61Ay5BEwN6RE4FkDjRnLwK6KO6EBFGWgGFI8XVY6ixWJbNwF8vUTPrTkstEpu3Ug9Jz8VQlj7MENPK4+wA2kNwbXlGehft8AR71zh/1AITA5k1LEdafygo/V1/nHDVPtEuCq/T9yM24e6r04RooUrUZ0YebCNrTY2NnWdnJHXlRNp//vN2OM5vvU4UCzUq03bd8SHWaqmrke3EOYj/rz5UP5A6fR4DZyhu24vb8sJL3nwtmVwyntxXOQs/b/w92SxFh1aIEBeXvTKWe8jHx27fxaTEAHf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At9X61ScwcFu2frJW7OhFyFurtxAX5aSqynst4RmzZtdPd6txeDqyUl/FZY4YVLnXappWq89VJGQOKUVXw5C3Y0EkBRzKEcs3VPI3Flug8HWUlnXGeK2MQBIuEikLqQ9FD5eSmU/ntmfvSJRjqKS13ZU8AFKrULR2PmzXVosT1nJq9yg98c+n+vJwE1aWiyU56IZPceOAsuxpYcSahplns46KBsk2lrMDZWqalteK/arI1Zr5i5t/JFY1q1vTjf9qJSSSZcO+IGtYTXNWfvaJ3yPBFhH+Hw86kEocBmw6z+raG+3IRUie79FgZd57aY39a7TVBSU+UVBeYU8UVG5Am+f2EiCkwogs93nDKGmyXtSr95w9w801MCZU6dIj6oomBmuo3a96qwqu7sbHKPn2oa5mKHJn92jhJ1vS8Kf49p4g516MimNvhznrh+Cgk+tYpCPYqnsyuEWpH3USF6gPqTVgH5bDKrs2pRFEAf9RVWqpXi4lADIfZcZj1ZqCc+ExI5UUa3z6QkKqv2VpdNGgAaJL7HmpM/LsRjOfDgPl3hx3+LBxlzm7ADaRsmbuhC3FPbyf6xPKCTb8SQrtxGTqhq+5zddQMZr9rb1GmLH+nJdppycMEwOzrSdAv+TZugoUwwl6+X5Ba/mX6uygPpKyYZf8w7qZEQW0gvaGzd27lhWFIh1p0f4M9kzqT0c7mDiuvats77fwgp4UwjUg3o88aSkaeAo136SwBIEejRoYVVV7QdS3qk6aGHuJ8HC18DhCedSkmZVnB0+mtpJPFoySCMSHG/hIB596dJvzwuONyFVvnIWQgjFOYhOHdav8T2dtT X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0c4f3b43-dbd6-4bdd-1d91-08db198c1476 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:02:43.4815 (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: 6oX/4gEhFa1kpSjbsgSFPuZDHQPuBp3TP91LnuJgqcC6EuuSAR8KdrXLshvtpJC+E0zd1pwGXvMn4WcclhAYWw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB7290 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 spamscore=0 mlxscore=0 phishscore=0 suspectscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280105 X-Proofpoint-ORIG-GUID: d75hrOkTXy7GXlt7x8T_Xpra8XjANqY5 X-Proofpoint-GUID: d75hrOkTXy7GXlt7x8T_Xpra8XjANqY5 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: Geert Uytterhoeven Cc: Linus Walleij Cc: linux-renesas-soc@vger.kernel.org Cc: linux-gpio@vger.kernel.org --- drivers/pinctrl/renesas/pinctrl-rza1.c | 1 - drivers/pinctrl/renesas/pinctrl-rza2.c | 1 - drivers/pinctrl/renesas/pinctrl-rzg2l.c | 1 - drivers/pinctrl/renesas/pinctrl-rzn1.c | 1 - drivers/pinctrl/renesas/pinctrl-rzv2m.c | 1 - 5 files changed, 5 deletions(-) diff --git a/drivers/pinctrl/renesas/pinctrl-rza1.c b/drivers/pinctrl/renesas/pinctrl-rza1.c index 529c0fc4ec063..48173355a040a 100644 --- a/drivers/pinctrl/renesas/pinctrl-rza1.c +++ b/drivers/pinctrl/renesas/pinctrl-rza1.c @@ -1407,4 +1407,3 @@ core_initcall(rza1_pinctrl_init); MODULE_AUTHOR("Jacopo Mondi "); MODULE_DESCRIPTION("Pin and gpio controller driver for RZ/A2 SoC"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/pinctrl/renesas/pinctrl-rzg2l.c b/drivers/pinctrl/renesas/pinctrl-rzg2l.c index 5aa3836dbc226..362c3a0baf1df 100644 --- a/drivers/pinctrl/renesas/pinctrl-rzg2l.c +++ b/drivers/pinctrl/renesas/pinctrl-rzg2l.c @@ -1561,4 +1561,3 @@ core_initcall(rzg2l_pinctrl_init); MODULE_AUTHOR("Lad Prabhakar "); MODULE_DESCRIPTION("Pin and gpio controller driver for RZ/G2L family"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/pinctrl/renesas/pinctrl-rzn1.c b/drivers/pinctrl/renesas/pinctrl-rzn1.c index 9158c17574923..d73741651419f 100644 --- a/drivers/pinctrl/renesas/pinctrl-rzn1.c +++ b/drivers/pinctrl/renesas/pinctrl-rzn1.c @@ -952,4 +952,3 @@ subsys_initcall(_pinctrl_drv_register); MODULE_AUTHOR("Phil Edworthy "); MODULE_DESCRIPTION("Renesas RZ/N1 pinctrl driver"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/pinctrl/renesas/pinctrl-rzv2m.c b/drivers/pinctrl/renesas/pinctrl-rzv2m.c index 3b65a71abd9ac..e5472293bc7fb 100644 --- a/drivers/pinctrl/renesas/pinctrl-rzv2m.c +++ b/drivers/pinctrl/renesas/pinctrl-rzv2m.c @@ -1117,4 +1117,3 @@ core_initcall(rzv2m_pinctrl_init); MODULE_AUTHOR("Phil Edworthy "); MODULE_DESCRIPTION("Pin and gpio controller driver for RZ/V2M"); -MODULE_LICENSE("GPL"); From patchwork Tue Feb 28 13:02: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: 13154871 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 3EBE4C7EE31 for ; Tue, 28 Feb 2023 13:03:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229637AbjB1NDQ (ORCPT ); Tue, 28 Feb 2023 08:03:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231542AbjB1NDF (ORCPT ); Tue, 28 Feb 2023 08:03:05 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8601E9EC4; Tue, 28 Feb 2023 05:02:56 -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 31S6B47w025751; Tue, 28 Feb 2023 13:02: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=EiQzN1+idjptzTctEtx31B7WgJMmRbrDqBvzAtVQGL0=; b=LNtoe2f0slmkMoZ+KgtiquVi81rusHtA2qVsQDZ53X1d5PMRUf5Z6yEwCi1GpZvVOgil xSroBsEL5mG6T1N1EZV7zp++rZRaonvFnYi92yOGZKlyaj/Em/VGAxYiMOFilOw/ssiF hu8bogFpSufdv3DbkFsFpOLHB1PSQt+OpKFX3dJXP+DctkqFRiazE7Fkb2tYF9o+ylIS ItBwnPR6Qta4NP9B2Z4F2prAU/wLmlBOWXWCRk2/9rLcbihu5500tj70S+ixmQcgeT+T ENxbZOVdNxwVmlEjS489xeJPt2IgAC55VrVv69jgs12l2HpSWmv/U9/WgIUZTVei1h7P bQ== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb7wp4c8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:02:51 +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 31SCCXbF015940; Tue, 28 Feb 2023 13:02:49 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2049.outbound.protection.outlook.com [104.47.74.49]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8s71mx1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:02:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IfukdAijoMiorqDOPTjBegtbIeMr8bcs3Z/748+oNlnGhQBZtvl5R+qTvAxrsC9iodQj47y4Zo29MBEDNQVv08PydAA9fYy/sfHBZB+NiaMOhMWhK76K8/82mB46TexYscyxrhIqwuflqmLQuYzlYwgWPs15Wy/nav3PvaQIc1+iBJ1hZ1621e+VHj73ZDYKaeKVkfFLIgpDKlDgTBlgQYUeSEYz9i5xKb00U7yY9JlovEso+mEX6awVBM+yQooPWYbv61GqaEebCo/J6uueL2KKGJ8bN1t8SuBE7ne9FFFs9n+LpMmBnP9JUOhYWcLo6413X2asfuZduWLbf04v0w== 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=EiQzN1+idjptzTctEtx31B7WgJMmRbrDqBvzAtVQGL0=; b=LdWck4AOpSZn81i6MuNaWq930veaFEhVEUZBel2Wb4WtkQuMf2+sGucU/yfVdzXhVTls/sYlzRbJWjqdGGhtZGHUdGVKXfx+KSkCOnQtIhtObgbE8sli6jghBcDp2aE3c7jDsjML21O0MK9zaRzQCbjX9OZGkKrfjzubDc7SQL8iXo4k8Se0OEynYsMoPE2KHDIwN3GyL4/yPgH8zzzt2SPMYljElnR8sB/w5RQQzPPlgzTyn8tGRCHRno6pLmTSkuDyl2+2ZcCz6Fla77mLNv7LABVn8uuDrsnXjv/eeK6wLX8A42sgjJYjViF+0ulepmrYgi0jEx2fUhqCQLAuyg== 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=EiQzN1+idjptzTctEtx31B7WgJMmRbrDqBvzAtVQGL0=; b=qsHNdOAZ5rUIDXs+Rw9+L/7ZeqHYpa4icll4Mg5TQIDPP9hqUa42G2ccr5jdhrLlAQT+PBVEz36Wd/l1/qHHBtjSbxwXq7++JXi7sK5WH0KP1oOMA71HpciNk2G5I4CTZ+1HkjQZ7erMHAm5Yfn1FPQvxQa4/dkBqzx+OUgEpnM= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4763.namprd10.prod.outlook.com (2603:10b6:806:117::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Tue, 28 Feb 2023 13:02: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%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:02:47 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Jacob Keller Subject: [PATCH 05/20] lib: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:02:00 +0000 Message-Id: <20230228130215.289081-6-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0425.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18b::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_|SA2PR10MB4763:EE_ X-MS-Office365-Filtering-Correlation-Id: 9f22975d-53bd-48f3-8c68-08db198c170f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5+4WEGunIwaKROeHyIoiyy4GuPGZajnMBV+amHcA3+zqm6xQfzbuR+1UyCm7IZZ8TtU1mA1S/BBiBvKzy+ic3uVlfRRUl/whLt0kOtz5ztlFQFXpMIYKTL32uBJIhyDOdM+Qs0eEHjaDJb8IxyYDVuZIX20L/aBAtEq53uStz4kM31f9qwZXrN0dt7Wrb/FEskrndtNwHfwJ+0jROAjJuYsL3s8KwAiBBjUFHmEhA3A7iHhGXeFW00HdE+gotrvVjs7tmjmSPqFNVpkPm/WE2tGuoUAhLgp+p3HBtm5WXYVIMcTZu+buz9n9Do/XIWgH1QcxqHukb/wv1optw4QJR3HyiHw9jY1DB30VpenLGffp2g1zCeS1DcW29NGmDYDA5BlHvx9TgFr1Ad6jwVLZrtCu+aEwGFuJRGkJUG/XhHTO1uXb4HzYUx7vJIlc1BqOt7JY8XGjR3gxGzr982ZPZgo/8B8dnmzGpMwD/QJwNeaM941RsLY9Yi9gv3lUnElwDfe7/WiJCRtJSEpUMeOOuxIKFO2Ig/SQGZX0jCXOmv+C9bY84KGQZugO80tA45RVSFMUIm8l9u1xlQdVEWskRGN63wZwkUFPBAxzyCTlbR6i0Vz7YK1wVjJYR9eeZ99MuCusog6WyZW6dFSsp4kn6w== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(136003)(376002)(396003)(346002)(451199018)(66946007)(6506007)(66476007)(66556008)(6666004)(316002)(6512007)(1076003)(186003)(54906003)(2906002)(478600001)(86362001)(6486002)(36756003)(83380400001)(5660300002)(44832011)(41300700001)(8936002)(8676002)(6916009)(4326008)(2616005)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: SW0bdG5Dovay2Xxob+85cFMJ4ArhYYgaMVxqpPO7l2NfsW9IxrxER3pjcodwHDEYI4IQ0L/emHcmHSn3/A+i9AJad6oe1XwSjXv3ANShQZjH9opGbwQzTpAeegRDrQaNVr9xSmAAMHibHN+7WijzrEhojynCqgj5C1d86qkNKCCbd7vdkhuung8nZ7T/YrEEqkn9OOOTkV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E83B0MmPTWrDQhE+vOZS0JF4GS8pvXTTK0hrr3DoVIVzZWVcaXfWN51RvXYS3pX7vW28wkqyuCW6oRmtksj0/xpt+CQZHN2XOLKbQOhL2Qfun86zBBxveHNpWuSg1OWNHIWTB8vYdpivZZO5WNj34enLEGDIedfP7eySRMX9qhvdRW9U6+GbuXYIjKW012Ni2l0= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9f22975d-53bd-48f3-8c68-08db198c170f X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:02:47.7630 (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: MIU79qMNiqUUjaV4R2xXkUf05Rt3uW9dBDHwlA3OHfXJcNfY4hdu16n+9vERlx5kuQ7JGSt3Zv2R5YP9uJtd5w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4763 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 phishscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280105 X-Proofpoint-GUID: py97dq2b9CyoC3RE0Pihjto8KlB45WnR X-Proofpoint-ORIG-GUID: py97dq2b9CyoC3RE0Pihjto8KlB45WnR 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: Jacob Keller Acked-by: Jacob Keller --- lib/pldmfw/pldmfw.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/pldmfw/pldmfw.c b/lib/pldmfw/pldmfw.c index 6e77eb6d8e72e..54e1809a38fd9 100644 --- a/lib/pldmfw/pldmfw.c +++ b/lib/pldmfw/pldmfw.c @@ -875,5 +875,4 @@ int pldmfw_flash_image(struct pldmfw *context, const struct firmware *fw) EXPORT_SYMBOL(pldmfw_flash_image); MODULE_AUTHOR("Jacob Keller "); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("PLDM firmware flash update library"); From patchwork Tue Feb 28 13:02: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: 13154873 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 1B201C64ED6 for ; Tue, 28 Feb 2023 13:03:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229986AbjB1NDz (ORCPT ); Tue, 28 Feb 2023 08:03:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230493AbjB1NDy (ORCPT ); Tue, 28 Feb 2023 08:03:54 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 886BA244B1; Tue, 28 Feb 2023 05:03:16 -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 31S699uX015567; Tue, 28 Feb 2023 13:02: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=FQgWiucIfrZHjaHrW0pJK4guvTZBN3i19n2mpoY+i0o=; b=sxQlbowv72vLqwjZZ+Xtm79w5+bpQJcHd5zyr/CvOVcmXUS8Rq9isYM9NrVh4qhKOx0o xyfdngONW2ti7Nqb5QMFc7Rvf4lhIwhwHiZsnafKUqEFcNQih2w8zgESBJbDuAvMNuAe qC1es3ZA64jHOAQehOSPn7GLie1oWyBVI3WDJDXjSLfQi7NYSFANcffVS2zujylIe7bu kMFoXNDeYNVuLqoVm5LiJd98lTp2Uq8o82Kd9pCZzqQlUtdT+i0lo13DUhdwOort/8lu oiTlbOugvJOK8NvNrtGEwjDK/qYG2LEftvV4rsXf/1lHxERcHDO5epsqORTVzEhYvbI7 ng== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nybakp6bw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:02:54 +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 31SB0eR4015939; Tue, 28 Feb 2023 13:02:53 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2044.outbound.protection.outlook.com [104.47.74.44]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8s71n0g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:02:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=njbc3HNK+Xayc+gq4K3q2ydss2qmBASd7fZBdchuRYxYGRtqljOsunQvL59p4K4nvWFVYeSkoOlC03bNHG/hG0wc8y31iqK1eClcUddNPr2HPvmBktthZxvxVp9Rj7P9Vdu1OaImv3o2IbnbuHNgXtKAv6a9uvZwmBd0t408J1f8HLAptBie+ncM76WqqKb0S+B2A81z9WES/GV3/jFf7+3+EU7tCgLvAF+GJ+hzyr4FtF3D2oE9CXKpC7ymJfcB8betOb/DwNjt81t734GQypGvgKNX3ACqbT3dLAupZ7NpA3rtE2r/1mZFiF9fVVL4iE7ff1+4I9ova1xF3szKmA== 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=FQgWiucIfrZHjaHrW0pJK4guvTZBN3i19n2mpoY+i0o=; b=oGoFvIGsvpZktsXngiLzGK2XmwED46g9SE04uM4gGHrJuvMbQyhBy68CW9iX3we3wuH5D+4Yq4moPGvJtT6/SUmt/tMPwrOT+h+n7obdgtzy0BlD93EpVKL4Fqfwmq1Tt00j1q69gNJ9o2yAWo7AHis9vI/MiZbw/Ne375SweXumwgdbb5Xn1l42ZdKZS14aCpwCCqCd6I5zXpYg2DPHaAQigVwxPcjuJtKbLfiKNPA9J9+z/PkMKjKz6GPRTcUH2pC4XBkuwRIHpZl8DcBCOFNiLkePcQLz6UCMEMxxp5Q1T1P2A+FXBZ3O5PYdPOMoPgDPYXKrVK71eyOGKGleYQ== 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=FQgWiucIfrZHjaHrW0pJK4guvTZBN3i19n2mpoY+i0o=; b=fzP/sqL5C+hkRhwlpwl7qh3Fpc5ZqU4iK7BPTr4NE5a3zoBiPby0XIO0aAQEFGrieFleJXvK1eO2uXVlMatcwwxIPpRnqHYYNQF9k/L0Mw3uxh1UIuYITeIFpO4CxCWQq+7bLne5gc8grGSVnV6vZ7XRRVKeXNkIEA2JysjW0q0= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CY8PR10MB7290.namprd10.prod.outlook.com (2603:10b6:930:7b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16; Tue, 28 Feb 2023 13:02: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%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:02:52 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , "Rafael J. Wysocki" , linux-pm@vger.kernel.org Subject: [PATCH 06/20] powercap: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:02:01 +0000 Message-Id: <20230228130215.289081-7-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0452.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::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_|CY8PR10MB7290:EE_ X-MS-Office365-Filtering-Correlation-Id: ea3b252b-30a3-48c6-d25d-08db198c1987 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5eMme4zimQvmQxOBFzhkhNAtgbj3kn+CRZwXGyqZlfDo0dUYOMHUiXgs3PavjDI0yM5rO346O2qFapUDOMN+HB7WRnNtPpbran33iB2K3rNvGHvg9xUFMG4GD4Qnqh1/4QIkj2I/WNOdRUUdMGYnpYhqz3RRCfCJoFYhqh+xZhoxsN2RN313vlrpd46k0c5CNXGZKzLXdWKrKOFGagx5AKn9wyZTfT/RYo50EUKkK1bhz+eYm6t1pvr9ZBsDPA3W5MECpznx9frl/M6byowpicBOU3wI8LZ7R03YTFdrU9EdnRIMr1zCeBeyM6fff0D3XUdEnSlvLS/bJWtPhYw+YnFVlyRShrGSXjWIwV5xdGP/phU/AwUgiBnfeMfmH3oO5ztDEqX2LOB0IzxeOVw+6apVUXg/+FhDSKjE1rKp10bJqYpBlbSni8nT3ccld6Hs3nkdlDPxfDO8p/CWILuMumYSTmcjRsf3j7p+kLUAXXnPUWvqZJnDBR3XtOMkYuC6lUlxIUKJtN6+G96d/T6uJb8w3lwxtC6KlYUwc6+eRREsNBYjELLeB6nJGW2BXJpWoUovEXzW0VlcNo0qBL6D8blQ1EcCRqRQS4Q4+kSLeNe3Auph91bh+YxS+1DbcE4/ribB2crn6aOP+yUEEplvCw== 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)(366004)(39860400002)(396003)(136003)(376002)(451199018)(36756003)(44832011)(5660300002)(83380400001)(478600001)(6666004)(6486002)(2616005)(6512007)(6506007)(1076003)(186003)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(41300700001)(86362001)(8936002)(54906003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: z1GXgPzyg4MEKyfEe0hdcusMO9zq2ldKsUjgPy5aSVuvoYuP2rhZt+HI5AxAgsdZOSCi7gN8NwOVrgIOCGEUuQgAMzsLg293ZG0MNGS3IQCWBAzaxQ2iWUAIqPzA3dQXq5uNvfMjI43sOGae3Vd0SXOiYhhnDWldrNwrgVoG0mSlWiy6bIlZjvyriwj7IawWQC0Ri9n4UArbNCn0rjnn8XfePtDdrYZDVZVoMehn3YlAmAMLLVU9g6MBx6HltDY/RCDl6eBu3bR/s3EiRNFnPIF6AWTJV9MwzEVuVyqI5RcjuZ23HEo/BQbI1YDSGoC1hZdAI0h6AOmbn3eGzLShqTV2AMmHL4jyWACjdc48Rk+Quz0HmIwBArQi3QJufFxdLFYroK1LfSuKdJDvrQebWIj3+Ho+WQSVxOFF+8zzq/plOFFTNKjG8LAPSMWMW4ZvUS8zM+GWmrG5SYj2aHsClnrWxFn/p1UDFjYZCtj94sebKqbqvMaOqu9TqOrdDupqq1Cbmr3aBSdxYLdd5TevcbcZPhTNNosfJ4E4zfR5xPciXEZRaii5H8gfRUN8UuPkwToQFK5jFfu3aYNXJxZWtKcvCmHMxBplNtiFCqV9nA0XiU475vt9uUytv18uAWl0YtomtOs00f9gq+BM5vRwt87aMbs/dPHdW7sA4j5D6M9ku/mhIDWxn/pmenPGYK3rHF+hN11BCd0POHeU/qL1AP/YjegQAuNB/b6ym+qE896uVkDVgmWHCgO20LNdGEV752/0n9TN1BaBVJx+01TVMgj1LRrvXKwE1vFLxYhPSLfDus2s1fDUlcjFz+iTxFrCM+RvsBFhy+LUcztpmZzfQBhaTr1pzb3dR3Ay5Q2xC9qj/koj5Li0RRCvrJwGeJMNiZhDllg9KgiNUZ0Vit2wnqwtdSp/y0t7UkffnY0lGmgeqU9LdNrHrOIejeYWoIDTKZlxEDGtyigWFpAtGycyssn/cOvHx4+zwpJtYuRusAav8Fo0Cq9/TwBzBqX4R6mKKnVRNAOb6tKhf+vx/JoDoQ1rCVBNfb3VoR6ER4D3KkoSczixh/nSGCrvoy9BI82sVr+AMeVhiUoSn7gvcGS2f4a5ahXZjQR2UyneWhmq1vPYGimIWVKr3PdZczRRHfTp6DLnDLw5s/x8JlgZxeprx89F+Exq900iXD9XErwMTRJkfj1Ul5HeBtiHenUsuHFT7lgOliFdK3JEGxlBV907AugmcPCIqMP2Nodgcim5WYerrtr+OfNhvQBkdIt2Anti5KX/z77hQ47WM9smJS/cSaS516iwEYVDhta8QvE/m+3yDN2s0cgOAT2YEXCj5Mt7aJz05jlj5MIJhZzVfiAZW4rFSc8b32RIT6WnHwDCCuNkg71AHaIh+PPV53Hab5SAq3ppoYcWxDb3RhDvsCCxdDd8sUu4hMvb+8fq8GstK+sZhRRIEHKPFrSDhs41lPUy5PkuuI/BvW7N5UFgp3k1/KMsxEZmN1n+7dJphK5h3YU/H4bfBB5tA7rZ+lQw6ytBt7nQGZgGtjwmKZaqfOqjWs+csOQZ0aqYau49eeUI07mBfbJM7TjFxpwN48pgb/Cktfegx3sYQYiYdkxgZj9PYjchTypbFzYpwZxWazgrrQ8= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: pbVlmLLwp9ZD+c1KRygws509lXphS5UkyTMug0CiaoIvWnNoue4epSp25xCtI4v35031SvDSpjF9VWdwN8JR98tqS2pWhfsCL+FL+mKOS69E81h59savWiT74ZPvdWEXclukLZagEj2ChF2byf4UWScb1m/8HqHYqBCov+jr+d1Bk2xdjxfv1i9Ch3+jYAoCpRupxhROoaT1LsTJo/jtZLNXV9qVon2p4D0JevA3uilGCYC9gY/irZjsEgUN2zRFjDcpliGnGER7f6gJClFYObheCA1lLKoQ+EYzK5nT5+P9dmRflU3sf1oDYvFhBSa3u39p3sE8L1UWmDQmI0wwtuU+hqPj5Z6GKuUy2NuyhwQKtLG+0eIO5ozq02pSKIB5Xq1Zx33a/HkxW4L1fdqfh3TURc/VSa6KruRSoN5KlkCD5Zj5l1rZQwWZcbv2FAxVpKMSMTQvrwgYzo4Z2E+zHoHjXNEkNp+msir+Pvw6ltb/UWW4ryVFbIJ5n/vqxsNnCvPyDINWdSWcQKVBhFOX7F+BcN6znct81hMHIssuRblB82QIfbPlNWvQeEHxDGU2SMWQ9YmWfSzUtZCW0srWXLaEgSV3FIh5FNfkmnMLy0ItyxeTRuuaD1/NpNxHcGQAgodgdJG0ostM8eK8ZTZnSYDpCIdMOrQvIcd2/9BGGYbTFl86J+qc4sC4/2oCdUJlG1V13JQZYvb8/QpXSZTvctwVldVhzki46ZwZP7k3EUqib+VVNaZ2n/QwYjK9FMFX8v5p8/VWpzCwBkIRdslRyHOfzMtwKm70guyjg+GaQS/2wnFd8sWkWbwPmpLmk4DF X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: ea3b252b-30a3-48c6-d25d-08db198c1987 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:02:51.9067 (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: efSz30/eEN1RNmggqBinOKqBjDP/pk/dlpw1Dj1UDdopqdboneQqNGYKhyCWrmbsfNvqPXiW/tF2Frst2T0kIQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB7290 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 phishscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280105 X-Proofpoint-GUID: lSf_WKqxc9smdVa9ogEkuXP96VXVck07 X-Proofpoint-ORIG-GUID: lSf_WKqxc9smdVa9ogEkuXP96VXVck07 Precedence: bulk List-ID: Since commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message. So remove it in the files in this commit, none of which can be built as modules. Signed-off-by: Nick Alcock Suggested-by: Luis Chamberlain Cc: Luis Chamberlain Cc: linux-modules@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Hitomi Hasegawa Cc: "Rafael J. Wysocki" Cc: linux-pm@vger.kernel.org --- drivers/powercap/powercap_sys.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/powercap/powercap_sys.c b/drivers/powercap/powercap_sys.c index 1f968353d4799..df806a788a02d 100644 --- a/drivers/powercap/powercap_sys.c +++ b/drivers/powercap/powercap_sys.c @@ -675,4 +675,3 @@ fs_initcall(powercap_init); MODULE_DESCRIPTION("PowerCap sysfs Driver"); MODULE_AUTHOR("Srinivas Pandruvada "); -MODULE_LICENSE("GPL v2"); From patchwork Tue Feb 28 13:02: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: 13154872 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 F0906C64EC7 for ; Tue, 28 Feb 2023 13:03:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229765AbjB1NDj (ORCPT ); Tue, 28 Feb 2023 08:03:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229972AbjB1NDe (ORCPT ); Tue, 28 Feb 2023 08:03:34 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82ED42279B; Tue, 28 Feb 2023 05:03: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 31S5umWN016799; Tue, 28 Feb 2023 13:02:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=ww9cW+67AsPP5+4h8UJ+Jr5vdo8JMB+oUDwzUIVN/SQ=; b=PjKKxFtSCk/LBEONaL+U2btjF3KnSI+8t/UFtFSkp/MVXpyu/447MGPmhzR9q+jX+GyY 3nWMA8WPyfOEEhy44nufCmh4BW//2jeVi0TR+oAC/ETzu0co/YecDHIUqXT1lDvMktD/ O+ll+a50tN0uXPut6xQWs7T/v6Lwjo25yEOLQpJAx71zqcxAdQ0VUEd4+Q67TGaJqnw0 lc7RX9bA5jQycl76AnwG97aaaMKlSu7jx6fD67FYiZ9l3YcGg7Vpr9KJ0QSJtm4vakFN 9hXlZPWZ17TByGT+oRG2jnB8tHZgsDWAJX8AasOH16WZWki6+3WJE8vfbw1xKKxZP5kS aA== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nybakp6c5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:02:58 +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 31SBSmsB015883; Tue, 28 Feb 2023 13:02:58 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2168.outbound.protection.outlook.com [104.47.57.168]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8s71n3y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:02:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DIr9UmFUYYJ5DAI1ahGAhEmRlzphZ1Tq/9MbQK/6CIbPDs9I00BtVGURBRliHu6zZXiteSVu/2b+Q8762TVwedS5M/dmJ1NKCe0sYztGjgjLG49At2lanBOM9rvNQvmjqTeGiJKXzs/9Dvasdz0Rc0aSzaOEO4kSnZito/saej5eLHNLwCapT/hUfi8ymPunEQPnO1Cs2eFcjwl1v/i7lbeYnVphfXdj/PoPMu1TlJ4vzjMMR9iVSO394+3kL0toBjtN2iAVf1nD5QwSvR+vkHEEUhza+WFTd/Hzrny46nQ+lMxZoHcR84Z3cwMTvD8Af4COMMtDqxSB4GWAk3nFcg== 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=ww9cW+67AsPP5+4h8UJ+Jr5vdo8JMB+oUDwzUIVN/SQ=; b=CO8rQF09BiICha4dYVDH2j78hlLqLWLhdxHIeVCnVQHOLqTjcl2T4Gln/LBstXnklG2gso+qVJGUDTLhr6lQ5dHp9ZC6vkkifIOqjm2jdnxgwLwxzweTupsAd3SJXV9Zr9yog+nCB0/S+qTU1ccSj30px7ll8Z/wHfdYaJNXC0Utv+pq+zzCIeocNh/ws0zC9yt9YmbtjFU+HdVdBIfRu8eyKUbTB7RkW9bxCayzPDzX6FD3Y2Q+1HfLceTYsgi2lVQZ6XLc9AMnUkLee4vr2VHQIwQA8ETfWUcBqeNV0u1kFeIcL8Q/B9ScXx6nrFkq8MGrfC/37mWgFNQsf0jiZQ== 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=ww9cW+67AsPP5+4h8UJ+Jr5vdo8JMB+oUDwzUIVN/SQ=; b=XjFcuyb49spVOCJ7SJtrfQ7pvwwYHwvAUjijHzroliBcqVIyHb6wzazPcUJU7J98I+QXjooTUm+GoG61JiH7glgLmotWTDhw5DFsMUwny6+whLYOc/RSk4jHrJWvTiXzaawom1h/dXJMg48vy0jWxMW9pwk154Rb0OVU7lDPUUI= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CY8PR10MB7290.namprd10.prod.outlook.com (2603:10b6:930:7b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16; Tue, 28 Feb 2023 13:02:56 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:02:56 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Sebastian Reichel , linux-pm@vger.kernel.org Subject: [PATCH 07/20] power: supply: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:02:02 +0000 Message-Id: <20230228130215.289081-8-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0109.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:192::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_|CY8PR10MB7290:EE_ X-MS-Office365-Filtering-Correlation-Id: 5e6be0a6-058b-4202-16e9-08db198c1c1a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6Lir1b3f2eHIQCsWlwFhSCk87MZojEu772nYoAZqvt/MU07/8Wy8zAh+KGli9HLsqfXyA0w4IuiBG/UP3hZ/R/piVJ3UjBKfU/mN0b+HC9lkfVqvVY3+BcI71gl7JWWuB6KQX4sWIsuG+VJr4pVqo1GSVYzRiYNvk8uE5dRASfBM4nqxUusmj4u3vygQOFVSJVnDpgjKjf92RJlQ5ift2qW3xb652ksSJ44qDd/N2CTE0qsH+fy3s2y0rZa3l6gKuuv9ThQUr/LiLeB3dMA+QGjh5A2RDD3HrKSxeFFXSwDRk9v+Xq3U3aIu1HmcyQEmeAa9L1rpWRJDXMcwg+JlAqWoTBJ+HSYFA64OVp+ONrlFgNQ8JSA2ZwRzBlecRs5xv1rVH6cXpe1Qbb2WHZmkHfCuATigrOu/3O8JR9Wde+ve8aa7rJqHWjacBEnSTx0U4SJqyy0FrzU23a+Z5kdhK6iKD3Mz28N5Kdze+UK0HsWjOVm8V8dkDKxpH943oLdzZq99LUQXLPJPy8nc7PXeEu2qSGOculTUMwmL1Z9y8HchFgeKrMgMYrbJ5UttvWF7wZBOXHmKMLveKry29ipCc/qAqY8b136DkLYVEdLEsDQU8z86D4GjZTqp2hTw/AESh8lH1f3Ldxbp8sfC/RoySjpMa4FQFA/cmCaQkHUCv9oO7JurlE5Yw+QK+rfPQzYan+3bUBB+JQL3q1n+7UkMaw== 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)(366004)(39860400002)(396003)(136003)(376002)(451199018)(36756003)(44832011)(5660300002)(83380400001)(478600001)(6666004)(6486002)(2616005)(6512007)(6506007)(1076003)(186003)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(41300700001)(86362001)(8936002)(54906003)(38100700002)(2906002)(316002)(241875001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: b7gL8AwRfNXRa8nlW8FTX9GY6CabV2hxARcI54LuMu36tiZIE2m2/IYiBByahjcpURP8rLvLPRPKcWTJ3okLYCxcp2cieOIaRvU1swxorcTW3aY71gNblF0dOWWbLL0qW6Q2HdHRiPJUzX++h33qAgq6JaG+jVbJfleKSooo5KM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PCwSHx7yvOIQS85Q/mrBOugL5eenWbQkTllCHmyN3SgxtRYyKOhs5XsDptHpHkjREHv3aIUkd9pNCPmqTiDZrBlJGsOBUdKXc5FnKtAj5Xo4YgadPciDbWfuom8OONzuzMWBdu8Mh9jU/UaKRsJMC3utoPbJVHlySrrP4d0Sh6eusFxTn+IB1mgnudKLAkDSsiUdDTZAnupqcIplPldw/NsVSlDNTAnKWQULel2bA/HUUUH8VaTciiGHXwTNXPP80LPeKNPs6raEh2RzfXaC8RrZ9ZSbV98FQBX+QWutny36rBpK5uPfz0vJFigDMaPP+Lh9VLB1ZSx5o3MzpQF14osnk2gwrFxxXAHD/CFR7/GrUeG2j9svjQU9XGKeTypNJKcBg2TEg0EqRopglUu2mQQAQRdiY= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: ipYjIFEp3MKw2ZllMPb+igPCUKzEQIJEm9qV/8JAUFEXbQNk05+AeQJszaBg3HRJKR91THl1xpwcPsgBfCfVGW0AqSLhxcR7FzzqVRKLyIIXqRH0MbVjlT0OhvJv1kLS3O+Wz1FLSO9IWdEmG33dGDovhei1glPbdjUiB6MMlN+59qNsoMVw3ADPLccGpPq9V2672gxqOcTxNB+fpW7fa1T3nrsJE4KIrLv/vju0/eOzbS/tFAvsDFAergVYYUNsvuyPBR/J8IlOcra4ZejYwDE0khR2Vi2qDP9O0bqaiurA+VyDkndkw2JbuZTxxyiiWMZiTxCE9x++ogihWxXBpmweI+LCi/iYKrza68m9qTuk/ZjMc7GlVVUtocUzoxbZ33w1GeDp+L8yLW0DCSaEYVK5D+gScrf643LQYGnV3ybZu57NL4QZUecZH7GfKvzohexxjzfVClq6Yk9lw24ObrUKA3QRx08yuzEzbWvmS2yZdvn9KAbJwQSBoO9KW3U2F1yv6QKO+hUq0H7uuNcW1CElVFDeEawveUMCHDLPzJgps57J6a4K9gkruL/eYrJFZ+JfikEEvKA9TS0vf5YA7oR3deUs5dGr7vTVbyJV+3H88cPsF+xfh3SJi+M3I62oDiGNMwBsBmLMB19fc8FDVIZlkV6sRtkFldb6rN44RF3xKwwantROSL3C8u+W1S9Ygr67/ZSflR5JYzhWrUVsdQGhUfgnZ7H+Unt8F6EZpTTfDwmjmd6+V2QqAVUUZj3znVd4b9k6TmXJt3bNdZl8RLotiVcfL0pLOwrP7bpYWxPDxNHcHCnq5nZkmVxVXW8L X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5e6be0a6-058b-4202-16e9-08db198c1c1a X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:02:56.2207 (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: 3I4+OmwRT1CRlTkFWqoXYRFvIhdyX4XWXe1XJqczLTnqCjSRkYovPHNTlQbZxFKSihMDad8fsgxgemSNtjO+xA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB7290 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 phishscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280105 X-Proofpoint-GUID: Lftj-l6HYfSjb86z2vln-4g1PK3cjbUe X-Proofpoint-ORIG-GUID: Lftj-l6HYfSjb86z2vln-4g1PK3cjbUe 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: Sebastian Reichel Cc: linux-pm@vger.kernel.org --- drivers/power/supply/power_supply_core.c | 1 - drivers/power/supply/wm97xx_battery.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/power/supply/power_supply_core.c b/drivers/power/supply/power_supply_core.c index 7c790c41e2fe3..411fb8b8945a7 100644 --- a/drivers/power/supply/power_supply_core.c +++ b/drivers/power/supply/power_supply_core.c @@ -1578,4 +1578,3 @@ MODULE_DESCRIPTION("Universal power supply monitor class"); MODULE_AUTHOR("Ian Molton , " "Szabolcs Gyurko, " "Anton Vorontsov "); -MODULE_LICENSE("GPL"); diff --git a/drivers/power/supply/wm97xx_battery.c b/drivers/power/supply/wm97xx_battery.c index a0e1eaa25d93e..f4b190adb3359 100644 --- a/drivers/power/supply/wm97xx_battery.c +++ b/drivers/power/supply/wm97xx_battery.c @@ -271,6 +271,5 @@ static struct platform_driver wm97xx_bat_driver = { module_platform_driver(wm97xx_bat_driver); -MODULE_LICENSE("GPL"); MODULE_AUTHOR("Marek Vasut "); MODULE_DESCRIPTION("WM97xx battery driver"); From patchwork Tue Feb 28 13:02: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: 13154886 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 64D9EC64ED6 for ; Tue, 28 Feb 2023 13:04:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230006AbjB1NE0 (ORCPT ); Tue, 28 Feb 2023 08:04:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229773AbjB1NEZ (ORCPT ); Tue, 28 Feb 2023 08:04:25 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A50D244B6; Tue, 28 Feb 2023 05:03:54 -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 31S6I6Y5028420; Tue, 28 Feb 2023 13:03:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=2dcEZEWJ7OrOBzaa5Ow0eUHQKXugKeDC6nZfH1ugso8=; b=RDqZe7EFZxrGDswC2rkhCASchDJwxCPNMpuj9Av16jalWSQ4jUt3oepKJ6XDJYCUDDgU LjEK8Rb78cj1M0ifMWSbNUDazNjOpGbXh9BVZmmYmgPPkaftjLg60W2NTbw0mhmw+Pu3 +gNi+1SR7MdNXlDOoBRdW4w8UOC+QSnZGJUTRwBRVqmhEBzxoRY9L8xreI1D2Gt89i8C vjBflaSRvr+kkwppygRSQvyq2K4SBBgQBFXJY2Ygn84zPSRYcbqcA+mByFnW5ZcyEP6U AlRgdFaT96AUtFUJAqCMmGwz/t3FkxJ2/oKB822pz7k/xU5gT9/GNpeGJxLwVrZk2nz4 tg== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb72e3pw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:07 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31SB0nSc031559; Tue, 28 Feb 2023 13:03:07 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 3ny8sdh7dn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PjNWUvkcPoFlyfb3g07aewPcmihaUmjy171mWwl4VZ6BJoVOZGW7d2RZH/SrH/sWDcvMgoVJ3IVOUal/q21tumlqsfuneAKlYWApTCkm+DHoLeZ0rsPDKEvcALGyeRvqQlj2Ge+zxc2oub9Q6aLWcQlVCRqjb7YmBqROGptgXGR2bXKp+FmDjpQJ9wlXtaaKylmLD1c90h0I35gbf9KtMOTRVS88QSid1jGsQomyo/usf6E4WY58fav+emOQv7X8nxlu4AS1RhmXXd/r0jjCTzjsU689fUZQxH8QRB4JDlRrRkW7NKY2AyFIDgy0ss9krtthohARmsmgSOuNxVIxXQ== 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=2dcEZEWJ7OrOBzaa5Ow0eUHQKXugKeDC6nZfH1ugso8=; b=RKmCodDtJbU4DTGO2k4N1wSQK/rTYy0x3Bckrh/zH3bWxsFL7X2DQiZ1q72mmkMzYdYkoKCFowKLeAEYgWhoemx4IQzHoK86UiDBizr9twgd9Xi3V3udwS58aXuxXgI/OGTVbyUehRewpspzWmADFO7pGUvKcEvIC8+EfzTdnfcynLU9umxq0kkZomx50+242aT3h3poYK3G6AwEuo1JKLLtrXQPAsmqt5gw6gRzxDiVkzilvZ3BLXRRvYtNStR/7Q/aL0mJt4J6wY0vu6tgUfey04dc0khrFCgXIUaYlaHaR216lhBVqQO1UScVIfL7QXXfO15xh6xSSrE4sdAN4g== 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=2dcEZEWJ7OrOBzaa5Ow0eUHQKXugKeDC6nZfH1ugso8=; b=B7j3w/VU4Dek0KwN1SG1Qo/jAK10ThYcAL3lAVGsc7glTbXFEIJ7R0rLPsOPV8s7RcFbbHhXS18YreNerF0hrzluanK6ELY12EVEGMbJCiRyI7BE58/zbiUz0nW4NCNF6rFjANN1UjPX4XfaxH6Ru4DfOyUQK3nG4DWBh+cdRRY= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CY8PR10MB7290.namprd10.prod.outlook.com (2603:10b6:930:7b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16; Tue, 28 Feb 2023 13:03: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%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:03:01 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Bjorn Andersson , Mathieu Poirier , linux-remoteproc@vger.kernel.org Subject: [PATCH 08/20] remoteproc: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:02:03 +0000 Message-Id: <20230228130215.289081-9-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0449.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::29) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|CY8PR10MB7290:EE_ X-MS-Office365-Filtering-Correlation-Id: d7f6f8f0-8206-4a3d-48f7-08db198c1f2f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /B8AG0g7oPA7KOuunrjlIwRuu9/8J4R46k8xShhqBSBbsk4TCyrHa/igkYWcUkjOKFKRhCQN0DphMbEjTPZDJH8k07zfM3W5BzLjfAm53Ve9bRvl9nppqcQj/K40uOyMsGWPPylczF0VbLVkDYy4NaBiKcuenaRNPqpv8zYEHGGnH98SeoTo8HEBTpjzM8RAXXSga2DOEbQBnpCVssV6VornIA5AT4LBDmCv82WS8lYLTQE4yu3Cby9E8RjzMQDrrkUrxw6YIN4BnVjOBQLpZuI5B1H0wgf3Sqdg/n0ReoleEQtH6F7nM2QBg3Q7sKUm1F2iEnBmxA/W+PF3amdD+la/z+TBbfyStm3WKGIDPyNEOXbdXBF4wctKmyJwr/DE3WsWeVOp8cOhtG/R/0dtWokNrCkcwgGYVba3P2sbLo2liazQPGEquv3eqz0Um41mcFUbuYnIwMc5c1wbZDTadmmCU8ey7pmNE+vjGDajZHJ8+mk3Y8kSbrYQIInLVBWRS/aheLlpX2BfLwNGlVs3yvQTyqu16ZgWFZBihAjz9ArdGMFW6BVZFCve4BcQ0eiMD2Mg4lQNzvHecXgOqXmdy0dRwV0AqMBWc4VI5fMa8nFmAZIzxOOuUMZm8aOcNfE2mMCC8XyreMq2nCoNb+HoIQ== 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)(366004)(39860400002)(396003)(136003)(376002)(451199018)(36756003)(44832011)(5660300002)(83380400001)(478600001)(6486002)(2616005)(6512007)(6506007)(1076003)(186003)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(41300700001)(86362001)(8936002)(54906003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: dX92E4nSNOTirrwpJw/SUuXJxu4JowIVJVq+jr6/EfWhMAe6QMhYRFztqfVBzdkaM/GipBaVpqZMApCxx5o+tvB4YHYVeyh5LUD0sWin7w8fMCN/duuhCYRbvHuKXV9Inhh/r6r1eVyXVZxEdRGHDeP7CX/AUL/AuhJay4xti/uDT6UWCrvcaHyu3/vHM1qiTlsg87mwMLrRnWO2Hf4ZiGt/UYSVGuolSR27LG8nvEdYyUf9d84qazux2qvZZLTnYNf2QaI7SsGijM3XL0NM+eDmOo9Ma9b3+OvqL6Khj+ExC1rKItiadg6/Rvsedahq52dJUBB26SgFpTh93f26dUZelQgI/9KGtQh0y7LYrFOeQs9ZFEBzBfdfJOhMdFsb3c0dr+WBYM8Bvg/EVMo0C+dEDwivK5JMGygVCPH/8CSOn/X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/Xw= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: d7f6f8f0-8206-4a3d-48f7-08db198c1f2f X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:03:01.4410 (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: uahpps6aCEaPcWfIvGAVqZLxx9Y3vreP/yCwssY/tZqe1THhXvT/S1WUnkwvH9IhDHqY2O518HUjwf763w2YCw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB7290 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 bulkscore=0 malwarescore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280106 X-Proofpoint-ORIG-GUID: T0LFvzhILp9LAyP-0BvX8_uJnGPrIHeu X-Proofpoint-GUID: T0LFvzhILp9LAyP-0BvX8_uJnGPrIHeu 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: Bjorn Andersson Cc: Mathieu Poirier Cc: linux-remoteproc@vger.kernel.org Acked-by: Mukesh Ojha Reviewed-by: Mathieu Poirier --- drivers/remoteproc/remoteproc_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c index 1cd4815a6dd19..de1ace44cb57b 100644 --- a/drivers/remoteproc/remoteproc_core.c +++ b/drivers/remoteproc/remoteproc_core.c @@ -2765,5 +2765,4 @@ static void __exit remoteproc_exit(void) } module_exit(remoteproc_exit); -MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("Generic Remote Processor Framework"); From patchwork Tue Feb 28 13:02: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: 13154929 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 25147C7EE2E for ; Tue, 28 Feb 2023 13:50:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229652AbjB1Nuw (ORCPT ); Tue, 28 Feb 2023 08:50:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjB1Nuv (ORCPT ); Tue, 28 Feb 2023 08:50:51 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57E5B2F78B; Tue, 28 Feb 2023 05:50:43 -0800 (PST) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31S63rr4016327; Tue, 28 Feb 2023 13:03: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=v5kJgciwMDTvekLG199gs2J1LP4q1XKNcyyXocnqIuc=; b=fkq01FUFZvquUQoVYeCn538w+Yt2JcudNYpTh4rc69YpzNagiLAf6Kp+bC0hIgcPZGXA ru9ACEUKqvucpfRu9zXYr7Qa6EuEvALloPFhH1jqDo6CTHgO+4ZUcPdREvT1zlklla3L rGqxF86reDuhyWNXKyCYt01tQjY9GV96QboitiRRt1rH60XAl6rTXAGjpFo+aosekU3C ANBjtxx5nrlMwdO+yhZa0OgdbfI31oNs4b/TLQOLNRyOux3XHT8BN+x1fsvsJGtyWkMW 2iP28BPyDzluuuhgFNee1VVZpaQVbCII+hlH+LHlBL8EKt/bghpNmtwGAX0KlTPZAkKv 0w== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyba26844-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:08 +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 31SB0nSd031559; Tue, 28 Feb 2023 13:03:07 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 3ny8sdh7dn-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YPa1wQqearj02R3mT5IbM1SStxxxl4ckzQEs20kYBt4CkMh/T9mU4qg/6bybZ24uMuU5zFEYAq6tIgglJYxnBo/9g4O5vsw1ZBsCWc8ydwexgLebEE3HR4hqvVFvtdklGZWAVo5jAMlBR/DoAIT7kYt9FeZ+g0WjlRnZI2WMxNwcd2zuWUoWvqDC+2Xf3H6d48JOHLJAQVd2w9qhRaES6Oyc5g9IousdN4qG2lUH58rCDtaUdlwT146imKdp+T9y99HlUGLPF/dskkKvLq9IG0GLva/KIlX2t7SX5qHPu1LsME9ZdwOv6sb1Iyt8WPmfCQ7rrVP2/lv0H1FbS/s40Q== 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=v5kJgciwMDTvekLG199gs2J1LP4q1XKNcyyXocnqIuc=; b=aUMZlKxXwsVrDzGgihrd9q9KbsHwtwkUpeaa/PcSBNPFUgv81i7ByvRDsVSkhv7qAIPxk6hJ46H2jEwjWrLGZero0MDD8kW4Fb7zOwSxUZUo9nyAfa/Z1yWE/2c6NEvVYe/Whh2PfWx/K/68TB1v1hzMH9frmIAnUy8OuA317xf28SUvOS3AvyeDTxrjvlnySTzkJephFDPUr4uwb5wtFf6H14azY4g5oqlMO7Dh1n1tWEYVpwxkgn/ApLCH6cbH6FYNU5rG/WDtPFKodWiOR0g6+Sw9KPQS+y/C1Etj+Zq93+2/LqqzfvTGcpJy0oI09q70l9ozycynesAjiSGVQA== 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=v5kJgciwMDTvekLG199gs2J1LP4q1XKNcyyXocnqIuc=; b=SvgdhnJGDktBjYutD02JFc/PzAk4QjUloXpJxsAFC2y/xqnQjRiEZJiptqVWV4jtWnXrPQpIdkicHxaKRIEqt+zNL2+XvR/WT21j650egsiTnQL+ZVvRbadtn87b7npAXciwGugqm6bGKZydEjzBNgxZkKVBV4ESojyOyGAHTB4= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CY8PR10MB7290.namprd10.prod.outlook.com (2603:10b6:930:7b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16; Tue, 28 Feb 2023 13:03: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%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:03:05 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Geert Uytterhoeven , Michael Turquette , Stephen Boyd , Philipp Zabel , linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 09/20] clk: renesas: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:02:04 +0000 Message-Id: <20230228130215.289081-10-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P302CA0021.GBRP302.PROD.OUTLOOK.COM (2603:10a6:600:2c1::12) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|CY8PR10MB7290:EE_ X-MS-Office365-Filtering-Correlation-Id: c7a917dc-8526-45d3-2e50-08db198c21c4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wef6+gGV0Wa7amYUZVzTAH25Hx5uXF8z15uSxZQLwJHt1ls/AnB0z39+laDFLgQTh2uXSeMVgTh8S+DSPWCICXJJeavbPEuYOXjxSXUlah6+6cunMqxe9QHvSj9TcTqbp/IDCzydeRnkujv16ALPJ2mOMjgAdeshRzQ783EA4wIEIFBpWWUNjjIr6p8HwCGyGdgzO6fhLZDAUHAEjMJlsN373Rw21yFdRISoJPctJojzWD1ag4H2q4XtttFB1zzfapDNW5VAsUyV5MoavXItMySjv/JkfaATcXFZ0cTWCMzsXXsE2OqjSOUxivXotv3Tt+AkHKBq3JO/aLCPgpOZhPyH3ZuYQ5PPFOi+tZQJs6Xv42o9MgkcIQkQ+F0rGXtJIY4awhRBz1VoPxIN5v4j72iaYubu1xyNrcS5qdwztjyz5IP8IcDxbzBRxH/12O1ESODWEZA396ae/3VQSIuba4JOZ+vIQTmcRU/s8u1Ak08nTzA14iXaP1LGHg5vFzxMitLepoXmbWPx0sDVBPEowLXUb8a3P/iCUdEDaYr/WEcwcy8OY54RW+AVBxqbLrj/3PST1GZBPa7XA6XnaIyKeWdn8nRvP8zXRv5EugYqsvOxZar/DYxUxqzYKpE+Ex6KBCRC+6p//cBsFIsudtp92Q== 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)(366004)(39860400002)(396003)(136003)(376002)(451199018)(7416002)(36756003)(44832011)(5660300002)(83380400001)(478600001)(6486002)(2616005)(6512007)(6506007)(1076003)(186003)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(41300700001)(86362001)(8936002)(54906003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: erdaKmGqT2+MARCF38wF/upJbfSJ0J3Q1RrgLzqTvseCQtNQJQOQfAdxqqij3v3+aS/9DaQjxt3hFrvGQhiFllUrdVNjzgqjcvXrZnpmIWmzYG0uZfkYhW0yD5zR+sV6fnSXKi0aNKXVu/eIC0kAzadhC95/FZiNq79+BzBYbBdO+3+9Cz0mJLsjn3Zza6NC7byqz9xN9TJ+zNHqlVkiJU3DlfOfFs4QUXwnP6N8hxSasZvzaf4yYJZ04SmyaBw4y3PqQWLP9U8V0pdbXjGqXATfVCBtAONB55PbRuMTcPKDyzA7DWiu9G48qgbVMIuWJED81/j6MHmoKf1HYpAPeLU68JxQ112qnZ26MVV7V0NtbX2vD78dU5NR236MS0d2RAYm5wMi50C2r8vJ/4ZsdHsVR0LrM7bjWtAd+/lOMEHJl/tjt2UlvVJWqG03Ly7mNpZXP//2SN3d792CIeC/xDqyi4R0mt5YgMoYt5sIB/C7NM7R6+VVOZGivDEFFk5LIl5Pfsx0RfXCDE5ZNJlmvtTAq4Irk7IvNHjxsdXmZqvz6A5xfgVbeYtiqCzzC9Qx/DhP/T4YCGiEJJxeR5brDFMOhJeU4OKFkI90YDJMD36Lk/L8/RkvNVnpvh4guK1rx1E5Dkqim3dumDR75gKJXkNSAzbSDSKRykEV+tMvO+RYBpAbGzg/VPLEDUv6IFw5G1aZF9nctIi8JMfOOpSnwAoIkDUOSMjf2Rdv7Ol+pc+fTdjDx+g3jOP6K+HJlpnbc4QoNPYA6zDqZVM7zE2cokUXGQf/bBLQXGMHBVFpy9zshihsdG5kmB9oG7ixiY8uuTE2D7cZGSQBUmI0XV4Dyl11TuDNf4AxKBovgUmkTKSUzORyy1cVOd+mn/YvVcwTGL53XLay02hs04/MHXZRynyHQUsIP9DgSfL1Id+WduYeheIhhp62mg+s1iivzKIrb1+tVjLDeio6pX0IMpWitZPChjPEJkabS8eMxA1tfanlOBTZaG5Bp6v2v/ZLoNNfWEX76AjgVnMpivgDTmvAniKmOK59cIEhQeP9Vwq64hVVskgr8sUcaqGsBl6aC+2992i9vB/vv20HgUg7UqozpqTWKRo1DL60YhL3hb64nz07CEL29ve6UBwChltwyihNAE0e6WGSUZHai1eZx63kU+JEPWrHUGM++vaQ8IoSgoxdsMfFfJrNO+rDZ+2lwfWqDYc4qXi5VV1V7JfGWslhG3SywP7+x7tmT8bToh8ySGMpuG3s1F4TiswGr5/eKVGJ4xnMxFW8OSm9RapB36/62zqncpRTZAeMAxLIokzcHM9vAFUTfKbxAVcC1/HNZqL3NW5qqHXIwSqkt3RwXcb/+oBytQCgs+yq4MqlvgONT8eIRfiMl4bS74Za8HE3esywsGomaY5bI/2dLFfLjH9Oc7wt3X2KHYGGuKrPIWSZ3q7DdHbfO9ilNr1LPYoFUp12TWLln7gX9TGi5AHxKcEII8UxavDs+mfHY7vTiHiuKABezqz6KufxPzlKH1EHgRRt963GGzUC055wpORmatN5q4ynRM3CiiJRjhhRXJkAQomKiOqxm9IMqFNQxNZ1LL+apEEqohdjZZMGEvk4eTMxnArJfMxoSvsOzWgnU8P1Mls= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: 88ef2Jyt6//K8ukCLL87u2NGtDaBDZQsevzzrAQdkrt3y8b6ecdyN3auW8M+XTt3H+NFKpmb4mhzpUeo+6MhlBTP7DcOi8tOK7HHCcsV9+ZFK02JK9rBqtfw1wY9SLMMOHzYmk8T7YWez+bTVaPAZzJRL1xxrDSYc8Q4KAN8EwrtxpeU5ZXyOx7HL9By7V3YNqxcxWy6muY2Isqk3y4lfwCOn+KgGw9ADH6KLQtvUlD6Sb9EnGlhbMHbO9o8wZjNtWQxO5LpXsk1mYP7/QD6UqevNPGsnhFdh/sIIRcUV1FXwymupPLQjc613WU/beJA+c67M3geL+CcMC/eGgJisa3Se6ee0jRY9nDYM5BkcYjwp6+YMTwpim6lcPRJmK+mNSNhaPnguk2fl6DjITd1Zi+bi2UnIe0HXS2A6BIYdRM2EhHyCKk+kc4uPnGy7jbdRJFYNKwvXBm4DGKmfSsu+8GGST9p7DMUNz7yL/9QPgsg0pZW917k6H8RpEpoed5KtoTqrpFwrQF5QOlBfcs5MvWedOjLCcURID0uB1slUX1uo0fJ5ZyXAgJqeP6/FTW6JVvs82Kz8umNtMtCWky3iI4TYzzlPSEKApf3BFqjTlmCeQ9zUp34SIm2F6W/waWm2hpjteOKlXAo1/qOxlnG0/qMyyRGQuhF5cZH9oiochEPuTaDFlxGhaSxLsNkTU10PnELL34fjUgNWYaTWieI/H2dlLRpKw3oHFor5hnA5drFOQbKv7RLkRd9T5f5cJN273UE6NMo/HZVblMeloqxhnDdBytDtRBinT38atEdumvHbhWL3gEWSQM7S+d9LrkAkf1HoOzy+Wu/AVm0+RgPZ5ZCzMFKVYP1W73kzIBcpdIvetRNwM1vVrmDrFfNbqmx03mGrprDq9WRr7WoNEzQpx4g/0aXo/YkpwmnhhfVte8= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: c7a917dc-8526-45d3-2e50-08db198c21c4 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:03:05.8334 (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: yWTO4ySrHY1FVJIVcZrYWwEPLJw+fr8eO7hPboU45AtD6HJRp68rITw5vk8pBrb0aXkOqr2KfKzH1K6m5+6bOg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB7290 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 bulkscore=0 malwarescore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280106 X-Proofpoint-GUID: fp7TpVyTRymru56ksoif8LLUCgunoOj5 X-Proofpoint-ORIG-GUID: fp7TpVyTRymru56ksoif8LLUCgunoOj5 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: Geert Uytterhoeven Cc: Michael Turquette Cc: Stephen Boyd Cc: Philipp Zabel Cc: linux-renesas-soc@vger.kernel.org Cc: linux-clk@vger.kernel.org --- drivers/clk/renesas/rcar-usb2-clock-sel.c | 1 - drivers/clk/renesas/renesas-cpg-mssr.c | 1 - drivers/clk/renesas/rzg2l-cpg.c | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/clk/renesas/rcar-usb2-clock-sel.c b/drivers/clk/renesas/rcar-usb2-clock-sel.c index 684d8937965e0..ba6b5bd67786f 100644 --- a/drivers/clk/renesas/rcar-usb2-clock-sel.c +++ b/drivers/clk/renesas/rcar-usb2-clock-sel.c @@ -220,4 +220,3 @@ static struct platform_driver rcar_usb2_clock_sel_driver = { builtin_platform_driver(rcar_usb2_clock_sel_driver); MODULE_DESCRIPTION("Renesas R-Car USB2 clock selector Driver"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/clk/renesas/renesas-cpg-mssr.c b/drivers/clk/renesas/renesas-cpg-mssr.c index 1a0cdf001b2f2..bfe5dc9a2e36b 100644 --- a/drivers/clk/renesas/renesas-cpg-mssr.c +++ b/drivers/clk/renesas/renesas-cpg-mssr.c @@ -1154,4 +1154,3 @@ void __init mssr_mod_reparent(struct mssr_mod_clk *mod_clks, } MODULE_DESCRIPTION("Renesas CPG/MSSR Driver"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/clk/renesas/rzg2l-cpg.c b/drivers/clk/renesas/rzg2l-cpg.c index 4bf40f6ccd1d1..93b02cdc98c25 100644 --- a/drivers/clk/renesas/rzg2l-cpg.c +++ b/drivers/clk/renesas/rzg2l-cpg.c @@ -1440,4 +1440,3 @@ static int __init rzg2l_cpg_init(void) subsys_initcall(rzg2l_cpg_init); MODULE_DESCRIPTION("Renesas RZ/G2L CPG Driver"); -MODULE_LICENSE("GPL v2"); From patchwork Tue Feb 28 13:02: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: 13154887 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 9EC86C64ED6 for ; Tue, 28 Feb 2023 13:05:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229773AbjB1NFw (ORCPT ); Tue, 28 Feb 2023 08:05:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230173AbjB1NFu (ORCPT ); Tue, 28 Feb 2023 08:05:50 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EAFA25E1D; Tue, 28 Feb 2023 05:05:07 -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 31S5rchx025872; Tue, 28 Feb 2023 13:03:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=EU8ZZcGTiF2MKt5h/sTLk6jrz4iLvmXhm9ryUVcqpmI=; b=u9k3BRZjuK6P8bslqh5eEwTLWi9n1Q3ItA7dpU+/5X9Fn6zJ0u/gIT7MGrjTQtP3HUYa lfpiA059l3mZGuWa0oHtLqaLVexp27yzaCllVSFo7YlpIgxBMZhVsVQvRy+3TK5/KnwD Urxu0l6q8NaJ83lF+y9S71V8LCaEdmqIa2J/S0iffG21jS9ueZ5cDlykwPpkG2bcExXs wQ1Lb3VNVpRgSQ4nx+tz8JiB8Efq5J9uhq92QUDggWFmZdEWrj9rtwIsrzSdN34J/ch2 m2AZaKKeIN+EM4d0+y/peGhYDtNGuG/8n7Q0Q7H3nQxnRl3gTS0JF3tdloln4BGhN3q3 nQ== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb7wp4cx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:14 +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 31SCtTGe000438; Tue, 28 Feb 2023 13:03:13 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2048.outbound.protection.outlook.com [104.47.74.48]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8s6gf74-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DypiqwciCR/uTPDsW1A1u6OOUiJpBpmemEiq3275jcUNs55iSUUoojlhAM+/baniTCtvcQpiRLtk+s6OFlU/dLzNMTgjHLHivjbQVK4+mH4XVnqfYXmqDIfBRkJ1/ev8p2nRaYZQany2g05FtC5L6nMV8nouqKy9oUhpa2j1lHhCEYZ7MXEF75t/10RmGmDiULuVu7DDa8VAe7CLz0vOdtUxFa9cdAqLlo/MzmAzWPc5HUR/UrgrdHI4fV3xshCB08rAupVQVaUyuxuv5fH4yKGCDx94JZUYvjIyJBG6k07VDiTf5zranHXOQSMrElaFqiEqmhp2KStFOAMAlI4uBw== 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=EU8ZZcGTiF2MKt5h/sTLk6jrz4iLvmXhm9ryUVcqpmI=; b=UwQBeGn+Yu+EZtZzh3G7yVdkCzW5PsJdfDyrhnJdVcmBwFeEU8qGMmbMHnmanI5im+W2LE+v5y2n9apr8kRtoLvbnl12tT9ixyitMDBgFTkY7nnqyRlMadpn3dhnphdGE2XZPuzpisQUjNil/U828gYT/sNRDI7wzrc0T6zWo+lK75AmIkK0v7NjDx0C1Klg4jJhQGhV4JA3cXwakKsv3Q6JOO46LEDxGq5+Wkg/ckEbE6CLIcr3Fm7GQMeVdfEtXnrjzFK6Es0XBYs1lIiIPpDLT8O4+lJrhmFGv0g9fgiT9EDvkAmkk6yv+F0oILDS0100kX+6yLT4uUMVyi3TBQ== 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=EU8ZZcGTiF2MKt5h/sTLk6jrz4iLvmXhm9ryUVcqpmI=; b=cL4o4TIdbgajObwIU5sqCAVowpdxGEpUfEsz93PxbeAdb9xZdx14EtQa2l1sLppb6Kx2D/5O7xFh+IdxOQfmtrNp+rmMH6Cga62IuVtwVBHx2pWgLaFxC4EifwPBwU4DrqsaTEFk7dLiKc3lyX6J66TcJwjl2jgWZPfqpoSGrIY= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4763.namprd10.prod.outlook.com (2603:10b6:806:117::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Tue, 28 Feb 2023 13:03: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%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:03:10 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Philipp Zabel , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 10/20] reset: mchp: sparx5: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:02:05 +0000 Message-Id: <20230228130215.289081-11-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P265CA0247.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:350::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_|SA2PR10MB4763:EE_ X-MS-Office365-Filtering-Correlation-Id: 01aea1e6-0272-4749-b8c8-08db198c2480 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +kxQK0BJnuXEckCmXNI5RbSDcUgse2YLNZciRmGWtkI6f94lk+GFUaQkPWvBOr0s4kSXp7KW/g3Md+5id1UDLClvB7rGlsHNwuRfe4NzVcsJCog91KbJ/W4INhYBtc1wcnUy3KoQ1PKrVQ9iRZE6RFovH9rhGst2b1neC7W5SStWY2XFvhFQLmUoaUWGdHbSI1BmOBsGUfFrBisGMJXlAeSzv9/jQEFqsAA8/2J/ag5r235JpyduWyZAV/3XH00NUZztaM7x+veSXGwCa8HYCDeHZ3JE0uxRHXFFO+DOkQbKH1ACxwEvTW3zNH12Lc5jtynVCz+XRJnvWhKv/nOTvcGou61c/uXZxDv7NpOD+53hpQlEfi43W6tKYVULvnNyBL71MIAp5eanAzSPgcPTIxG5QEMs//iXTK+94nlXB+0vx7Abq7uqSYeqqtBgMmtVagNcLCraoqUTWoymt1HkPivRqpFPBmK3nGcNEbjzAq4icYr5vrGIQdTeik8W7TsmjPEQXtHwaX/kxc1OpzHEe8ldW4TXZu0h3G9qfMs6FDXDCbwv+akdZck1VVn7Ch3G1986IBOTVrvtZ/s+WT0By/0WVO2Z4ByStK+6DUu7EbFSfIkFGl8ic4HUKtKeXv0SdiFxrNbg7qo5WOQjSTUyHw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(136003)(376002)(396003)(346002)(451199018)(66946007)(6506007)(66476007)(66556008)(6666004)(316002)(6512007)(1076003)(186003)(54906003)(2906002)(478600001)(86362001)(6486002)(36756003)(83380400001)(5660300002)(44832011)(41300700001)(7416002)(8936002)(8676002)(6916009)(4326008)(2616005)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qoKXDVncMevpWOfjYjwgb6UmJvu0jpwwzOvKjiU1Q6NOy0bX4s2SEbRu3pSqtWiVzVxUq0mrzmGUT3XVUwGiDjayaH8l7shqQysu9dXU0MdS2zn4u8Ha+RsYZZJWXHByF00fgnivCOPCOUoZxFHfbwSbIJnODOu8S5twnwOXrA4S7C1aOifND0w1pZur8Jk98apiDExOu4VcEnLmZrqZjWCv97Srd+ROn6iQSRgecL4Cpp8syVnY88cUoA/ZZWJMXpukctYQtgdh+HDui9sNAUVsr6sSjVSqYNnWf/MkEaFpEX5tqQ3rQp+tivHdQCK861QtKrtZlHkFcUN9rbbHAnFy2VdFXqQl7Jg9Ru9dw0CWITYff7nUFMEMIuh1x3AQmypmiWX5t9f7LAL/ggCdF13GXhP29H2uus/PggHjNbACCFYVkmvwaEyD2t1HtI0QgNy0OADN9E0L4Hj3R1C++udQA0KOyHfzNRdY98OJdsIP45+j+KCq4JpW9H0KfKIFu/qOgT0x1MjJ1o+ZwvcCqzSRu+e5IwH8OSkQLKHO+q+nA3uTEBtTreor2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-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: utfSj//47acY/jKNMh+MMhjLjjvOIF8y4VuUhw3i8QgOQXjpbObtSPLRaTeCwwmYHZvKY14xZEpMMq1YIcHu+BUXxqaC+u5eeSF/3B/LXXTUK3Dh6x2hUMKSEKoDE78EyOUDXML4axHVyd1YGL3pYWw16pwcv+YITUT+RHwuWnRoZUzwFWDSXJ23NRbqeQvbKJmqKSMR+djvnrWeLdRuGvR9xTqDCqdXwSEDJwgcjsAysoE5PVFZ+UlNG6hVTn+IpOSK31WALctX7UMnxBcLfMJ5puahhoyAed/n8I3XcBbY9Hucwu56JnACtwikJMLjytwF039IZMb5tXerAmzq6rib82XyYFj6Me6VXjn6LI/QLfVSD63FzdQ5Cd4vXBJZIJrUhLRkdvaJZBx+nOqjHQlZvEKsgqLQlNM/Q6tXi4li52XJW/seoaH/pBkFHfkP/8b/YlkJXekUhKF8/fVJvB5QlmQqdZ+Q18lgcdJ1wBQ6dnB338YE36loMkwknabg1rK5F0xoingHaz1YM91/SuhE84lsWHnlQtbLeBWR5I16slWnxs8jCEW3wB73dQ9j5oexwtIVjs84i7YG159xsCO0G0uO0BaqMlK7xsfFqx7eRa4eoftzweiC0fgMZq0AXiskWTeukauwRcigjTr6DZ9ep5LHT5BCK/HObcA6egNtyFv6DA3AtzjEgh8haTKu0MhKHhzE+vld31EXX5FHiKx5+chIjxnEkSedjnkmVkr7ygbu4zWcCfcgvFPP49srpMYgrW2qqvfBk5/Ss/JKREuFE+7eJN2D9PCnDawJUHnp3fE/V7a+eP+jWfSwHD6I1h6rlWc0jIQaM7F44m/pxmX2ukoztxIzgiJgmNAud3VnZLHE+3K4nHgejB4gEesSIearRjnUfAu0okVkKVsQ9lzmy8QxJWgxaKoXhSruVPUfWpt9ayWeeNhmf7IK2HxBh9FDhXeyqrlQqrdzStt80g== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 01aea1e6-0272-4749-b8c8-08db198c2480 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:03:10.2995 (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: 68F2pGtPbBpC3kfRRujbEWftNh3z/axPwaxPEP2i8U2S7p35luQt4CvwB4EjN10fCgol7MC0Tu25kAt9I4yozw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4763 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 malwarescore=0 mlxlogscore=999 phishscore=0 spamscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280106 X-Proofpoint-GUID: o2WfAXjyU3TX5aK7E62YpEcM2sxsEQRX X-Proofpoint-ORIG-GUID: o2WfAXjyU3TX5aK7E62YpEcM2sxsEQRX 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: Philipp Zabel Cc: Lars Povlsen Cc: Steen Hegelund Cc: Daniel Machon Cc: UNGLinuxDriver@microchip.com Cc: linux-arm-kernel@lists.infradead.org Reviewed-by: Steen Hegelund --- drivers/reset/reset-microchip-sparx5.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/reset/reset-microchip-sparx5.c b/drivers/reset/reset-microchip-sparx5.c index f3528dd1d084e..ead25942061d2 100644 --- a/drivers/reset/reset-microchip-sparx5.c +++ b/drivers/reset/reset-microchip-sparx5.c @@ -179,4 +179,3 @@ postcore_initcall(mchp_sparx5_reset_init); MODULE_DESCRIPTION("Microchip Sparx5 switch reset driver"); MODULE_AUTHOR("Steen Hegelund "); -MODULE_LICENSE("Dual MIT/GPL"); From patchwork Tue Feb 28 13:02: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: 13154951 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 13B1EC64ED6 for ; Tue, 28 Feb 2023 14:16:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229800AbjB1OQt (ORCPT ); Tue, 28 Feb 2023 09:16:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbjB1OQs (ORCPT ); Tue, 28 Feb 2023 09:16:48 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93B40303F1; Tue, 28 Feb 2023 06:16:47 -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 31S699uc015567; Tue, 28 Feb 2023 13:03:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=k3VoSFFXACdl6eeQw83tcfL6q0OiW9Rd2VN2dKn45Cc=; b=FqDgJCYL4jBSSPSSwa8LXEtUJ0rANV8tjEj6Z9flp7Q6NhOOL+hpgY3pbJJf77g5IXwT l6Z8e/5h/EcFoGzK72TCSPpJKhJwNC8/2CQauRyza61g0yLhVA63t6+xhqOmy5sg6Lgy xyWZ6UkhBmM04X/2aiCnQVjBmA+MLvnF2YR8MrnXUfdAlY5cCJ/R2wli6aMH+x18Aegj 8F0IVG8yTCuHfH5UEZDPXRpW2CXvKhvM7+7Hz3vYnVx7PUr9GU+7ko6j3IWWoP9XYZo9 WgLWtVoOx08jOqGMsjnYGtQB3ndGVcsb+ygXtvyRawlV/3JjH1QnoiWGtrLOu5A0Qd4z pA== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nybakp6cy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:17 +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 31SB61G7031525; Tue, 28 Feb 2023 13:03:16 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2047.outbound.protection.outlook.com [104.47.74.47]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8sdh7qm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XlItZKZ1C+hlBYgiTRT9/u8JQzCiB61hNawiGVuFBM+Q9ikBVctjKDKTnkXkQvMUfBIvF9PEhYX3thTGVXtzg7exuUM2szNB8H81eoQH8kEaBG/PqewxIWME4HcXULxw0kwKGxlpQIC9Wds2UyDGoHymZ7lFzNaWHx8c1fUechcFWn8w/ieoYkCA+CdhVBqbsNxGKc86kO7QKQ8KtwcFAmEEkNIa4666BuvbA8rxk21dZ3AkTYJAwxPPdJv0d0FRB/XcAuGqq83Odc9ohzfAJ2rSMGIMaGhGrnN/jBG5Td+8IKR6Q9VsoNe8RtGp/3OiRwvw7mca9TbzLJhCT6WW2g== 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=k3VoSFFXACdl6eeQw83tcfL6q0OiW9Rd2VN2dKn45Cc=; b=CV/KOob5K6fvf0cLPjl0EC6AtXUqVqEjPNEEm/y7MwpECTLIeysISO66OLzuzP3Kx0dr9OoVy/qO2mSioAcccniR2UBV9fYTvt3Bn4OarjHyqwDRCJdfMBuRGebCeLiXoWLnunkTpzHfGcP/zrmSISmjJIP2fBtScJeeYOf5lc89fn3SYJFSpJmOnb9oNbBh6Lt6lzK+lYKW46R9TlA7zz2aYJgpvBfsg8V6eVJIe0cpYi+1zTnkSpIwn0um6vL2Qb0g90rcklLL+oNVaMMyPs/lMbKSS7JGsiFFVXjm/0sX6F/YZH5WMnE/L7Tfd8my9PId3hY5x8kMg3dLf5/ldA== 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=k3VoSFFXACdl6eeQw83tcfL6q0OiW9Rd2VN2dKn45Cc=; b=mA/iJ6NSFlzJMzdDVEjKhk5GyTyee/fv77jjwgToYwHIWBoX2hbFrOCrgZbL0Abx3NH6zW3qVyDVFDo1VeqSd+2BhRy2MDdyunJgL3yrRe3zMIDKlInai5ivSzQeANLZf7vguWczRh7JX4nIvdaPVI4bX8W3fS9xTtqgkrznkIc= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4763.namprd10.prod.outlook.com (2603:10b6:806:117::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Tue, 28 Feb 2023 13:03: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%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:03:14 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Philipp Zabel Subject: [PATCH 11/20] reset: lantiq: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:02:06 +0000 Message-Id: <20230228130215.289081-12-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0450.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::30) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|SA2PR10MB4763:EE_ X-MS-Office365-Filtering-Correlation-Id: 9961f56f-d85e-4373-19cb-08db198c2733 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4H0hTQJHQNzfUKjeMd4xKTBGMrP8AyifVPowYfXBKR9D+c+IM0UJYtLE1481+oz9/dF3EElCyQkdn78XQB0gDY9Ni+Pg7V9tuicGZRO07P+ERoStudfpx1c1qr59cHS/SJK76/DPRlVYXDnCYTfbGNwKbBefmAKSC+/5Xv6sCHTAA6+Jbes5gxsfNdib2LjVJ7Z3MAidJSsmHytxNUUGJ9sI7uV7q6SFcCz/VjeTY7+svsCwYo/MAJrw3y01HmRlsQXguthg5MLikIaqO8fLgpQw9yEdEUkDHIiSBYHKqdP3ZFc2P0ZTWbHUackmopIOnaKk64zdqUeY6SGQRI6sh6oHVmdoonJFi742rBZkIF2P9zNkcqELK9DO3UWJXVSD1e1IFCQxzw7PVXvBzfqoYdZOD7fiqwFsqHvX/iM/OHkTak3DvPzSiGmtBJQsbD7N6vdhQBi4PKGyZRfZ/Pqu2NYzLFfDbK+rLCiX93zB0I9UxERvxhoEj0k7AgbCuphpZURQeMCjz70b/lTajfNNYIdB0XkLak19c/UKR/FmL8jpG9KBb3VMnwV3AmbWfEUdV8a7xR0ngOZ1uXHOG3mqu68ueu5uSEM2BKCwUtf4Ft9xNt5C9M2zqjpqQwV+A8DAFMTn/BpZlEC7VVuq4GcA3Q== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(136003)(376002)(396003)(346002)(451199018)(66946007)(6506007)(66476007)(66556008)(6666004)(316002)(6512007)(1076003)(186003)(54906003)(2906002)(478600001)(86362001)(6486002)(36756003)(83380400001)(5660300002)(44832011)(41300700001)(8936002)(8676002)(6916009)(4326008)(2616005)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +4HO0OeRk6EnVDMA6k6PRWD1Z8CtxXO8Syihr+FtEv6DZlsU8n5Ej/8uRGERQH9dPBrC7XPcjmst7nF8kcKWO6Q6vVeFoQ9l10VUZhTEPvGL0jBlcGR5qVhjzMvZBzyYSODVNSNR0BoMg1LDGruL5vgiWRSum1RSKsqxrUZAiMr26LmzeF5Ifiu5U2qiyeJNAOv3xwEu6wOGsKg/fRFWNRboo2A98m30mO7c6+fZHBMALSA5YThq/AZ+XsFi8ku7YXZYuN7JPgMoNZBowuq5bx+3TZ7Z5NRTDWRk11Q7tLoPQNSO6UYUIvo4QXMmklDWkyysjayw3tgVioi26tejpjifQbNT6DLPPZU/TicuZIwfdMaustOGIRL6Lx7tg6fCAidWMVPe2cTTsoqlp60JKswvI+RX1C3zr7jQYSgun3zCvalf3OpGE/6e5+BJ4Z5unHeD3ogbfL7RLE7UvP828kKZa7d28VxwFx/FIr5d1is8MdXHn/UvSCzvVCO/KwvEHVPo55HfJb5gUlC+QF0lt07B6HmOwg5eNPbMY9z3lG2dMh1lKYxuhK9Vf5SYOdp60Dw0l+z3TbuI76B6/QU551Cb5uv+6uaFVdOP5h3S7TZv3Uds3FUAttLL0/sd+E1IvstwEkw1rmWVKHbfRR5YnwuLk7ctpWqlEhpgpAAOVk1yW9OUYfeBHpJ+OKAtHz8pdsRjkGpr8XRCi9sLj59UQp/JhNi7+wQxxr737TIRvf8s2cXuXppQJQ4lSxZ0Y1lnYbkl6QD2N0WzeUqkeDSSPVE88q3cp/rYShhS+RAgE0zEVVMuH8nNPZImK5oGP5zqkKLQ38fw8uhnr2A3cBPxj6vEzRJAyMIsWb8NBkSzTym1XqU7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9UdffdzBgFQyb5z4OxjP3BvBkiNRsP2hOuhH73iaujUcgtTU1CU7VfSSkv7n8ig6/8uAtpKtVvdPnRdRbD61h8WoLGOLI/12t1/IxUA9GYwo0Fgjh/AJVhFQJ0k40ZEsURATHXjKMhBAjY/miRCv6EXxRlYdPpOefdtX/c51VR/ViyzVqyTFGbZA8LqLvAlBrfNROHrUs/Rt0thxsSESe6nCbW6v3zyHxe7JIkp86LlWUseXQngMI+Sw3msUjwh5MCZ3ncKGI7e3zVjFDRLa5srXsQ7WlwpBrUNimdYVVtTxjqYYE5egdjwGLdKfiy0+5c253lKSkfJOtGZNY3URJLr/gFJSpqdz+2uLl7KcFWwSU9iq6gB90Ctr9qZd5AUOCnX7MAup2231FrrQp9NC3odVpcQJKSp6kJxjWggGgZ1z/kJFgMn0FNJcrpKf8n+EueO8rf+TLhZ5rLEaxMHpKS62D4fH88unCm+tqvyMtS5IyVu3Qd2U6UzoFIzDFinQ0EBicxChGfpK7m2uu6hpcvmjbSBA0D+waXyWaxsqT29DVIQ6Rkyr1SZQlhFvuK2t/7+QvqdCHChPbNTqOBbg3de7vMvTQ7AFBcpl8/0ML8kCbnQJChhz8hWTUQnj6XxTmI7EWQ= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9961f56f-d85e-4373-19cb-08db198c2733 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:03:14.8239 (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: ok9F2D1e1Vl4+d02sKvzyiITed1cNPOfm7YNOlEhFNv6LG1Nzs4XqJErXTbBbK5SC8LgYOBn7P1FL8uft8LIkA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4763 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 bulkscore=0 malwarescore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280106 X-Proofpoint-GUID: DReVjHQi8o0LFWof75ZK3UnutscopiFi X-Proofpoint-ORIG-GUID: DReVjHQi8o0LFWof75ZK3UnutscopiFi 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: Philipp Zabel --- drivers/reset/reset-lantiq.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/reset/reset-lantiq.c b/drivers/reset/reset-lantiq.c index b936cfe856413..549ba45d85971 100644 --- a/drivers/reset/reset-lantiq.c +++ b/drivers/reset/reset-lantiq.c @@ -207,4 +207,3 @@ module_platform_driver(lantiq_rcu_reset_driver); MODULE_AUTHOR("Martin Blumenstingl "); MODULE_DESCRIPTION("Lantiq XWAY RCU Reset Controller Driver"); -MODULE_LICENSE("GPL"); From patchwork Tue Feb 28 13:02: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: 13154890 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 41AF7C7EE32 for ; Tue, 28 Feb 2023 13:06:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231280AbjB1NGK (ORCPT ); Tue, 28 Feb 2023 08:06:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231222AbjB1NGI (ORCPT ); Tue, 28 Feb 2023 08:06:08 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 697CD2BEC4; Tue, 28 Feb 2023 05:05:25 -0800 (PST) Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31S5wNYv028403; Tue, 28 Feb 2023 13:03: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=7yho+QcMr7LVNv8Lp055fx0+uzU/j4kwF7WofAvte0E=; b=TeXc4Wl/PomAcz23sfrVuVvpMIyFE/vtJcQyQR9Xm0vYg30vfjlJ+m5dc5A75Ij5xfG+ x8l+SnK+Y4O19JrXis11hgDe5+LbCTur1SQMhZRTAK+p+DHDxqi4qwmuqDPknh7qNfpp 7hsj+QyeOZjiYkcLASuu3TIjwkpVekutK/uSaSz8Uh7FvobM8788qAXSqhuT8/GPPJZr FPLc+D8m2opyvI53WMO7MjWh1OZye9uhV0E9iPvfv8NkKAKhAFwPSxhb4SO7mStGkjBb wnypCBgEBDaAHfeatjpg2LIjIkdot6gQ/tvSZ5EOV3vXGiG8Cn+Mw3xx2JocKWs2MjER 2A== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb72e3qb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:23 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31SCu1pZ013095; Tue, 28 Feb 2023 13:03:22 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2049.outbound.protection.outlook.com [104.47.74.49]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8s6r9a0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hs44Gp6DEqzc2ygJPxNqpaEYkeFqd3OAirzBPFnnzm7oJuN0VKRcSn4v5JDc2gH7hh7kMb/HixPwYiLxADmb5zt+EIC69NfbHxnA0pTFQr4TNT3LZ82eTf+i8GixpntTNTx7Dnn/DorqFZDZ714Py5CIZh5FGDv2rhWkmoBYMeb23isfmVZ4N+rN+taA9wa5dKwJzKDTGilAq9WT/Zu55F+g1MwRKihgk4ZJ/Oi6aWKE3CXdu4xcCe5FQxntuCSaw15O2G+D0mMq+BYgXZMPcnfFLubHzZPznq8ghjgDgMhqUx+yO3rmuEaSB1mACO/Xdkf/uKLTBiCoqKXpbFaV9Q== 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=7yho+QcMr7LVNv8Lp055fx0+uzU/j4kwF7WofAvte0E=; b=WIdiEkXEEBWnpVD8tjKDxHsVpcQzBtad+nYjWMTtQFNkNnNNGg5nYiJjNEdezEzhtz/uK1euOfgTufRSuur1jKwv5MGh5p3cfm3tXotEfbaUxJmHPtPUFsIiXBHRDwlM9L/aDey/wONVTwCJ7u6oeyy1QYDHo8x4tGt5R4ENIMTVUOElWBIsdMGR0donv1hl2IGdD/nbzOon8ayhCDoy3LG+t+P1utooBJo+/Y3bA2Vha6Ahj/liHRjvObp9by/SQFr8LSyr6TJFZgthsgk7ivpnY3v+1mJA/7hRJtVAH3NtDFHq/Rt33ODwz7Jz9bmHUkgH/Gk0rRGzU4OBRcWZRg== 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=7yho+QcMr7LVNv8Lp055fx0+uzU/j4kwF7WofAvte0E=; b=Adp1J7XkRLMTz1OOIZh8Zj4UkLdZb45FGHnEjXlf64dKT6ve7/TxJeQqBukED4atku6N+67m+Wnt+1cUDD97wZIn2Y/9rXs4Kdm/DEBiJZ9Edf+4O4ZmArT3pbJaxCZNvxVu6TwCxKwAZOMHwDACnrXHOMTCCfxFHWL9OJip6fg= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4763.namprd10.prod.outlook.com (2603:10b6:806:117::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Tue, 28 Feb 2023 13:03:20 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:03:19 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Conor Dooley , Daire McNamara , Michael Turquette , Stephen Boyd , linux-riscv@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH 12/20] clk: microchip: mpfs: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:02:07 +0000 Message-Id: <20230228130215.289081-13-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P265CA0243.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:350::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_|SA2PR10MB4763:EE_ X-MS-Office365-Filtering-Correlation-Id: a493fce7-85b3-4575-7ebf-08db198c2a29 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TdSglkgthXaOH5Gxsvc4r1zkzYp1T+hWMDC5b9RNSiyc9A39CtZPu6pdfIjJm6IScfLIN0tsr6a3/ls1OTMZ3Elx37F4xYi3xBpHWoheZi+tbOJ+xU/RsrKLVNYKJjjIs+hQPjTUizX0ulsrs8YLrJ0w1ZL+X3PSpWL9572Oxq/U3K9Qu2mHoOFC+P+HfK12fBh34U0/jb7yxoY/mMgYhHPyPWMMGvNC81THl6tkv5/Ljg0/us5Bg+cAIpR5HmuFZE5RVHoS7F/PcPtPVeJmIwsoA9GliS0kR+3wUEuOECEN6E7PC45Drh0Qg3XymRT9csM8op0MF8RoKkiXxTWXFklkd5I5fc+iPbcSVcEbmoG6CTtaOafEz2o8vg+lPK0bb2QoIyIS923xCgpnuS9Df9bTfalbPwQGp+F+rP94Xk7jTGX6KNZmmMREvnZd4ucNg6bX+egLVn/nbcH6BA3jILijXOZBYrUa/Ul1khEVgi4StaDaqCrCPtzDWqeKdhkFfnszRIMBmoktDLR61gUf9oDeK2M9Z45szi+AU4EEt9kohyJ48ckOGMsjeNVEwXnZKt03GcpiXpodvdxw9SVAlL5ABZ8VbpWM1Ge3O3NGYGvRQuukTQKjzvkNngDODRGEE/+k9aEDb8/CJZd0WeCJLQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(136003)(376002)(396003)(346002)(451199018)(66946007)(6506007)(66476007)(66556008)(6666004)(316002)(6512007)(1076003)(186003)(54906003)(2906002)(478600001)(86362001)(6486002)(36756003)(83380400001)(5660300002)(44832011)(41300700001)(7416002)(8936002)(8676002)(6916009)(4326008)(2616005)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZJob1WcAj9NtiEiyOqkK8jKwM9gVjpbp5Iy5/ce3BzcMzDzCC2lHC08mb83xn6Hnlf3FN7ZVb50DPM7qpAp5VIlNsdnT0ZgXi01TMnrT7421IWJfRLcLigFXy0U8zcTqCDraultvzDRkF8L/9OOOpKFJLvkgX+B1BXjGAsnLQGZ8YCXvj6dJENIGEwgLkyvfpJIqV/PFiYNLXd7mOmdbFaB2ePjIfLNjsmo+aoFo8H6qmLb6hJdNzhU22hhN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LdNWuO8mE2dyIARiuByDfq6voddBxF3SIZpfk61PTHUhl5Fxa96DLzqDF96bm9v5y71ujS6CuM8IqAU44jx8DdCc2+P0yBgCtYlQ4IQCC33dFuFKJzKzxMoA6SyWJnUa5OmY0w3TT4PGdylffLovZvAR82yF3tK+SmgQQaVdgroxcCkM9geZpjlX+dzNmMRdA9A+mKf7xuDHOVjDcvCppq/lN4PYZk8iCYHH77w8e5cgwqMIWsUEHmLStiPD4D46VhASWoetb36h/djBnP/Po1qDVz X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: a493fce7-85b3-4575-7ebf-08db198c2a29 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:03:19.8254 (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: h3pq4gMshtsP4iQkflMZoV4lh2snILiFXzd5nuZnWLeZqoyg1dbKu1iublGSmE4ZlhyjZUI5E3QiJYGcfJxerw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4763 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 spamscore=0 mlxscore=0 phishscore=0 suspectscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280106 X-Proofpoint-ORIG-GUID: FQJGMxjAaRUMUeIeUVnF5dgh85Jne6c0 X-Proofpoint-GUID: FQJGMxjAaRUMUeIeUVnF5dgh85Jne6c0 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: Conor Dooley Cc: Daire McNamara Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-riscv@lists.infradead.org Cc: linux-clk@vger.kernel.org Reviewed-by: Conor Dooley --- drivers/clk/microchip/clk-mpfs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/microchip/clk-mpfs.c b/drivers/clk/microchip/clk-mpfs.c index 4f0a19db7ed74..d85b345f4c08d 100644 --- a/drivers/clk/microchip/clk-mpfs.c +++ b/drivers/clk/microchip/clk-mpfs.c @@ -513,4 +513,3 @@ MODULE_DESCRIPTION("Microchip PolarFire SoC Clock Driver"); MODULE_AUTHOR("Padmarao Begari "); MODULE_AUTHOR("Daire McNamara "); MODULE_AUTHOR("Conor Dooley "); -MODULE_LICENSE("GPL"); From patchwork Tue Feb 28 13:02: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: 13154889 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 B9CBBC7EE2E for ; Tue, 28 Feb 2023 13:06:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231357AbjB1NGJ (ORCPT ); Tue, 28 Feb 2023 08:06:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231184AbjB1NGH (ORCPT ); Tue, 28 Feb 2023 08:06:07 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB39F2B2A9; Tue, 28 Feb 2023 05:05:22 -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 31S5sKxm010726; Tue, 28 Feb 2023 13:03: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=CIVTfAFGn5HUXVmasHBvfbZs2Qds44YyqnqNSJz9+jU=; b=Cd7JctBP/KRNfCm+7KBHN65WwTZsopdlrlcfH5Cg6MWAwrS4k0/Kuy1mZkBxq8DRDXNp bmdpfmpfgEHwat4KbmHQFRtSq3oPzLjNfQdXn6TAio0uLfxzPu6oj/IIsjix+Sx5Yq2M bcK7Cvl21Egji9oRdDpNgX+hqMHMtkDa41rNIXg4jabIA/cPBK5XLawJrG4kecNkU3dm Ivnp9KN9jXcFhSKO0kokhc9pfJIarYUoAkyMsTb3GiR5l9wBVL2alDkZ57SH+keasMI1 tsyjmOrfUKn9V79Uj0eQWSnv0XzNFfbC/9nzpIZXGeOsG8+vjIBrXuuLwioZq64aZwuI YQ== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb6ee61b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:27 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31SBontM015946; Tue, 28 Feb 2023 13:03:26 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2100.outbound.protection.outlook.com [104.47.58.100]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8s71nss-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lSNjlTJId6CKGrcQT72rj5hCgiuS59cnlq0HhwPA/zPwwIGSmaGaWDljTqApwR0kKgsjhYMJetAEQPSOks9Q93xFs5vlVPn7cyscOVCihRfk1bfM9F+s3S6EXX+4vdcThidF34fSza4XJ0mw3vY53mIZw6FFi4oiOX+JysyHtp0J4m91YfNMLMwKsKyAWkt6v4M2mMyxShFSms0o9I0W6h8QMlj0tj8EwyoAgM931t20CHCASTgUNxNfkJqIf/PRO8a+jgPxqwym3j7Y6eZv1uAgUWDesz0myPAsr075p7Zwtk6+VEGSnooBkrICfKJGSJCFD4yDs9UHMqCR2kBcmw== 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=CIVTfAFGn5HUXVmasHBvfbZs2Qds44YyqnqNSJz9+jU=; b=VOeVoP4wjsB23/EPkIgywVp1/wEvnKZrBR3T+B2lViNLRA/eHfMtR6ZLOwRfeKxbPGr4iYQKMRoyyS9pPYqxko3z4Vl8AK7P17EJWDIFV9Peyx9oqZXTqJxy8bYYhkVpQ39ovHl4wYmQMoMTC/5XseccU5TeNBL/7FHBDRqnU5zNQeaFMJo7vRYdWPoIUZzdenpVcPcS3KJssMBq6XX/VXyliC+zrxNDr6jE0m4N4FL0lpI+wsWoBz1kcsDnePIyritMc1149raUrEsUX/USOtqDJ7QuZDDUWRQA6r5uttFsmzaocvjUq+stPsJKLdZUcMFgqwUsT8bH+de9PgnidA== 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=CIVTfAFGn5HUXVmasHBvfbZs2Qds44YyqnqNSJz9+jU=; b=CKLCfi6BY8H39zHUPv6bf8ERUFZlpy5se+akbVplKUyCuy91Br/+Sz68D+7ofeqYmTpP2yqfn1F4j1ut9Cbao0VgZTjU36KW4bgT4mLXmojFc+HkIa2AXYH0QxHLFDo8TBz8PeynsDdM/mIb/mE7RS6h2NQR0oRVDP1cd294uKw= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4763.namprd10.prod.outlook.com (2603:10b6:806:117::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Tue, 28 Feb 2023 13:03: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%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:03:24 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Conor Dooley , Daire McNamara , Philipp Zabel , linux-riscv@lists.infradead.org Subject: [PATCH 13/20] reset: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:02:08 +0000 Message-Id: <20230228130215.289081-14-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO6P123CA0059.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:310::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_|SA2PR10MB4763:EE_ X-MS-Office365-Filtering-Correlation-Id: 74385189-1469-421b-0654-08db198c2d08 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ny8hCTdmROxmGUGysPA6qTo8smQT9TiRSmP3sOAHYSpGwYSMk3/vIO4JSaZNWqARqfIyipiZWGWeZ0kVdBkHRYxmrzhEnFIc+82Zrk69DakrkWUnH7LqWAa53JGLLWwAoPbjRu99n6QdKa0JL6AuxNYqgGO24+KTAAuvZskhaygzF0gqinVU9ZPz7ex38k0b/toCInijdr8mI8RXngt37t4kKwnYCLn+u6TyUcoek5awgW/3+vsk8qb9Vp5TQj1bG9FBT0x20Sj55pcm8KetP3cooiFWnSweoEum3C3BDpsrhBLyEGSPSl0XN9nFQwFgCry8FYU5rfvrNiZ9gj18gguTx52Vz/A3URhjn/98tGt00MbFrpLP/IViN37jPfam99Bazz4Y+0D8WMU4cA52bp538jG9VlgQEMmPjyM/QxCJH2vJKNNcvy1q0fUPNZO2QRf/B6x0K9ICJtIyWp+HoVy+p4Gz7MHaqTfHKM1mF5C/7uexXGXGu413QSgwNzmO3d1Unh4RABPsCO2onn780jbyMdeE9KtJfifLR/8ROpdhG6Uo1xurQ3EGXdQswiyPT5JC9zegdY+vjefZgI2glv0Lgtw5fV8MmByU8yHdZzCjmGtcbw0sm7I6cmDEiaxLhrZ8/1UNGkxIPxooAak5IA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(136003)(376002)(396003)(346002)(451199018)(66946007)(6506007)(66476007)(66556008)(6666004)(316002)(6512007)(1076003)(186003)(54906003)(2906002)(478600001)(86362001)(6486002)(36756003)(83380400001)(5660300002)(44832011)(41300700001)(8936002)(8676002)(6916009)(4326008)(2616005)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: lH3jhIos+PtSNKZwabMaJHXPurXet3zi/dOXOIw3KpCR23B6t3QoBxFTF3ndbTouduQ1MoZETIB3LMO4lWjN0aON2pXz8N2nLkDn7VjQb969QttpAGC/HQpDzVVEvk+ULuQKFtum8kpfsDleO6OD4Ig7OQNsJQB/mVCN0gjyudBPLfN18kGJKia9fFnAZuGdO+F5oFBoi5TSke6tFZ9m48UHgfpKz8M7eIPZsU2dz0lp1pl0c/ZNipwwJuhluX+lOFxIGnH5z+S4Zo104DyMX+LzpJS1L6Nmxqg7qDoygUrrHuULe0QxfCysR1DxhgRHJ2arH20zLm11450Vu5lwwATbimOcmEVVLpUe6RpaxkTktUFsMjH5sm9+mvS27bzq9s38gkBjYgNITbiEsrI237vnrcuQYQwvhM7Ud4C1EvjRvrOmxnAJTuwvxtkMl2zMSjgvRoAwHln5HKeSQPuZ51TM4dGlnqaKi9g+kFKeoCC2u1bdL4KxnUsCeP+8MAoJqv06j7Vovb9wsUL/Nn/HzE6n384tGaMM5kVpep9REAQFGoX+AOThEgkaBC5W6ToIOh15mnk9QbEvs+Rn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ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: XgAzMZSpEQ44sy6Rc1EcKtwsYT0nwWfX9Qo7elhXqQAQsA8+RljqiVq569izq+LzINbSJYQNa6PItd5wCs1sraecMbj9dr7tZyeKO7eVNqdmmQHyDwuSiIw996YmtR5zAGYegKxhdpfCicXeDEVkUL7UZckaPq7ArWuKlbLzPp/benkztl/Dn2TrUjo+O3gctzJ95a1QMjXaDvz8sJE+qwhCToxSzCbVCFJHrNBnJ/gQEVHmKKt2EK0yL5YzrlPEQlA6LT+xqkZY+08hHEyBMryMjKJppe1f17bgs5PlX1O75c3rPS8RF7sQEJTXixGuZu43slRn89LhPXyaKacZ68RAIzu5JynNEW5y/PXAysfwzeMjm4HEfdyIHVgjZuHSV9oA5L5D4Fzwa9Unv/zHEybzyp3+XxBqCmaA6v0n2sv1ujThpeEjgKBjZYTnAG/Lt4cF4vkayg1DZXv7MJzt6jL4rNqB0KaWlXHFYrRKCu5hN4sy8ymfrx5tM/WAp9wpyhKpvWUAGvAy/A7grTMxp5nDicrWQlO/OOs3BIEOAciwsbCSlhDdnA+Ps8019WOjxsCGWwGYeE3KYehAeG96RyeoUZb+9iHHsy9w5+gJ/jqgjB66iLsDevwIgbb1/tBzT1pJnW6dVMIa/6ZDKO5d7/6qUSMeoCvm7nhL+UTKSLMFVCGeInqEWsXwYDukGxa3dNHIlmQGEgLzUecfRHpvEuCEBGUK3vpDFPqOzeBB8zNTF0NyZVWSnYFtqwrV6e92ytGLJlVNUt5jMocvb+Ms7ivruGWrOn5wk697uVRmAIYoLxChu4CHWC2TJDy6KkRPKFAJllq/qvTky1YLbPLMrcSnO9mKz/tz20jquVCHrOOZYBhIh912ka6akmQDPXx4N0isT927Z9tOSWGTn2jv/9qtYpevDz3ReSmEBnphj2Bzk6vKN6qEHPA2tD03ugZnpXxXDIiI2lcBoUo1kNUIYw== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 74385189-1469-421b-0654-08db198c2d08 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:03:24.6236 (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: WbwYMmeXjJh0yJ07ALBNe31FCJa+DamuEwn7xCV/8nm4LMN0lcfpJf/m5AL/dNrJj1VJ+9jcftLiMRD35UPGZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4763 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 phishscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280106 X-Proofpoint-ORIG-GUID: lP6NQNftXvaEzce6zQ-HYUC-daaksPOC X-Proofpoint-GUID: lP6NQNftXvaEzce6zQ-HYUC-daaksPOC 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: Conor Dooley Cc: Daire McNamara Cc: Philipp Zabel Cc: linux-riscv@lists.infradead.org Reviewed-by: Conor Dooley --- drivers/reset/reset-mpfs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/reset/reset-mpfs.c b/drivers/reset/reset-mpfs.c index e003e50590ec5..e71ab73092abd 100644 --- a/drivers/reset/reset-mpfs.c +++ b/drivers/reset/reset-mpfs.c @@ -153,5 +153,4 @@ module_auxiliary_driver(mpfs_reset_driver); MODULE_DESCRIPTION("Microchip PolarFire SoC Reset Driver"); MODULE_AUTHOR("Conor Dooley "); -MODULE_LICENSE("GPL"); MODULE_IMPORT_NS(MCHP_CLK_MPFS); From patchwork Tue Feb 28 13:02: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: 13154940 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 4438AC64EC7 for ; Tue, 28 Feb 2023 14:05:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229750AbjB1OFQ (ORCPT ); Tue, 28 Feb 2023 09:05:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjB1OFP (ORCPT ); Tue, 28 Feb 2023 09:05:15 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97F57302AE; Tue, 28 Feb 2023 06:05:14 -0800 (PST) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31S6AmYK015577; Tue, 28 Feb 2023 13:03:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=UFWKlYew+b3qB1pJ+/mpDLsrrSd3bvPfifDKdvQ5k/Q=; b=BAwjex2bXTd3t4nNokoHS1YqofYyKAcdiGipPu8LuvoTNYKvRBkfGbIBqJsSRXEyCe+l eZ5+FoMMF7Fl4aERTCc+mCmolgx9vuQ8QkCYByeo+/5FIdNSLDuMXA6HoN5N74rHkgPQ hNhy9dPk/nUI3CjHYCS32dslrwl+MDhuzYIiJF688dRyPv6Cwr46o1qkQ3nSrWtM4dp6 f//cVtpnQui3uUJDrtdNOPACaQeZtFNbvkBYxpiqKWnVJv71FeDXSv4dMXkXSGR7WwD0 QKiCq9KfHDA502gQCFn0DiHgLMM/dN/6X2nAcaGsjkIcWPBj3Om0AkdbhDoAukslR7z+ Wg== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nybakp6da-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:32 +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 31SAkHVT013164; Tue, 28 Feb 2023 13:03:31 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2107.outbound.protection.outlook.com [104.47.58.107]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8s6r9g4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VUPg6Dj3Q/pO5tUyisAaWOI86Szsb6OCfzWJBF+fP+OaSzsOcjnvrLnH4nVgE2ZaHeWeheGBQsoaaV8LedMel+x/piMe17psBKNIs/a+kRuMqABXjla6MhHgaE5iXWArILfg/S0Wnyi9j5ZzvL/K/lZzNrCp3mMNP5eQELyWH1T3hN4fWP+54/2S3Ga0VR2eeP29CCENh9JWxtKgyA8y8vhAruscZOv3Y0Q3bFqCJH+lqfGLd+DPBAkA2/Y5qmb+fmPawumVMpv7DuFW7cZEzg76PJ9L2jC9RoYyX1cUnOeRp9/gYpr4O9MhgAIJsWpmayPnCHwPVtId/E99UF3vPA== 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=UFWKlYew+b3qB1pJ+/mpDLsrrSd3bvPfifDKdvQ5k/Q=; b=mpLzrPm9mGAG2FUY02kLyg5Z3aR3ztgXF3M+s6/IHvXqzaZGYLEX9i7oHVCRmeFTKXDjAYYVGRVK+xKBJeVedK3Wjm4n2i7qSP2zpbkUVz4z0OUgL4ORrbzecw5nhq9F/5tCMbcgrftETSdSdUiXoBATpVhvMnyj+s5CQ44dcXn4DITTh7vIjZSvR9mh6ghxsOUcfUbsKFKczoWB9Elj9H00q70aPLS+a+A713xSU/ihUL8cKlOlJc19dTGa8E9yqDdXlyJfQ1kO8zcwqb51uMk1qlD2Mvnuw/0qIh4XXGj3wI1/ma/J6WqWWwu/G6RsKt27pU8AG09JBEJbGWC/9Q== 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=UFWKlYew+b3qB1pJ+/mpDLsrrSd3bvPfifDKdvQ5k/Q=; b=M7gZrwB3m5YQmLnVuaUOM1zrtpbvq4zS39Pqc0St+wb7fbQxP8v/sjflEst2dgcrM5hwDG7scJKcJnTCsh/5H/f8kkogrJoPbhZf4pKjcLwoBtCGQ56t1V2hU7eJLBZF43nAPrqvq6alOyKvfegooGyIhhliuMSr46MFy4FUG3I= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4763.namprd10.prod.outlook.com (2603:10b6:806:117::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Tue, 28 Feb 2023 13:03: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%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:03:29 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Daniel Bristot de Oliveira , Steven Rostedt , Masami Hiramatsu , linux-trace-devel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Subject: [PATCH 14/20] rv/reactor: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:02:09 +0000 Message-Id: <20230228130215.289081-15-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P265CA0091.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2bc::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_|SA2PR10MB4763:EE_ X-MS-Office365-Filtering-Correlation-Id: 57f468a8-8abe-4a9d-5719-08db198c2fc2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lK18xS0xqi1Zrdp+W5mfBskY4bGg8DozMlFXDz7Kt4rb0WdAA3NVMfQ1nL8PSQbZfza9Lk+l32jw+PYMpBvnBmVEcmOfaAUJQG6FcSSK/9aLu8mmeW9sg99RNLvib9W5KI20eteHeht2aeGuuHYqDsL6DMnsGQ0FcfIitAOm9tx3a3NN2NXDUfTUXOsxKgDMZ6GAXug4jfwuGYLdBUmhhBH21ND8U3FTA8KtdHDvRGmPEWe7sDPgi/NUaUVPAQ0Bh2QoVrWVuAlnS0Q0ahFF1oM0xZap7HmAPiDuTKlfxhMw/zpxcB2HiA0Lnr3M4AiAtihhLWMIxe75noOZWSzS6lHo+CsdsjUExxGr7Qo0sqnJxgUKH7GIukEwp3bQ1vkIXZiFf35m1puLgQZhJKQKAaMWVHOa4jyDMKpLgDh5+PKrZTS9ozDDRXBD1tXOCo+yXVH8TbMHKr9xyr4KE3L2CM+zKWi+gQhhn4u5y+wigcS+HAQ0LCihZ2xFntz++pIdSUrq+j8R9mUy7Pu/+0KFXQrvx+I9dgODP3GVxsoF/e3lBxbjhU7jLGNP69UjTx1CJsZARXhY78eg7ZquELPc4P+zdM6DLRyVp+nZp8Deiq5MSZOPMmm4pRqzXXSutD1FFID6BJOXdgm88RjCL3Z9Gw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(136003)(376002)(396003)(346002)(451199018)(66946007)(6506007)(66476007)(66556008)(6666004)(316002)(6512007)(1076003)(186003)(54906003)(2906002)(478600001)(86362001)(6486002)(36756003)(83380400001)(5660300002)(44832011)(41300700001)(8936002)(8676002)(6916009)(4326008)(2616005)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: syr5HErA10qT0nGE4EFxfs3Jn5ts3JsMA5GLrtPuw2AISDKdPNny1Dk3aSWMR8y5fDeLb9ToE1xgEdRV9tu2OpFG+nqvkNURI/AlQQFcIq1Hw9KIbdj9rR8xe6eHPMoe9tciaZ4WceGlUlZyoyuvbyOzAD9mhYBjqBpPe1JBstB2oXvzcALjzmHeMQS7BW+gI8X4IG3SAZAvsnfAZ/etIajnlPUQRBgprO4zw43juCvDxxftPqNYjFumDs5wLLDK2RemPzb1/pxWxkZekeoCFjMpIx+nDo2E+CoAu6BUt0CyrCIAK1TooxI/VyTtpUnIX1+g3vLbJ+WukCgSDtpRvMvq3uGA/KAm83FGfYS+YsKdlTY2akJCBhQFtZzuggby7kK2LuMxMsw5RsnklMwpTRMONyRcJRUFL1SuzIbVJ2lW+qZdXTW2R5ai3g2kulHQvFU2XE2hWwiLuBkkOlKLGZ/feXqX7S+VkJNdoWGm2YtJ6sGWd9Yl6q9hkKSSQ37csek4ecTFYM9ZQnrqXaaug03tWP/QsN9D/FUqspM53xsGRGKzmswxTR+AKwznIQjtwhpiUKVNOT+jpblYWpJwncCS4wEoFMAocqK5xBoxApxBSQX8EQit5Re/EdqAll04hROS7Usnmh8c/WVYhlw+jDUvn9yqHTH3iCoIbdGqopYZ+Z97GN1Gcbw1AQKzhT02vCM+uZFBwZPhxb3W0sOTNCvkeYBFLUiAJiSEtdqD7SrdunDt/CdTS88VI7dhVuAbtcoasY9pTo/rwpqbxRz5UU6nENmLBOXeLAFvPd000XQuqATmZXxkSIInqddq9pK5q0k7VQg5ixFpXExJvjANpIyF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tQc/WmafILmpGCfBVc/yOSC/QEG7G0kD6AaWXnDnQZIcLwpTKnF3fxZ6GPceriq1GlVy0EPUPUf1YxE/qNYUc6qsuzoP6tQlixL3udjVoAeEwpkcrae604TU2rAHoqaYlfjgINjXYp8Co8sRh8+Ztat3Wt5A0rjQIuFcnebrslmDq/jA0XsOtPohgSfYDZshPR/fuWgSIX2ZWl1Ftb1RqdnSHp2euHLZOiIqH+/p/kQHwm8tCXVI7kxsodHIlvgDiJ2MYunGpVCgf7ZrH/ABTcpdOMW5WwtJR/Wm44KQw5kantdG58nbngmZFm/Zv/gn/8qusp7eaxEQjjNzwZq9KwsxD6i3/ll9uplIrJVwkhZ/eleNEgEb2gMB4tQ6W4aCPVxbFCvBv3rixmyOwWEC2TZu62G/iD7pOJaXlmwwLvxMEzEQmASZ7blxrQD2fonv8xEoPvBzI0GdJIFKgt4rPMLLYCjq/7PepFbvhgTkfeMARSKBFcfbQj28OCDAud1enqFaOQ/eeIB7533j7+VV0LlJQ6J9gDaagQN/QAXe3YyjwZzWjVXyO7oN3pTc9UUbJuVuRR4XIxzuQk3dOkjDdp91InmiOfAI5s/+Y7Ngkp5RnxpSNu0IGCVHxqj3PtEEoxh0KPJ7gDhqO60jweN/bxSRNrEzhvU= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 57f468a8-8abe-4a9d-5719-08db198c2fc2 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:03:29.3094 (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: huK8cmgv5lAXs2PYRqdmO1s2Phl72skYl5AXBLvz0ix89ZQMOgNCUQMY213fCfyejqyEcVdbGMDuqvaLF1az1w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4763 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 spamscore=0 mlxscore=0 phishscore=0 suspectscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280106 X-Proofpoint-GUID: uaSrCwNcUKCj6lEX_9rmKpl3B4G1wHLj X-Proofpoint-ORIG-GUID: uaSrCwNcUKCj6lEX_9rmKpl3B4G1wHLj Precedence: bulk List-ID: Since commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message. So remove it in the files in this commit, none of which can be built as modules. Signed-off-by: Nick Alcock Suggested-by: Luis Chamberlain Cc: Luis Chamberlain Cc: linux-modules@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Hitomi Hasegawa Cc: Daniel Bristot de Oliveira Cc: Steven Rostedt Cc: Masami Hiramatsu Cc: linux-trace-devel@vger.kernel.org Cc: linux-trace-kernel@vger.kernel.org --- kernel/trace/rv/reactor_panic.c | 1 - kernel/trace/rv/reactor_printk.c | 1 - 2 files changed, 2 deletions(-) diff --git a/kernel/trace/rv/reactor_panic.c b/kernel/trace/rv/reactor_panic.c index d65f6c25a87cd..0186ff4cbd0b4 100644 --- a/kernel/trace/rv/reactor_panic.c +++ b/kernel/trace/rv/reactor_panic.c @@ -38,6 +38,5 @@ static void __exit unregister_react_panic(void) module_init(register_react_panic); module_exit(unregister_react_panic); -MODULE_LICENSE("GPL"); MODULE_AUTHOR("Daniel Bristot de Oliveira"); MODULE_DESCRIPTION("panic rv reactor: panic if an exception is found."); diff --git a/kernel/trace/rv/reactor_printk.c b/kernel/trace/rv/reactor_printk.c index 4b6b7106a477c..178759dbf89f5 100644 --- a/kernel/trace/rv/reactor_printk.c +++ b/kernel/trace/rv/reactor_printk.c @@ -37,6 +37,5 @@ static void __exit unregister_react_printk(void) module_init(register_react_printk); module_exit(unregister_react_printk); -MODULE_LICENSE("GPL"); MODULE_AUTHOR("Daniel Bristot de Oliveira"); MODULE_DESCRIPTION("printk rv reactor: printk if an exception is hit."); From patchwork Tue Feb 28 13:02:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13155053 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 9875AC64ED6 for ; Tue, 28 Feb 2023 16:22:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229544AbjB1QWp (ORCPT ); Tue, 28 Feb 2023 11:22:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229540AbjB1QWo (ORCPT ); Tue, 28 Feb 2023 11:22:44 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C09C22BEC7; Tue, 28 Feb 2023 08:22:40 -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 31S5rJBE026844; Tue, 28 Feb 2023 13:03: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=GwLSeAwMdwHmoyImE/D41CmqibV3Oaat75HYqpuvf0k=; b=dNX5F1/pAugv6upSh2qs1rq1iKPp88K1/5YbirrH3rpvPoBNtMaHkl5VqapmPfweRha2 SXvBn1YlvCvhj25Iau8LYZR8/y/XrbnjZwIeU8mY3Iq39VM/RGLD7whx0aSirYbAYMzb jlt/ysi7kncJe6sCD4paVXNNxrSrbYlYodchjko89wymcA8FztF+A9OVulD2y/RXcfpe cXvZN+QgLoea34Pp9ylvWIj2F02PSnybWSWWVF4Mo4Vv4QHhzc4u6IchzB5HU1JLljkP 34cLb5PwugRDvZ4CKjUs8eEI8VCZ0SsWTFImEL/Q5hl4jqbHsL3f+GnPCeim2QmonETE Bw== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb9ae37v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03: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 31SCY4sW001116; Tue, 28 Feb 2023 13:03:36 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2105.outbound.protection.outlook.com [104.47.58.105]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8s6gfp7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QbGGS8e6Js8SgLUEkYDYOlXX/Ojvn6hVi+NtPY4Tm45Crkfu+45WTpsu6GYA7RtGW9R1Mb0PUxHwhEmLSgGGab0FJ0STpvrsXg0WaL2j9co0SSQkcrcg2DDaj3Dnd5N5W9fsXiR8nBkWHzZZ3LCUVNoXNLBgLo1RnAXCXqAjBvLkCGhwz88b756IEHDn0b3TOgMlKpcBbNmcZJN3p7YPsS0xMClFJcdykmsh8jLReVd72/8ZrBHAuRxJ9xl03H+ShHlp16Q94xkKUICzJFw6DEtNWldeeFqIJhdrGgXWgTXoh965dgV0fDIQIxxTLsAeCCcAhSLcNO02AqQ7MUXXUg== 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=GwLSeAwMdwHmoyImE/D41CmqibV3Oaat75HYqpuvf0k=; b=gJQjHzEqEJmwODEh1RpXtVf0jlL4G8Qr6965Hw73lmwtS9ii+NV6O2DZVzPzvb30HXOsh6lSh2j//Ic8z44zcjzlRPPej2TjBEPML9Z62WcbrZLVmaTvh2n+6Zym9HX3SqRs8wWmOwLrZYrLuwU8oLnmR9J0pSpn0k1/rwKVJzXcMBVJUdKdBQz8kqAAlYwAPMCrQa19foDT5cu07uxQGGR+hZ9cvc8BWwDJIlvtC9YdnY/i+NXNLVSHwVDE1cUfcCtERrSsnX5QVa9cvDnxCZovnue1I8sdGl0hug0fKz+r0FZqOmUSyagia92HjwkGdqRvSAktDtEyzQ0wd5F1gg== 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=GwLSeAwMdwHmoyImE/D41CmqibV3Oaat75HYqpuvf0k=; b=Rg9MgZIgGqg1s217hGZQNoJWqmO0qtkivljeE51Q//lb8qxoJYrX8BesT9CQmr/3S8xJzEBs4qLXkc1r2evLHUtjD9gniEeHmUPb+1b4qATgcvmugL5Ctei/NoQVBGmVWdOKFfB9ITvPWsyUUFlcpjA8exa0DowETL0Emo2Zq/s= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4763.namprd10.prod.outlook.com (2603:10b6:806:117::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Tue, 28 Feb 2023 13:03: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%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:03:33 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Greg Kroah-Hartman , Jiri Slaby , Shawn Guo , Sascha Hauer , linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 15/20] tty: serial: imx: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:02:10 +0000 Message-Id: <20230228130215.289081-16-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0092.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8::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_|SA2PR10MB4763:EE_ X-MS-Office365-Filtering-Correlation-Id: 792acebe-98d2-4bfa-6744-08db198c3246 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wm9FET6fkdXM7rs3Adl9//QCqjWLYqjdbhgH+T6Rttspo39feBsx2OA08QS3NfogzdHhTUpCfNVrVrsmc5iyhb0kCbD8ObcGi3PG4k/N2rkFe8tARjGoblgHbjKldcXyNqLYiS57eT9Z9AdC8OpFX8AL/OqhdFwHyRGPulc2QImjURp50JfNvdIng0RapqAjRh6XUqhtwD0T6jumNkxbISK7jCJdLMg2zfzbBQu05CkqxWn+1vPWVBSKNU7AOoMAGn9Wscd/KmuVqTDZ7w1dv5ti3I4Y6/3GPfDv6+qpiGxEhnC3fccTcV/eh3sId2kuaUabZFvX+CMejXQWyKsgvdfKS4If7yCLlUTML89AOqAamofias2Ok3jNaChBUbZ6eBOLza3aHMmB0LlaFiaTtbww2Fh2MVnLyVEdimjA1I6SWV3CCeYIRG5QTAhQQkjnwPLDIbnm/gOm967z2II+37s7xfIejo7bu2jhm/hdlcvuw82U86E4L1FCYmhNUiPrCLlWwbRTd4/t4MfqEvmMtcUxjTwu7RMhdggiCMX7eLG87P72uRhfAzAKk6nnkzGOCGUJjXwCNVoqU4KdYdJMJgO2SoOyu/mjsTa2PTwPvek9XLi/e3HsDv9jCC1at0OUDAcG1UmTC0APZxcZ6doMug== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(136003)(376002)(396003)(346002)(451199018)(66946007)(6506007)(66476007)(66556008)(6666004)(316002)(6512007)(1076003)(186003)(54906003)(2906002)(478600001)(86362001)(6486002)(36756003)(83380400001)(5660300002)(44832011)(41300700001)(7416002)(8936002)(8676002)(6916009)(4326008)(2616005)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: MG/BNtb4oUUZkNVsov3EXiU7RW9C3yUnc/sd7ltN8x6Gz8vamkPLXVEGy9pEmItyWaKrgmuEDX0k0wJBMvLiQmVDXCSHJU30mnk51fFp3yIyQnne+QhrJQIGYZlWxKW/eOvtpOyqJMubqeG/bm+Bkp82sGZEA68JWQXAom9lPHLMN6lKwCbfNMVjI9UmrN1Fy/GzSiO7pLQz7F1gEJ9dwtEhSs4aceTJxI6gtqojg8gpwBE5xMwlYmvd7aCFXqYumLTzpUacCGhvofoH5OIjp/VF2uYoxybVUholrGAbchHT5fq/INMUbE5tScYBmVjcTM5n3r7POnmByyEmvnS2P16WBYHT6dlBbObMq3xI/celEpBuOqcYJ5qY7W9SCCgjsa/Dodb0T8kPLd1pU7SMaApjT7qLi/ROLchmDVjgDjCG+dZRiabKTauVTJSIR1C07X/frQBIfF0J6KUg29x/Ijyqm3/ESa2Qv249hARHVjmvpUDC0U22rEN96JDuIxphNRPNUpyENFy+8RhJX5G+lbE04abeClJvsKKe+QdEBrU0fCnLaz3J1P4JeJbzaAXFCTsv/JG7nCQG5PR1EGaKfWoimcy2APTEjgdqF8IGl2rcZYggMc5sGCY7OcdK/raUxskqL02N04x9PmzPnAsCrVP0jJGjgigO65GxqkiyGk0F+djHTeP9Gc+OXsP3jExrbNggyGJf82nfRHfdCs8N14kt7Falhhkh7L1g7leJ9V76dCo+YS+AKVDNpiG6byQdtL7p1A+Ch8gAIAuF9P1fhwM4hp05A0f8upQ5Aq4uNBGEqphoIYFkCWYoUJrK5jcVu7yjMfyQz7bxk63Fi1qDWO1vsdq6DF+FAEoH3zYnuBcdPSX1/Rkb1fRQg7gQEX1dS5wv4E0FckE5nCMQ2iHEEPXOAUKGWc/bR1acf3zLlK0M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du1N7qyGezK6hh5yEb2Lh5NM2dFUIVV+JWLYsU3PGCg5x04jmiWNhf/tWfBI9lye/3HNuoN/7DlPnx82gfMLiGZEb7J3fYDjwbK4Bp9TBD2YEjQo4vc59mo33O7bVMPLd/9bQhFNmuKB8fPTmpFn8GNcFue34ZxpHJm3zasTTcX1ysg1cDO6zFPhMEI8KWZs9CX+3hSyXU6inLzC3Jz5/m8yez8jzPLTm+a7Ntd99+WGZ0qIlAGZ0MM+s2YFJLqOC35Lwx042WfNw6pmzLpso3EsjrZMb/pC4YbgB0oBoZpO/ntcBPXOoG0ndHl8TxUbhSHKTbYlWMAx2Je4rinaRhBAxAtkiS6FzDamGR93lZHj3X++zgqxHE2PE1K6ERHwao4OgBcqJq7aK5CUA+KvdynCW5b7QiGjDlqH6yl/js0gyP5ru7fsol0jZimkBFWXiEZTiopwYOZBZtcXD2Yq6D+q8Gmom0kPE1kS49pEoRoXIY7gQBhJkEuEgCKd6mbFSEjL5QXILFTybmen/BT7Akr9TVBRAhH+QnroCBpg3+Lr0qijxeCKex4EU559+bMkFZ0emLyaQCPG7w76lFgC/8HecGKSDD9pebwroWRYCzXUq6Az0XImFeiLy2AgKzFm+jKZ8Cqe2yqRnwQn15t0z2sIodSxxsXs8us5MbU6CLvA== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 792acebe-98d2-4bfa-6744-08db198c3246 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:03:33.4210 (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: zpLdDon9UncR7TSbeBbaudr2kQQ2hsWSvK5/FA/yITN4VVipA/cB0D30TQQvaoz73olDW0YC4qqRF8987UDvKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4763 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 malwarescore=0 mlxlogscore=999 phishscore=0 spamscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280106 X-Proofpoint-GUID: DwlO9a1wlkUMw-sUiWQGF6SegLvAlu2g X-Proofpoint-ORIG-GUID: DwlO9a1wlkUMw-sUiWQGF6SegLvAlu2g Precedence: bulk List-ID: Since commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message. So remove it in the files in this commit, none of which can be built as modules. Signed-off-by: Nick Alcock Suggested-by: Luis Chamberlain Cc: Luis Chamberlain Cc: linux-modules@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Hitomi Hasegawa Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: Shawn Guo Cc: Sascha Hauer Cc: linux-serial@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org --- drivers/tty/serial/imx_earlycon.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/serial/imx_earlycon.c b/drivers/tty/serial/imx_earlycon.c index 7aab38b2bd8cb..2dacd7ae63088 100644 --- a/drivers/tty/serial/imx_earlycon.c +++ b/drivers/tty/serial/imx_earlycon.c @@ -47,4 +47,3 @@ OF_EARLYCON_DECLARE(ec_imx21, "fsl,imx21-uart", imx_console_early_setup); MODULE_AUTHOR("NXP"); MODULE_DESCRIPTION("IMX earlycon driver"); -MODULE_LICENSE("GPL"); From patchwork Tue Feb 28 13:02: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: 13154888 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 DCE24C64EC7 for ; Tue, 28 Feb 2023 13:06:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231244AbjB1NGJ (ORCPT ); Tue, 28 Feb 2023 08:06:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230494AbjB1NGH (ORCPT ); Tue, 28 Feb 2023 08:06:07 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 775082B62A; Tue, 28 Feb 2023 05:05:23 -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 31S6B24O010702; Tue, 28 Feb 2023 13:03:40 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=AJ3qWwTEB4xSojrJJdgwTksmFQcUBOUBCk+yoWx/Qxg=; b=TAxJDmHCbsZDtD7A6lHxCRBYr416bTfy9bpSwRDUBGafOxedfMKIQebBqGYDGOl71nQ5 zxVnsTe6DOXdGQ6ZGwST9+89RYkqu1XsKsl+3om+F95Rz6WiDoiFXlEPa4eQ7QNkSZgD 0UsBoVy/GAvCsG6vojBiAGco3OvbMwmrvcA9M3t/z6Z5cNqYNI81s+Vpl5sT/1/NVuvU zPfov1SGPlBEqgpEW149fRFMSa9t6r+A17LwvknSpzhYECPA3DhzB39vp90H/TcK9QPS ntYsYRTUH92cye5qKrFPYharcyw+p2HwgBcwZIrgFwcXhQiVktpUGNAKRHTjr6xXu4L6 9Q== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb6ee61s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:40 +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 31SChjVB032317; Tue, 28 Feb 2023 13:03:39 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2047.outbound.protection.outlook.com [104.47.74.47]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8sdh874-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z05lp0mguB8y1jSKYQjlVemfGFJJ28yPCYI3lKKb8YD3Vvv6m2O/66LrxXwwH/Wt2rvJ4cbFuunFMptyvJPajhi6wz5XtWt87EOQaMIRBRxodIWBty9rj1Swd5yP9PcFz2X4PsVf0g+Tg+Gv31JT0C2CqQBtv7i5OCcL2dMS+ttyJhlMq/uR4Zjy2otVFjQRu9rhHg9yY76hhe/0x5zoGRZsgRsb5QaKIEZj82aU2n/zhtkkxZVbxn5cM/wWcvGwPjztDkeB1LqsFvTgo4igfr8KkGsn2wwXEv6fjFvnXaThnR3GmVUpVM89miYe4No7T2QOxgjZdCS0WacfGsLzbA== 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=AJ3qWwTEB4xSojrJJdgwTksmFQcUBOUBCk+yoWx/Qxg=; b=VNq7tQYGUIG2ILP5EDD5wwUfqb74w80uq2pUM/95HlaaDwjjKEL3Z7/pxzFXsQDoGyu3AMh+lJ/yJJJSuyJd0qIRNhER0ThNny1XeXTvgjcUz3ISQrNuuyFcYNyIOKphDMVskjhpqoaqBiA0to0kcmExPI8JL1vztlgkATko1mnRStqPzMH5MO2nF4Au7YO6bFUWGl7YuACX0QgBu3nsz2svT8X6rvYPOO48hU5O8sq0W4ELBtSai56uuCt3qRc+ZcbN7X8/DBZMdl4QVfZYajK+iHLLegcPkPNOpXNrMsyuzN+fYYG43T/hnwC+/D7GlwIScosCGvH7Hx99rDP4Hg== 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=AJ3qWwTEB4xSojrJJdgwTksmFQcUBOUBCk+yoWx/Qxg=; b=HZYiq5b9/SDlIlIqNoa/fncWsIzQWGwwW2X/Ii2U332PSv9YgeqO7EGCZC34F5SObhjJ/0Ss4kySZzL2Ms5HcegplaTnEatPAt9Pl66466tRF9unoBFqj2N2QYoDocn1YB6J3JZ+6CQfklJjn2g940vFYa+Ok0MyE/v38F2Xfq0= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4763.namprd10.prod.outlook.com (2603:10b6:806:117::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Tue, 28 Feb 2023 13:03: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%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:03:38 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Michael Walle , Thomas Gleixner , Marc Zyngier Subject: [PATCH 16/20] irqchip/irq-sl28cpld: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:02:11 +0000 Message-Id: <20230228130215.289081-17-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P265CA0084.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2bd::17) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|SA2PR10MB4763:EE_ X-MS-Office365-Filtering-Correlation-Id: 4635bcfe-5b72-4f83-8fa2-08db198c3527 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: amLZ4pqlwMdJOIZpDmMICxPJhJA2KN4IYEt80OHFzTCxJLAWlyDYeaY+arPjze+lScfFxMCjENDH/chuIrHFquPtgwuI1M4FtFWEnnNNst3WhLiaUb+hwnOOcsyeJcuzab96hdL2gN9cRtnYBh2biPr1YFXnBwLPKk5GTLoeBEnBeRgL6KkQPpQ9VNIOoLvaACBvkny+AIOpPwGmULquu2MJ0y30hRzVHXpKcYTQSJcElcnm7k8KnlhJUx5hTgSu4uMAkov6Ephpz8+JnE/UPx8wz+zhfPgay+eEnbVAwgG/UJNenTa5cNBS21z1wIX6//yOik2YdTLQswtMENkwThuNHLWGVxiQMAV5uCJKDVfmvJU3XI88qGXgZp0Mehf2jl2f74EyZK1aI0OzjUXqwv1KZP9Y0RLqv0xofSwrZsB19jgJSEikBjBr+Ai5dwUJlCiKyKXRCJbZyAK4m0SPxFadbSCF/7QhURkNDkpdgQDDhP5Z/+wq+Y/zuAgYqUf/b2Ox+cMICYUj9FAfbB9aIAJT1xRCiLuTHwpvHm1kxM5C8a0sLVK6nSEDFZYUKOGdXl8wNHxn5C4e3wMptra5g8pSrOe3gs6Q2Z/WLYBaVZ0gZavyXveYVtA0PFTtyusFMyu1uiIPs7YDSRgteLNFbg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(136003)(376002)(396003)(346002)(451199018)(66946007)(6506007)(66476007)(66556008)(6666004)(316002)(6512007)(1076003)(186003)(54906003)(2906002)(478600001)(86362001)(6486002)(36756003)(83380400001)(5660300002)(44832011)(41300700001)(8936002)(8676002)(6916009)(4326008)(2616005)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Ep6wMz6PNvKYVXcmTywO8VzHPvaVVVjM/6voMqCbqZitMLLpt/LRMjHAo42sbj33e4rq6AJDM8heh7Xnxf+AIsolTyTomIolQcLoo+TMt0DLDuhMYA5poRrLBk1vfTi5yulOX2FzOJyId/eiRRMhgGhDqaUbU1dqk2vj7xm2XBV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qaCjpMZVET0JHRqIw/Kr1ceCccdDhodL85cJG3FAONKpUwZ8eVXt9ietmiwMuhcgfjm0PJjrgQsMtpEG5NSOFLxAmv+9oo3TGKgfFnsjVKqeQHdABSL/dmY+NaLIZTh9zkqJHCJVZxwd1zIre8iLKLlo/jZVILd/WvC/4exIjXi91ZmaEWoSdJmwT0ktcj+RSddvFpVmClx1Yd8wbDHthUG7EWp+fylhBCIFyAGBZA/+dBbFdcahy4znRqJMiWLr12VgPeYjC9um3FaL3PlJ9kA47XnJ5H6Lj/817giJ X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4635bcfe-5b72-4f83-8fa2-08db198c3527 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:03:38.2520 (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: YLnUx8e04N091/hiHnzmmCD4twOF4Mzocgx43X6o8YJ+bPw9MGBjAru2iFrILliQOcY+j5oYUb8PMjXjvqLHJQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4763 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 bulkscore=0 malwarescore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280106 X-Proofpoint-ORIG-GUID: ZUkayD0yf9XOodqS1w8A_4qEgGL8AdSE X-Proofpoint-GUID: ZUkayD0yf9XOodqS1w8A_4qEgGL8AdSE Precedence: bulk List-ID: Since commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message. So remove it in the files in this commit, none of which can be built as modules. Signed-off-by: Nick Alcock Suggested-by: Luis Chamberlain Cc: Luis Chamberlain Cc: linux-modules@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Hitomi Hasegawa Cc: Michael Walle Cc: Thomas Gleixner Cc: Marc Zyngier Acked-by: Michael Walle --- drivers/irqchip/irq-sl28cpld.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/irqchip/irq-sl28cpld.c b/drivers/irqchip/irq-sl28cpld.c index f2172240172c4..e50f9eaba4cd9 100644 --- a/drivers/irqchip/irq-sl28cpld.c +++ b/drivers/irqchip/irq-sl28cpld.c @@ -92,4 +92,3 @@ module_platform_driver(sl28cpld_intc_driver); MODULE_DESCRIPTION("sl28cpld Interrupt Controller Driver"); MODULE_AUTHOR("Michael Walle "); -MODULE_LICENSE("GPL"); From patchwork Tue Feb 28 13:02:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13154968 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 75E3CC64ED6 for ; Tue, 28 Feb 2023 14:47:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229577AbjB1OrA (ORCPT ); Tue, 28 Feb 2023 09:47:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229528AbjB1Oq7 (ORCPT ); Tue, 28 Feb 2023 09:46:59 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8E161CF4F; Tue, 28 Feb 2023 06:46:56 -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 31S5vPX0015581; Tue, 28 Feb 2023 13:03: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=uFWyXhlscHxFYiA+OFGYvo7FhsjtIR0OqeAIzLjbgLs=; b=D2LNm35/rQm9pMfZzfuMk2E8qPD56Qm/wLRv5/936grLqGnXa6rOgcAhP8BC0CQmTI4H F5WjdkzEQEUhhXHTyIdojSzgtsAiv5VxmaXimHlf/F9fkb5+P36mAtqXNVcFUNM0cL6s kOHfeNQfvwrPEdeTut7Vm9UqvZ56+iFbdd+Rx6fLHeFXLJgIZiC73vIFxWOks0AIGiU6 9RTmNWThKLnUYQNAIUWFtCtqR5bo/7KxiydRIzEtEaR3k/6mgjeWgoalSO3DVd4I+4yH iqdqOhL29jzXbsLX1rPfHoqlcYCzP7i7WBIYKVBVxG3Xy05dVnyvLD6qho/oEioTp3yD Jg== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nybakp6dv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:45 +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 31SBljaY001096; Tue, 28 Feb 2023 13:03:44 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2049.outbound.protection.outlook.com [104.47.74.49]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8s6gfup-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eEb8XbuH9tEyBpgxzB3yWFdW2W7RlkXSHrdku2pUxLcYTlWVDJbAF8/RrvlxtjqLR08yMjKh46P3ySiatrnK0l4/sXjIl6kSi1sahg2iizy4DfTuSpuq4vLO223R/hzAQcF4ed9Sd5wUJcSKtm8FDqvoCeSR4qiPYPy240/o+E0219kXpciSCeDVwsetubDoz18LPRO5lTjhzNPsWR9E+gjk2stLcz9wqGsVcsKS4hHlkNqThhXa2stIPGnV+6hRH4cMv47k2W7ePSxJCSvoj5pgnGCC7VoCSpPpj36AF9PmohKhW0kIMw5hNNqTqfYu1/+rGlpo7fYToJjJNTQFPg== 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=uFWyXhlscHxFYiA+OFGYvo7FhsjtIR0OqeAIzLjbgLs=; b=jhFwwpoKBD8qLwZTYtNlG6/zgACYRPuUoloqI/Ag/FmGYTeAVrKVl7KI4d4o85YbenD0nu3J/OqqV17jPsiRK6MwunK9GGpk+CLeqOvF5Uw6wIvS4n3R7fhPRzQ+poSvXenaFm5DHpiLKdJivtR8E/NJ6iCoyOCc5qES4oGz2MKyleSDUeDIml7nDu9tFsPxDX/9lTHmuOuSuOt11s6F69ozfpFXlHSO7xRkUrFtC+1Lnv2tXNEDqK4goUD1lc6JCTLVK+vfu2GpnRP/Tf1rhMzw5vJrDcUO3diGX4/eWKZv2/c5COaTToLnhspceMdvSAN1WAJYK73RSV2ZCMmmsQ== 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=uFWyXhlscHxFYiA+OFGYvo7FhsjtIR0OqeAIzLjbgLs=; b=EmwB4rd+j6cZ+o6pEv0LxFo3cWdmZhnnNryMZ2/qhsnE0zno/h5tUBbH9P7g1ersH6ZOm6VajurS2zfHSfJYQapgq/AnpFar7aJRCfDO+2zCXKhmA1452z31g7xeeTWgRSxDnHmI4TXiONgm2HXO3dVdhN7G3yIHOll3pQ7k8zY= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4763.namprd10.prod.outlook.com (2603:10b6:806:117::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Tue, 28 Feb 2023 13:03:42 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:03:42 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Eugeniy Paltsev , Philipp Zabel Subject: [PATCH 17/20] ARC: reset: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:02:12 +0000 Message-Id: <20230228130215.289081-18-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0377.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18e::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_|SA2PR10MB4763:EE_ X-MS-Office365-Filtering-Correlation-Id: facc4d5a-edd3-43fa-937f-08db198c37c8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TKhwl4Sg8zfcJKT+v52y76GjzQpD6rshodxwXc7WfbQ2kptQ5lM0Rkaa42EPDP5SsZFzbfuZeaEw6K6Sosw4JnvDbyQqzaWxGqDD1mLkd0FvPxeRsMe5YCtXwM5Qab+JuXLlXYwR4cVPnfIfggfuQ6mOtd/ciCASMM5jiAYGWLfunfGboiARxD2tw7QdBJ6himByS4Lse6UNwmNv1C7bhVujK40SGFU8hbc7s1bjMaPbsri8+X+EuQTdZGXlXemojKTrzR9vM7QnPRqZ1TsM4OwB4YxnwQNpoCICE8fEF80DwkWaQnCzqePjzZ/CSqxmfA46WLaWHsny+V/5+N3eQ8wS85T8ByvOAyd/orfgCDvabEKPnZk/4VZQagVoMbyMr0QbQkUXePL5gMsbUWrZaLDjrWknGYaiv3s3ZyCTTaYOuUs68ngJLkPimuHMJVVqbjC8JGXmfpNXSywTAPgipxbalYw1xgsEhVsCJ8EWzpIURrDDODuspe+p+h28UaE4Mn+us/L2ra7eSkdfDUIPEjIq2qcmBQW3XLydmG3rgNd5pS1I3H+5hTnVVdQgm4S4hkaZo80hQAn3xZmt02XWXgfrVLvGnqTs6jdGtGd00AIegmWbuOC2Br9hfq0WxmtmJU0TFmDzg4O+dL2PcxZJRQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(136003)(376002)(396003)(346002)(451199018)(66946007)(6506007)(66476007)(66556008)(6666004)(316002)(6512007)(1076003)(186003)(54906003)(2906002)(478600001)(86362001)(6486002)(36756003)(83380400001)(5660300002)(44832011)(41300700001)(8936002)(8676002)(6916009)(4326008)(2616005)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 1/qMBYe0PZeGVbqqwNApyyY4Rz2cZ9FdnO/0p9noaoH9LbxJzT77jDjJv6PoYkuiqjFOKa6GMTyRaJe3NKj27H0lyFcgZIB4CxNHGZUHnbpH3BYODNq0XLx2+BjIQgF/dbs1EypPtjsBtZjQzZquLUBniL6Qjm9dtmGzPNqVZ5jAgqDVysMlHw+xTKoB5CPPmjL62PYc6csc47DGjPH3YJBik+s0QIfy4qgJOsHFNrYxBuDnYQYJmfEEtLO9F/KNMlANn5huJeoK36AwKGlyoIK+dNAYcfb+YHqwj017IOe+38kk3YLHmYmhfkLTk04EZ9NP2VKdBDukbaZhj0rDTnc1fyazGyTuaKI2WcUO+NpprNSFuT+/BV3Ma5rwA/NsVHlg3pP5KDssAYfhBWOJQLSEsDTtlx2RqS6QN324RNNM6jjiPJ4Rcwl7aI2KFymeGaDqgSSnIy0EvYoYPvcqT1wTWhFqMwK+u7l3X5QWVok4bU8P0DbIUR+M7UC1x9XUzxTYKkr98d22CJLMWEPHBJoGKIB3DV9Wky0knd3cQKN9gc2O+lrIPaX7VOGJFlR5D4E7BVOJb55woyrdKg7aE99VubkYD9mhj4E6NStQJ+hm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ange-AntiSpam-ExternalHop-MessageData-0: 4H5otquhnqN6h+HX9gUoHAVN/v0WUlvQIV2GJtFceUoUKrB8D95EPSf+Zc+0PbNnp/oE32VbFb2Vn3pQRjskQiSK2U9DJFxaNiF5ckT+rIV5zpiJLnDMkft9QZg/6POrNVr21N5Xh27XmFCfBtCoS/hvJ+0J1P27Rc9hkPjN6J+9MMYrqi++tlEHWP9sTjmjKHXAk/PmbqVHDrPTt4V3/MyQ5tpFaH+bsMLR2JapjAXQuDyK12he+Edn3Hwk/KMuyQ5EIW4vQYdNUsl8a4LeYrJiG5uIaFLU/wIniMKSvawmYVbr8exoSLoAML+FL6CNJ5KZO8QLalLdlyZm/mu/phJiGJQ1dCDja/YqxW6AapK3gICIzC8G0ZcKwoEYNIYvaX/JbdToYZcruKymr0W+/24A/ZACQDigqDHsQp7enydXLlfTyx9i5ZkOJVTPFpMpRAF5z1GDB3xd9UMbTWRBTVGkgonJ7wefR97klyFGRBGE/7vfEtFnS8uCtN+TN7VY9MTdzKobE6S84sLpaxrbGRM2EELd4sXrJRO1ZojbkMWqkCneSnj1weZB55Z1BmS24TK5NJMYPt0koxynfMABfSsF5SzGfVUTvSasLp67MmeNo2J84aSMpn15XkqRM3QBavG3LyEzwyDvwj/YiVGfhw7MmZ2tDI5GFdkCQWoy7iA5AetVqNTWSyonnQLZvGJRSJwXfB1WaY9ePmvRtouXHt9o3AYyuxXEEIkvS0dwziIYnIORq4qhqHn3f9LiZb2J0y6ZnRHlHHA0zV9FgO8vtTI8U45J53K0fsEBerwIMoFul6XHpnKmWlCw1KtsfOEX+oxazet812KzL+py1opQzPZDO2BeLqvPQw4va35E+ivOY3dCLQWFYrIIQQxfnu5xR9XsvrbSLld0BSGBHv/d4w== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: facc4d5a-edd3-43fa-937f-08db198c37c8 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:03:42.6597 (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: UcD5yk9LP2YxkDmIZsoyaCLseKUWrLbjH5gTit7rPs9dYgNb1jlcIBuLKrBT/Z32a43g+nAE7qjuiS+/FqR6wA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4763 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 malwarescore=0 mlxlogscore=999 phishscore=0 spamscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280106 X-Proofpoint-GUID: n8sxs1PqCUw0u1slPu7_ERglxVobhPHI X-Proofpoint-ORIG-GUID: n8sxs1PqCUw0u1slPu7_ERglxVobhPHI 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: Eugeniy Paltsev Cc: Philipp Zabel --- drivers/reset/reset-axs10x.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/reset/reset-axs10x.c b/drivers/reset/reset-axs10x.c index a854ef41364d6..4cb25b0af8d82 100644 --- a/drivers/reset/reset-axs10x.c +++ b/drivers/reset/reset-axs10x.c @@ -81,4 +81,3 @@ builtin_platform_driver(axs10x_reset_driver); MODULE_AUTHOR("Eugeniy Paltsev "); MODULE_DESCRIPTION("Synopsys AXS10x reset driver"); -MODULE_LICENSE("GPL v2"); From patchwork Tue Feb 28 13:02:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13154975 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 BBB90C64EC7 for ; Tue, 28 Feb 2023 14:55:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229696AbjB1OzU (ORCPT ); Tue, 28 Feb 2023 09:55:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjB1OzT (ORCPT ); Tue, 28 Feb 2023 09:55:19 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE5D5B446; Tue, 28 Feb 2023 06:55:06 -0800 (PST) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31S5wDZq015596; Tue, 28 Feb 2023 13:03:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=BtOvFC4v+NsTapGKfDee3ylRc53Z6cEU7BJcnWMcqTE=; b=Hu7EttX1QlVK5FFEeV/xofeMBBU0n1LNBCzxYITA9fIZ/2E2tY064T62hBr6Vjq4FjLg TqZTUan0xb3pbUJgEPsDmrSQosLeGsqtZ6cF6mufRK2mIq/LMNB3SGnd5Pf2hV34lkzZ fR+tmcg+1R7pVulGandRwsTY4ZqvlNtoGVI8piB7KrJ3HetXgd62lpcU94MCh51lRd4E OYj9vmaJav2c2d1/KHzNBeH+UfX6G0EuaN46gkIGbEg7u5nuGs72xuGFcWcCuvarxb+y tYDoAr/wSLOD2r5ZSt0vufIi+1jcJB9R78VsSBCzIFsxlhfm/qbfSwFdcpvz/+XjjJ7/ 3g== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nybakp6e2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:50 +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 31SCqX5l032974; Tue, 28 Feb 2023 13:03:49 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2047.outbound.protection.outlook.com [104.47.74.47]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8s6rant-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iVRCGUUxm1neJC9FnQF7fV75At0WcwIvBhKBtHSANXjYnLNKtWE080EY4u2n++7iY9mQZgkOdw6Mm+s6o1+COM581ETB8ziafbE0FtQ93lAXnjlgqGf2+LQh/dl3AWb+6lpolCJC3r+2ew+dsJas3xe6ovPLly8vmImuO7hA47zHzuc53VjOkB4yjhnx7sQOJczR4aQWV+pFqZqQJWyEZzWzZ46r6iTfLIaMZS+L3UV4cIbjI9I1luX+6iv+BYMuSGs/ueWeC9rexH0fgK0Q/GudFrYmiuqsYAuOVbWkn8pFMxG+/m3ezSbCTDQe/carQX7RXOGzQM4+uQOpItY87w== 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=BtOvFC4v+NsTapGKfDee3ylRc53Z6cEU7BJcnWMcqTE=; b=DXDKpg9z1e8luhvfjf+vLaDszUSTSzRkGm4Knqq432/Gvj4gtNVy7UVEcamgzgMxmnpR0ni+ekoQVVJYgrYNzViiPX7Czw/qFT0jFArMQyP00Fu19XzyivnRIcg+Zrb1TtbHa5UG0ec5HQVLb3nxWkpvZaWJdHij80OHdXyzHB8gDwatpmfOxKtMfBfGIvxpo1kH7YGwcjKJ4Bg0x+3rz7oSuAamCzbabvHNccPQ+m5oBPmih86Yny2FQcB0zufe1PKjEzeEdPF51+NPZNmbgiux2VMxWYzprW+apyv3soVNrfiVwS4FKOngK6JDGTL1jJFInsNO7LyMF4KyrVvbxw== 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=BtOvFC4v+NsTapGKfDee3ylRc53Z6cEU7BJcnWMcqTE=; b=ZNr0sY6oc2pN27gPxUudAZYu55hHNgjpSCwhGUdDp3XrLnhs/gIBfrcAKS/1SDNdGlIAXHBxNb6cCZC4jYrQbD84xMryBKHSoMOemyqCD98jGKggMqM8DDzhfQgBNqiNdCmirGM6E3wW6Pz2rWbdRwz/uKN0jU15u1inZ6FKSE4= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4763.namprd10.prod.outlook.com (2603:10b6:806:117::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Tue, 28 Feb 2023 13:03: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%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:03:47 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Eugeniy Paltsev , Philipp Zabel Subject: [PATCH 18/20] ARC: reset: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:02:13 +0000 Message-Id: <20230228130215.289081-19-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0420.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18b::11) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|SA2PR10MB4763:EE_ X-MS-Office365-Filtering-Correlation-Id: c34f91c7-c228-4993-76ad-08db198c3a68 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bvrG0+A0LBdkNvCDl0rfrEDp0S3DHpN0RuOyGW5AnwoATOupsNs5eR9T7p+EHolTygDwzOF0OrjxweXwtivo5qoc1o4IbkCji7OWii9OxCpYLmhY2uJ/kq2Sku50fE26b49laj+S+hYsZXW33fWxWRJggdJLw9jh9Pg8Aw5POxCyb00vbimQg7rc7hDQqEIQXEgvQ2dApFCeDYFobO2g8ZFfhPJ+Y1cooZJa3Bku1vktnYVdarf++0DNsNRP+2NV8EqJQrj4ujoxhQB+vS/vw+yieLA4ALR7+uXX9mmdyfD5o/7AdUBwYvn9iFw2gY4W7YS0ZRWr+n3xskNYs4j8/Qo2nvhjNrEI/fwT18xqhHXbUnDrZDUL154h56+YEssB5jKAwpw6tGv3N7y9Tc7RAD7JeELimmSxNvU4fbUU1hrqWZvrQ/eW6UNIEVb38jHU4teBVrSzcNrvj6PQqtHPQ1rHWThqaQw9G6Wl2lvx0CrcI8gT/Ac7YjmEi5x+I5uUIfL7fviXJsZr5KuO3n4HlP3HLc9264xe6zGRKyIDco3XAmF+1LEw5sonbZmP/5fKe98EMbKzS2RX/sEM8c4EFm0SwD481NcQr8JM53TBx7R8VO09EEWI+tiX/Dbmm8+Rv+72ZXsC3BkPVldVmKy2uw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(136003)(376002)(396003)(346002)(451199018)(66946007)(6506007)(66476007)(66556008)(6666004)(316002)(6512007)(1076003)(186003)(54906003)(2906002)(478600001)(86362001)(6486002)(36756003)(83380400001)(5660300002)(44832011)(41300700001)(8936002)(8676002)(6916009)(4326008)(2616005)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: y2fhNLdrVcHkox5H1XuiWblG/NBt2TgUOED69BhhX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7Q4pUng6klbSR6rEmqN7D2xl46LqCtBphzuQIefw9Nynfbv/boZ3GMFiDWV9qPXDC++GDeX1lCLEC1r3qLlNhkLh+h1PPQ6TeP75tcL0NKdcRptI317vOxe8erHZ466cHXSRzVgxLOh7/ulTV3/6OXa+k0sx1CpkhpDJVAR7X1H72bgP03Q4w1LOYBfblSLs+mJIS+gOyuPLIvoJvOSf8uOgSNWqniMyKGAMXjj3XIAe6xjvbrt+g418voj4yt3B0bqFigen2FMxoM0btpNPp3bDVIB5D2eI0reYFh6VtqH5WQhojDsKLFomRyELygQHFLpR9I9JSKEhvbS/K70T3BPmzW1SP8rhWM0XOqWslfZMTLaQG2anCfiA1XKO/fgQwVpG/6+MI9vbW5Ng+8CgqiobvD8+thCY/mclXJdXLhaEyYRDtmueQm7nKk0r1uVYgCWqs+oB25zZz8D/5HhUoo16U6Agr4zHEOsVTyqzIGVRy4aG3s9DQOrZKAufEyGCn2Ic= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: kmab6J9EdalBzkhcoK1plipnrldshXWF02yi+Vm9IN8R7bJd2Z8hl9XUuORfjBcA4xUfgwIBKNty4kvhu1YykvYX0SMBxVVfElYR3RhSru56FepD9c+M+WUWh86V2Jd8BEG0cEK1ek1lPG20SDPr998OZKc67vr6A9/MbAGDx/Esi7J2dL4xMUXqS2D5aklVc58Jr+1fUEXsGXY4STs7IDx7MuFzcdo+frAimvXGBU7e+sXsJfs0MiMy7fKue6TIiSlwyAILH50UkYjOXNOJwP/VCAKdYOocHRpkCy4Sb6GI52c9bwBU0yzpnYHe91U+gs/tJRlDnBhLf8J5VI1cOQW3tiX1mqQxfQAj45bXfCckQ3deeL7L0FyqlHykl7O1osdxFqtPXgR+f2yJqrNNzHIBmlUMfYxEnpXID/RLXdxaPvS9rTmW7Y22+w1yDBxlMy+23FUUj+n2o8yDPZkMEZbhNY8C9AIAbDFlVrvGdMEB/DSKIzHW6/zjGaURnQqn+4QpoKZc31/s3xLB8wcZEl6lvhXC35vB2FMVZiOlr2XTJT9ixzk/2twF+r3AsqmwAfG5GsO6WQ3hI6Vcox7c95z+75Tsq3xJNJ07+w5PvqVu/o7KxIR6SDblzN4ZQmmaKDKTk6FgtfstDn7EserhkA5durdp2H/8B7aj3UpB4Lk4WBmlIpqigdLryjiz0+qx6j9TfHuHJtMKg+gjgWdQLzUXKzm7MVrsMSu49xJs/e8WUqw1SZiZYpQofckTIlMTDLacvtxPLxmqqvIYSVF4x+HwTcuUizPjulARN7xVsrtTyMyqZJpGfSvwMQ4ZaOTrWYJVlcK6DKH4euRxZuhImSYuja7tO9NKFClIXmBnqyVM8hbr/TqzqekBqIGS4ldNc7Bu50z/PV14mVzTbEMKoQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: c34f91c7-c228-4993-76ad-08db198c3a68 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:03:47.0660 (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: 4E35swTZ+G9QGSQqjMssmy3+ryEXBZ1aOvkHJAWESpoCHI93B2rAaZ6ertJF/m3vNJG01VaIXjug4VUiywjjkA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4763 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxlogscore=999 phishscore=0 bulkscore=0 spamscore=0 suspectscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280106 X-Proofpoint-GUID: bf0CsAT9QjGJB7b-vKOqffNhgMqpJ1z0 X-Proofpoint-ORIG-GUID: bf0CsAT9QjGJB7b-vKOqffNhgMqpJ1z0 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: Eugeniy Paltsev Cc: Philipp Zabel --- drivers/reset/reset-hsdk.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/reset/reset-hsdk.c b/drivers/reset/reset-hsdk.c index 4c7b8647b49ca..92a37f30bd817 100644 --- a/drivers/reset/reset-hsdk.c +++ b/drivers/reset/reset-hsdk.c @@ -135,4 +135,3 @@ builtin_platform_driver(hsdk_reset_driver); MODULE_AUTHOR("Eugeniy Paltsev "); MODULE_DESCRIPTION("Synopsys HSDK SDP reset driver"); -MODULE_LICENSE("GPL v2"); From patchwork Tue Feb 28 13:02:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13154891 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 C5F0BC64EC7 for ; Tue, 28 Feb 2023 13:06:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230494AbjB1NGl (ORCPT ); Tue, 28 Feb 2023 08:06:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231636AbjB1NGf (ORCPT ); Tue, 28 Feb 2023 08:06:35 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AA7A2FCD6; Tue, 28 Feb 2023 05:05:54 -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 31S60tcf010583; Tue, 28 Feb 2023 13:03: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-type : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=OQfA2bVrJa4ntLAwG1aOF891hUbYSLmzE2fwBNA8CNQ=; b=Bg5Bg+AUYR/fpka/y7271xKYLDx3qJlbeftOLfwGH1Qoo33sb8nTf+n507/udehs1Hys aXJTne6iGirmPeVj1F5PYod0Ba8qklX/QzOAMKZyP8mrjC0k1UcEjA7+FuJ4TKvLO7QF S25fyUVDGUcs7oGqTKEo9CfZk7ZH/jUswfMcYVH8a8YnLmgjGhvfIcRChQ+0GqehW8hP IvG/IDr0pGLwFT4+JgW2+zHJzQX5eZm+tbjRtArCf16Kh9YrTC5nQbQXtTO6KYxdrqsS J3Hkza+lgOtRgDjxLAwhvAySH/QoB9FVpts8eBvZTotkOP/175B6OgFiCqOnDNBWBy8u ig== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb6ee62e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:54 +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 31SBHvEW031632; Tue, 28 Feb 2023 13:03:54 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2045.outbound.protection.outlook.com [104.47.74.45]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8sdh8ed-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T6d7MsHwOsR+ZvDeKAIeG9Bcm78qrdBPnc8GkFib6iy3V7MYxTROx7iAOlYt8wJmb3CDVwc67xIiazBJqiB/SQaz2981GxUjK0M3bWoO8EpeQ4NYnIfPAicof56gJ9uw6BxAECZb1udcHUK2s5g41HIuQfhEtweXEHb44xFdoqV2afPeQEdYlg917ulAUi8drf4VH/J/gtdgqX/4EvA6WjT5irzjUN39pDRxt1Pn8m3XpWprJJ1WArGO3QsZ8qfEHcyo0ESqktk2dtX80Ya3uDO+VADlLFAIjAxZgGQZemG+n4/lRRsloGeVZin/+TOt9qpeTXMNdA6RJP2dPm0lYw== 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=OQfA2bVrJa4ntLAwG1aOF891hUbYSLmzE2fwBNA8CNQ=; b=Z4GEkGsCh8THi4o7AHvm9M4UfHh6QscG4IsMaiG7fhi+Zn5bAzxwSCg8qjz0EoUWKD1jvmWpWbTA5f8I/KxX0QC16+vJLiMgtkW5o3hh5YvVdtQzNJ4AzswyzgCzP5DJSEdedHg7sgZokpdctKi5VbuBbdbXwEDa0qVpJU0mf8sHaYwfHvWDfWGS19E8J//pCviEXlBDPeX4VNBTKKVaNvk/Ea98waivKJ8j1onMHqmUUbxwjUX0BlYp/HK8PXBSL2DRblX3LtP3ywmbI0V/haL2v59CqBLL9V79Vc6UxaJQxOalN7pYlKVh+/9vOBShQvxmF7OX70JyHccQ4nBYIQ== 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=OQfA2bVrJa4ntLAwG1aOF891hUbYSLmzE2fwBNA8CNQ=; b=IWLch45HE/HKWMe1UTV/x/XrbyrTpWCCLh1ku5yGTkjK4+i5b52lZwrMdOoK6UMrGLp/mp6iC/e2M/vKljs4XOfIm7GXJLRAimFuK0UraboG5lPr8Y7nN9Gs/ERFYAWICzb49G4RTBrF5s7Cx/s+tSg3f7UhW6dmhJIZV6jlwWs= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4763.namprd10.prod.outlook.com (2603:10b6:806:117::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Tue, 28 Feb 2023 13:03:51 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:03:51 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Sebastian Reichel , linux-pm@vger.kernel.org Subject: [PATCH 19/20] power: reset: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:02:14 +0000 Message-Id: <20230228130215.289081-20-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P265CA0149.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2c7::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_|SA2PR10MB4763:EE_ X-MS-Office365-Filtering-Correlation-Id: 73311f4b-c918-4d0a-5265-08db198c3d2f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gPqMXc7qnf7t6LlbUWOl9+ePt1W9yI/4pqKi15yp+DhonGOs/szSRW4bQdzSeIav3bYzaHNJmZeRUkDletcVGczkCKf+axkk+poC34mGYfYKIk/ZlWVV8kQGchHQp9/9DgoecZaHt0qnV+K7VbUnhGkacfnkYbjsuhYngcZUT8n1cb3M8WPkP2UuszCagENjauvN1o0V/hXyV02AU9DRfDvaMGhBcvRUjD1Oo0rg5xlX6TgNUsouq4FSxm1yWxVhrCxRqAmTWaLy19Ix4krjxfLJICyJkRw9CVHNC96IR/0FrR16dLnxz60O1/eWcY6k/+zaEEM732bqwjODSjguPzyKHVg8K2QPG8mDbMoYm1vEfKY4loNPCgkR/xhQxXFgRIQvDm2ge3jCYVuNZpXpiJX/ptsTxTKPFTGmJYzp+Jpz/YXH/pbuurre3VMxMmnAuMID8yho3srLhCHkzSJZmm5YQn90LQU8hmrBX9pS/MXOhIH3AM3GGUqe7xZFTVjgNH4QD+MyNq2jrno97f+DHx8JaOj5mijQWQ8iHaB4NVz56FfdghUHfeo2I8xLx/ezsO+7UTKJ57xYzGnqrNpIkkToDM8LVcKaZhvWDDwvnAJ0nxkE2lEfpZLpOwJ2DWSYEHCOYld/1ajD1q/JU/JtPQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(136003)(376002)(396003)(346002)(451199018)(66946007)(6506007)(66476007)(66556008)(6666004)(316002)(6512007)(1076003)(186003)(54906003)(2906002)(478600001)(86362001)(6486002)(36756003)(83380400001)(5660300002)(44832011)(41300700001)(8936002)(8676002)(66574015)(6916009)(4326008)(2616005)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?TOrD7D9TE1PuF3JVPVPBN6NOecEj?= =?utf-8?q?csbNZagPrnU7g1pPeeiIRLdGcHeRdHf+karwPBQp/ASCUrCaQ4UsIWuOsMHn3PpMf?= =?utf-8?q?ECC9D5Yw8t7UlxGMCbzmuN7QpKgdd5P4pRc3HKFltFSDeaJ6ARtt2UUwxZk2cys8I?= =?utf-8?q?WHHbOEDRo99rJ075IEWgTWVZw1RiRzIrkavanHHenRd0Cbm6sLKS3yu6j78DrlpDt?= =?utf-8?q?6cBDzN7XMqCMZ1+Io+t3DC3k1HK2AOeNvOdLTmD2bT3hqaS9e2XsJ65kcCX3NpA4g?= =?utf-8?q?mgDCW+g309OuutL+ZNZH0ATTbNe9t25R/p2cUamaYvSl+fMqsaQ0ej5Qx1V2in0af?= =?utf-8?q?UWxyqdoa3YM8CajDkPZg3m3RoFvT+Cnl3kHfWKdBrrVTHCjSLMqwhpS+xtaUCqAOd?= =?utf-8?q?ypATIfTgjTD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Jko3Cm6DOglokhfCF60LoLY6djtebFOYtvyy6P4PdAygpeZzUIk5tVGRRLssmvW/MfMI9ppGfv5INCqieowsGh9fgErujnsUvyH8ZpcucPl6qCGwhvmVCxN1rzgHV0L2LBQ1c3Rg5jbs4Tmt+QW3VOdryLIrXUuQzIIViLdjTXIu+P4nigbk7 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 73311f4b-c918-4d0a-5265-08db198c3d2f X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:03:51.8043 (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: 4Jg7rm3LVhgsE5EY3ONWKfoLFP9/zQLuZugCl9FwGbAXxRu23yIvxTi+zgRrNBfqWB66w8Bn1f20soD0y98BFg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4763 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 bulkscore=0 malwarescore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280106 X-Proofpoint-ORIG-GUID: sIoPIZguO5WyqlwxORYEAbgTgWG4CTPI X-Proofpoint-GUID: sIoPIZguO5WyqlwxORYEAbgTgWG4CTPI 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: Sebastian Reichel Cc: linux-pm@vger.kernel.org --- drivers/power/reset/as3722-poweroff.c | 1 - drivers/power/reset/gpio-poweroff.c | 1 - drivers/power/reset/gpio-restart.c | 1 - drivers/power/reset/ltc2952-poweroff.c | 1 - drivers/power/reset/regulator-poweroff.c | 1 - drivers/power/reset/restart-poweroff.c | 1 - drivers/power/reset/tps65086-restart.c | 1 - 7 files changed, 7 deletions(-) diff --git a/drivers/power/reset/as3722-poweroff.c b/drivers/power/reset/as3722-poweroff.c index 661e1c67f82ee..80edff1a556f8 100644 --- a/drivers/power/reset/as3722-poweroff.c +++ b/drivers/power/reset/as3722-poweroff.c @@ -84,4 +84,3 @@ module_platform_driver(as3722_poweroff_driver); MODULE_DESCRIPTION("Power off driver for ams AS3722 PMIC Device"); MODULE_ALIAS("platform:as3722-power-off"); MODULE_AUTHOR("Laxman Dewangan "); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/power/reset/gpio-poweroff.c b/drivers/power/reset/gpio-poweroff.c index 1c5af2fef1423..84b3c3528afa1 100644 --- a/drivers/power/reset/gpio-poweroff.c +++ b/drivers/power/reset/gpio-poweroff.c @@ -105,5 +105,4 @@ module_platform_driver(gpio_poweroff_driver); MODULE_AUTHOR("Jamie Lentin "); MODULE_DESCRIPTION("GPIO poweroff driver"); -MODULE_LICENSE("GPL v2"); MODULE_ALIAS("platform:poweroff-gpio"); diff --git a/drivers/power/reset/gpio-restart.c b/drivers/power/reset/gpio-restart.c index 5466eeea261cd..35d981d5e6c8f 100644 --- a/drivers/power/reset/gpio-restart.c +++ b/drivers/power/reset/gpio-restart.c @@ -139,4 +139,3 @@ module_platform_driver(gpio_restart_driver); MODULE_AUTHOR("David Riley "); MODULE_DESCRIPTION("GPIO restart driver"); -MODULE_LICENSE("GPL"); diff --git a/drivers/power/reset/ltc2952-poweroff.c b/drivers/power/reset/ltc2952-poweroff.c index 65d9528cc9899..eea05921a054b 100644 --- a/drivers/power/reset/ltc2952-poweroff.c +++ b/drivers/power/reset/ltc2952-poweroff.c @@ -317,4 +317,3 @@ module_platform_driver(ltc2952_poweroff_driver); MODULE_AUTHOR("René Moll "); MODULE_DESCRIPTION("LTC PowerPath power-off driver"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/power/reset/regulator-poweroff.c b/drivers/power/reset/regulator-poweroff.c index 20701203935f0..7f87fbb8b051e 100644 --- a/drivers/power/reset/regulator-poweroff.c +++ b/drivers/power/reset/regulator-poweroff.c @@ -79,5 +79,4 @@ module_platform_driver(regulator_poweroff_driver); MODULE_AUTHOR("Michael Klein "); MODULE_DESCRIPTION("Regulator poweroff driver"); -MODULE_LICENSE("GPL v2"); MODULE_ALIAS("platform:poweroff-regulator"); diff --git a/drivers/power/reset/restart-poweroff.c b/drivers/power/reset/restart-poweroff.c index 04d4228119b2c..28f1822db1626 100644 --- a/drivers/power/reset/restart-poweroff.c +++ b/drivers/power/reset/restart-poweroff.c @@ -59,5 +59,4 @@ module_platform_driver(restart_poweroff_driver); MODULE_AUTHOR("Andrew Lunn "); MODULE_DESCRIPTION("TPS65086 restart driver"); -MODULE_LICENSE("GPL v2"); From patchwork Tue Feb 28 13:02:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13155041 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 8E260C7EE32 for ; Tue, 28 Feb 2023 15:38:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230090AbjB1PiL (ORCPT ); Tue, 28 Feb 2023 10:38:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230089AbjB1PiK (ORCPT ); Tue, 28 Feb 2023 10:38:10 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33DFF5BB6; Tue, 28 Feb 2023 07:37:55 -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 31S6I6YE028420; Tue, 28 Feb 2023 13:03:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=xF5NE8Rq+bslCgh2SnoKUFVeH2z/fWJcA0jzMh7POr8=; b=SFK0NPWIfrbMUsaravFS1KQR+kQHzuWWEnPSHKJ+wPXd1nyb00ZnelX4m24qn5crwG86 gNTaEwpWoZaqGNS1ANSAsdWv8K83f6oKoQHEz9qniRIc3Xfr/5bPH2QXwWuddtbDitFI BIRPgkadKYCH/NT+AuNlU0JllmEk1J5GXTttw26K6F5srhdvvCe2WwyYTqQBRHeOmctO zjyh9eVUROkHcmWYT/VJRxynKpR4i2yq51ycNIYqbnzofA35f7FjewiEbx4HTt7o9oNA 8Cltp+81g+mOfEJ49+sgrNCCP4jUA9Roi+6Atvq+4jIQYcjWrkZb41jwu3F0GtYMz8SI tw== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyb72e3rm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:59 +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 31SBrnwN001235; Tue, 28 Feb 2023 13:03:58 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2174.outbound.protection.outlook.com [104.47.59.174]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8s6gg53-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:03:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jKwM3OTx89io7DP/e/7u6xDSRtPJmI2a3+MllyRqfiGBwlHew5j49O2AVgMWo0roWIzmD5fwFcxl+GajvRmTv0l6GGuqYC/6m9ByFsqagwkXA4v+gZvrWyhSediRnX8kjL1cM82opC/X/qNfwTKzrU1+Zw0pqfJRbe38dl1pV206lPiisC0Nd0HYA2QdQoRqFuUL69cQ8Re6YXzHuHHJv60C6A46rhON7qBbTZKsq1y3HdrIMTijwehRS1XNv+5kOXPrDv8fN6gl1+ETy8SC0CkOGJxWoI6doVmK+ZlxskZI5m0H1Lv8wpK9gvuhCH1uUW9fYum8DetGRMusCjRNGw== 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=xF5NE8Rq+bslCgh2SnoKUFVeH2z/fWJcA0jzMh7POr8=; b=GtEn00NTl20L59Scy01yM3Hj+7bcz3kQJAGeZB9VxPgxEaHzRrrak7F/2BhQ/aCBQ3HnXpkUoXAY8ClEcPwie0g3L7ilr1PdyD4UxUkxpUJfou9U5q+6v8hfU83sXy6enQQ06cxftHaafcDfoI4weRhINgwTafOPpzI9amen28mR3fv2NeAeApzce52v9M6hUjt7cKCpJFEiY7tQyu0qswiYoojwRpxFp8/IIgB2aP2n7ZWpTqQGgmay4rcvWA5ecQWWZXr52T+TABmzogpbGxNLmRF6RglMAn2Nz3aCGWS/CJPZG1t7cQQ/KjhBw190qBQkXPu2dopCxgb9z5LnUA== 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=xF5NE8Rq+bslCgh2SnoKUFVeH2z/fWJcA0jzMh7POr8=; b=ARS9m9NaC2oJqdARegH+fgCxiI18tdBkRvXyNkO+Fht+qpMLkYOIyQ8qxebtz4MgbHGNO5U38lAJeQ2wfNWU8nGaH6Xh3bq2VtnnVPziXKPXKFlfZuqFX82JlyJY6Ci+OaoB/k5VU9gt9nYUQs1Y0kGm5PbJJNHxoyXEO0f63nA= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by SA2PR10MB4665.namprd10.prod.outlook.com (2603:10b6:806:fb::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.7; Tue, 28 Feb 2023 13:03:56 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:03:56 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Thierry Reding , Jonathan Hunter , linux-tegra@vger.kernel.org Subject: [PATCH 20/20] soc/tegra: cbb: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:02:15 +0000 Message-Id: <20230228130215.289081-21-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P265CA0113.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2c3::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_|SA2PR10MB4665:EE_ X-MS-Office365-Filtering-Correlation-Id: 927700ae-1eef-405c-5d15-08db198c3fe1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QfeHC+q7KTciOEHRf2CJ9jtOPN8NgfwjTw8TZrC34aIDzHajGZ25Gu/xFc12xRtsQDKN5teuPnB1IWEN8kqLtqfDzv8CpguV2XBR//bLvYykUEp7xEcZ1dPv4P1I7G9SEZN+TnyVTtPxrTtsWXJoHe/e7jP3eBhsj7DvKaOOMgvGybM+7T5FQUHI3jZvfU/3djVscsib4qLIwqWb7+YMgI/YwWD++LYGlSjEXLIstiz8W7VimNBoduGyj5ewwiTppDS9G2a8tTmR22L03oY63tYFCIyZXuoGTQrSxFcPU0ZEP67uMDdra5/xA52F0fUFtOH1kNqxMRYFH2ppchcFdFfPSA1kHuEZ6RYVAW+9igGaVsbBmy9oyuhlJBRfmHmom74yayxseqDObz6atMvVMYPO0diH4fInW6JGDSRowkOELfqXpwOUubdsfLoyUreSNHMQrlzys4WKD0zy1MW+JVL8zep3zW/MGmRUDBKWqw+IvfhFep0H7hRT0neJjxnmw6vX/Nh9KBqkWVOle6sglqeBtZ4ZloMILFNcbi+h+pz15+57pt45FwlzpdMd/xWOHkezSbayYdOGq6hYTVqQaPSYf/S2CVS4ZCrxCUmlISx5hUfyIXNmpfHowuuYl+wNtEHnRKBk0sHLb2ecFGwang== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(136003)(346002)(376002)(396003)(366004)(451199018)(316002)(2906002)(36756003)(44832011)(5660300002)(8936002)(86362001)(6512007)(6506007)(1076003)(8676002)(186003)(66946007)(2616005)(6916009)(54906003)(66476007)(6666004)(38100700002)(66556008)(4326008)(41300700001)(83380400001)(478600001)(6486002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: yC9cXXj0SPYsokaG/ZgsM/L1NgdjkGFdWwQG5DwJ2W+8+0PoswELe4Oqczb1J0f/zBTQX+BaSJWs1B7NdwyXGWFAJRMnBO9w0JY3ZU6fSDmOUk61nmsyH/YRe8kd6n6Y0hmszMBPz8qSJ7UYRx/tqfBQ9QfxyZ7PyiCWDhQV0uNc9khcC9DH03rXlx57XzY44Ys/H/ew8Le+eV2pGg3jYVpp/p5NhBBJGPXyssruk/BfQxPPzuOHVCPhAd2jSOyjcFVc63BxTT/MpWseDSTBL/iAZ3s8JP5VxRz6xQiRczEQu54jfLDvtAX7dweyB12P2KwrQIZmIN9viEOEN7PVDs//PD2+ZHJmrzSIQtPsn9t1k9XnQK6meCmJYlp9/G1Dz8b0df2z+MQ5ki/qh/JpXSCO5uv7Y57JV/7lv6cTMhsdzWuOtwjFYpXKXV3RVUM8N2djTPyCSGPE2l1YOlWQS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dbCJ3ytFAFYA9+t X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 927700ae-1eef-405c-5d15-08db198c3fe1 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:03:56.3251 (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: V7s/kEl2JMOM0+c94zUbBmazDDFhbvthLBz+IrMq+8Xk7avNA+yIr0l16NeQm1ZHQ7B1J6p6EXxIwyCRccZctQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4665 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 malwarescore=0 mlxlogscore=999 phishscore=0 spamscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280106 X-Proofpoint-ORIG-GUID: TK2GnuY26DoGoAuANXAvAqfI5cw2nMcD X-Proofpoint-GUID: TK2GnuY26DoGoAuANXAvAqfI5cw2nMcD Precedence: bulk List-ID: Since commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message. So remove it in the files in this commit, none of which can be built as modules. Signed-off-by: Nick Alcock Suggested-by: Luis Chamberlain Cc: Luis Chamberlain Cc: linux-modules@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Hitomi Hasegawa Cc: Thierry Reding Cc: Jonathan Hunter Cc: linux-tegra@vger.kernel.org --- drivers/soc/tegra/cbb/tegra194-cbb.c | 1 - drivers/soc/tegra/cbb/tegra234-cbb.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/soc/tegra/cbb/tegra194-cbb.c b/drivers/soc/tegra/cbb/tegra194-cbb.c index d4112b683f00f..a2347e5b7c00a 100644 --- a/drivers/soc/tegra/cbb/tegra194-cbb.c +++ b/drivers/soc/tegra/cbb/tegra194-cbb.c @@ -2359,4 +2359,3 @@ module_exit(tegra194_cbb_exit); MODULE_AUTHOR("Sumit Gupta "); MODULE_DESCRIPTION("Control Backbone error handling driver for Tegra194"); -MODULE_LICENSE("GPL"); diff --git a/drivers/soc/tegra/cbb/tegra234-cbb.c b/drivers/soc/tegra/cbb/tegra234-cbb.c index f33d094e5ea60..7268bb7ef448f 100644 --- a/drivers/soc/tegra/cbb/tegra234-cbb.c +++ b/drivers/soc/tegra/cbb/tegra234-cbb.c @@ -1218,4 +1218,3 @@ static void __exit tegra234_cbb_exit(void) module_exit(tegra234_cbb_exit); MODULE_DESCRIPTION("Control Backbone 2.0 error handling driver for Tegra234"); -MODULE_LICENSE("GPL");