From patchwork Fri Feb 24 15:07:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 656620 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 D8FBEC61DA4 for ; Fri, 24 Feb 2023 15:09:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230173AbjBXPJM (ORCPT ); Fri, 24 Feb 2023 10:09:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229737AbjBXPJI (ORCPT ); Fri, 24 Feb 2023 10:09:08 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7541938B5B; Fri, 24 Feb 2023 07:09:03 -0800 (PST) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31OEn28e003371; Fri, 24 Feb 2023 15:08:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=CiEDBspRIilkMICfMhJGRQGGxt0SEiW0KpnT7xM6t0o=; b=uCzWUV68vrTpWTQK48jsvvGD/3bOuMNBcP1eehSoiFUezicwoy3O6EHR3ysiZUbPhl7+ uz93QXJN/6mj6ByTtnzL5Jf79yPpguMJcqNAtfbCos95USJlLtT3ksGI6YphxaVE4wYT WOZ8NCcW/GRLJpcbuqBU7iy3lCT4OQm9X3c0BfMqmB9RJo6EShl9bn8x0B39KTUTEiOr mMA8gzonMN4oDUDRj+65hU7sLFi8S5Lqi41fCO70glAmGCiTQ/0RMO6s/mk3457cu3hr /PUTqFlEuC6O+dM6IheHPiY8Nh3xmyQra10oU7kJGGhqsAdCFhmX208lskG4mP9P+f6L tA== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntnf3nb9a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:08:56 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31ODI1FY017898; Fri, 24 Feb 2023 15:08:55 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2048.outbound.protection.outlook.com [104.47.56.48]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49v80m-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:08:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oWqeSUtEcGPsbk6+cyL+n1E/rVUKuq92yHH9r8NRNeZz/YcEtchajGDCpyCxZOItNaRjspZK2/YDeBjipiRGLb32gozC7mXZkY5Kox50y+4CGo2DtaqA66E3cirLIN5AmbevNIc9ppxXKGDyPprpXwIyHVSYNAV34hq3I8IunVIc8XGz97JALFwuGI3k0ohjCXjoJRA3Gir3Nkr9B9+TPEA08KtlEUogED6DYcvPr0AGHfDPvtw5p6XMMcCWFWfVqeLqOAFtwF65UZJ7DIsLhW3Y+uDvm4753pt/5jU99+1k+nQOoVTcqnYD1NXPTtBGXbSwZzq+EAfMQ9SmTxA4DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CiEDBspRIilkMICfMhJGRQGGxt0SEiW0KpnT7xM6t0o=; b=g896FT9tiu9cIj7l8BGR0bPd1Y01tQVJsFG2c305BR86+25rV7Lc4W6jLxTjw5RVDWum9D99vfRmncZCo7yXoUbtbcTBBnTAwp7TClF2wvISiWw0tiTyRRj2SUkaE6Gq6LwkN6W8/JviRSdIlbge9xwgHlySD1hQOjKxZJ0ujnmCgFSa//elrJ6Q34fKPq//4wzJ5lvA2R7+1yDfcT4hVVRNly/kN0yDp8wYJLIithtw17Bh1d7wEB0VsQJBBYsVGdmGY47fuEqFP1SO82WYK/djYRjE7Uc7kFpPIATUxPahbS0q5KnsYkjx1uTYUoBMDyFy90gdoFc1qwVl9VrJxQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CiEDBspRIilkMICfMhJGRQGGxt0SEiW0KpnT7xM6t0o=; b=jW9O85b+n2UtR05v6j1JJB6D39wpGeoOvDtlPWmRju1s7R/+q2xMnRHbEfUX7gfGHmwIovstwB0iw9YcOqjECi6nwXRFq74QBVdu+DPmWe+6zdfyOOnLlC2qn45h5eI/dICZTp71RYW2Pg6GXL/pZ3lddtLKYs34O78eBu3zMBw= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by BN0PR10MB5303.namprd10.prod.outlook.com (2603:10b6:408:125::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:08:48 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:08:48 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Srinivas Pandruvada , Len Brown , "Rafael J. Wysocki" , Viresh Kumar , linux-pm@vger.kernel.org Subject: [PATCH 05/27] cpufreq: intel_pstate: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:49 +0000 Message-Id: <20230224150811.80316-6-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0112.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:c::28) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|BN0PR10MB5303:EE_ X-MS-Office365-Filtering-Correlation-Id: 083a87f1-81c5-47d0-5955-08db167907b5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lWUE+JabOhe3nDg4imzxOdWpVumajTsBKJ3FCUspIHmIDgmOAXe2zx1/E/OqleBD3E+F5Z3DMZ2JXWfe5h4BacZeNiyBgBYcYleiQNZbqP2nxFnVKbjNi6lr++PFRl2kvtlB9hRPUkZQRNjG/GwvXlwSoRBQlur7Oct48KEMW4/mGrHA1oaSHrtDpq3ff0/jXrrtHiMhelZe5NY/tQ0YB0iZvAnVsHnzJcSoNk6T3WrjI1MepgRuHWPeW7Q+UnGuITBVsT1ToB6BsP8z1EwTpOGWJtjbTynLRfT+HD8LqTbX9wtIfTX2g37fZ164XBfAoCiPuD8/QNrINiZaRsXPCqGl4xWGUEUSqX0ILmREX9DbXr4alL+z8P7I/76JAbdncN9Ey4vtUiM4L2FSwqMjL4mKst9vARshTjMoQSryi6rd7uplUJaKa1VIOQf4BIrE1sqWPQhwECmUF8yKoskTivk1lnImrjMUvdPVgihHNolLMESARHHxV1uwvImF87WuAB7ot5S3tHqp0NwtY1G25shwnsOVBjo2ctM2LJwGAlhPJK2G5JAUmYF+flS3x1C1/wpS4KFlISiqRhOzS4Gf5f5FyT1Y6SizRrE8uDp9YBzJHZqUUkiTS+ImmRxZ0MdUWtcB7ldt0jLHab9bByYKtw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR10MB6798.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(396003)(136003)(376002)(366004)(39860400002)(346002)(451199018)(36756003)(6506007)(83380400001)(2616005)(1076003)(6512007)(186003)(8936002)(41300700001)(6916009)(4326008)(44832011)(8676002)(5660300002)(2906002)(6486002)(478600001)(66946007)(66556008)(66476007)(54906003)(316002)(86362001)(38100700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: yCUXOqcyhVkO5E35QwnS4/KwqtWsT4Dja8mus+UnSe0MApwMbp4BgQdgH3snzFRhe9+oNUE3SFxGz4sslx0GwMVL+YNDZG8TNX6eZvDnAfsthVp/QnSgkYewQWbHYolCdZvnc6Zln9g98cxom/hcsmT/uKfcnJW6PIP5iLm9M4EsK6YL9tQWD967A1GTEJqKT7OkF58vbz3Ddww0//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5kNaKld/nyiLzxvApMZfddxYhQdnnFLo0JenCyvpVGbx+dssBLb63NNlF+VqhudhDFKHJ3OJr4lXpymdUnYB32Nsc7SbkAffn7sgYbTiWqwg69xMCFnuA1wGstnffPoHDl6CgNrxw89qW3U4PHOWXKLLvDrrlgFTWrrLt7MnrHGQQpzLGXAuiS+YPikSegUcC+p2eM+aTtfE2fXtO6br0ATipbcF5uH9TqTiEr1YaKqpvtpHZ1NT9bmOrjvo0w6EZmHI3bg6e7P5EWqw== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 083a87f1-81c5-47d0-5955-08db167907b5 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:08:48.0146 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6wJP8DmCCZ6rPwtDhhxyF1mAeCEy8rLXge2OLpvBNG/j7jdKpPyp+EhotZxmEoouj2gbDfq8Qo/HGTuHQVsCtw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5303 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 mlxscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-GUID: fgRTT4lKkUIdruK1LvwDJJE0y0fmNyD0 X-Proofpoint-ORIG-GUID: fgRTT4lKkUIdruK1LvwDJJE0y0fmNyD0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Since commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message. So remove it in the files in this commit, none of which can be built as modules. Signed-off-by: Nick Alcock Suggested-by: Luis Chamberlain Cc: Luis Chamberlain Cc: linux-modules@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Hitomi Hasegawa Cc: Srinivas Pandruvada Cc: Len Brown Cc: "Rafael J. Wysocki" Cc: Viresh Kumar Cc: linux-pm@vger.kernel.org --- drivers/cpufreq/intel_pstate.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index fd73d6d2b808..0f3e1a1aab4c 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c @@ -3530,4 +3530,3 @@ early_param("intel_pstate", intel_pstate_setup); MODULE_AUTHOR("Dirk Brandewie "); MODULE_DESCRIPTION("'intel_pstate' - P state driver Intel Core processors"); -MODULE_LICENSE("GPL"); From patchwork Fri Feb 24 15:07:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 656370 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 52030C678D5 for ; Fri, 24 Feb 2023 15:09:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229891AbjBXPJG (ORCPT ); Fri, 24 Feb 2023 10:09:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229715AbjBXPJF (ORCPT ); Fri, 24 Feb 2023 10:09:05 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45C604FAA5; Fri, 24 Feb 2023 07:08:59 -0800 (PST) Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31OEoQUj007421; Fri, 24 Feb 2023 15:08:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=nXQa6Hq5cMMQDzZaxDz50Nyt4nG9YgR6lf2BBTG93Mg=; b=p7fkXkHfNYiRvjZMS29cTbx5DJcC/AXxEzlTq3EUm+UAVjpqoLWKgUgN43foD0utdvnr pC0cPeSBg88MlFlIWsSzgVdESwKUOY8HUVglh0Cmofhx0rGLsSgOdqMkyBusHRejpHAO B/qsLtaYey1VaavlEZmamohokuDerIt/WigoI3WCb64Zom9sBpFevgzFfNDWRmh9K6nH u3vwwESf4XN/igj/cclUQB/lKE8XhYUBE8/zthDNTGcyugpN6V8arDYyzUKRG1KDiVi9 mKckawdJRYaQYMM1dp0M4l8BqusBrbo8OqCKKkwpo73mWJEmBvttqZhcPL4pkkEOI9eh JQ== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn90wb30-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:08:55 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31ODI1FX017898; Fri, 24 Feb 2023 15:08:54 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2048.outbound.protection.outlook.com [104.47.56.48]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49v80m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:08:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LfGoS/t4pLOJzAKjPNfbMazZdVSWWeD8qq1GdsJX8gmWPVa9cGdXtkSZaGxTECuP9ElOqQkWoXJf7LP3C/fb1Cyo4gwsNtJxefUoa8wiCIU0k8ZAkFAkc+2ABnqwnudZ+O+bWbZcKm3Pu4SjNaR3wUQWsIDAFIfVQO6JwXKbY5Wp+SX0XfhKDScaL8fJ5xZQxvPxCOw8wGRSZSMFjzNSUYZDezKvVL320Npzc3oEVxWrM4xpz0j+lFuAh2WIUHpuaLXHX9MRZCCYGOvwNwIlLf/8Ly7s0YkLp5zBhxBqED+W7AgWQbzWT8Gp3OENawdvsq6ZrwyVyu4giAgNFE0hkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nXQa6Hq5cMMQDzZaxDz50Nyt4nG9YgR6lf2BBTG93Mg=; b=JKXc7b/rAXYKXvX/U9BIbxI0zrfLVGBhs+9thgnuY6tYjoPnuPc+YRmo8FEr2kJ1q2KUjyVm1UojhF3chous2cse8gwzmdc68RRdImuMQskWk3vi9a6LWEPKbkmkxnESuwaTXZeJgWKWy0BGUt+LqYa2b6vk3l0hehb8urkFJE/IVwEptZnqcuohEN+P4yiIz7HQz5NeFZYoHhzLx04yayQpXmOmqnvfWfMvNv+7T7NkqeJFfnmBaYSYlF1PbN3eJ5M7BIry96oiQaoskZx8zXcMGO5+fXXmcCZJWv8Fls/vdDyt6YrT43RL0EhARXgq6wuunGPdUYpUfgwd7IuaiQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nXQa6Hq5cMMQDzZaxDz50Nyt4nG9YgR6lf2BBTG93Mg=; b=SwainZDxPHQ3mnejP4vLHdDFr33KgBQ/g3noqtalnGSwxmSyOsc+g3M8bVQJ5oB4okxiqFhlXCp2wC8kPWQ2X8nSphwkSGlpk1WwbFR816wVUDMDMcWzB1O8umXO4xPUVc2TBRFfvFmen8dY+CH5chv55pejSvdjIcKDn7Qnuyc= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by BN0PR10MB5303.namprd10.prod.outlook.com (2603:10b6:408:125::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:08:52 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:08:52 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Georgi Djakov , linux-pm@vger.kernel.org Subject: [PATCH 06/27] interconnect: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:50 +0000 Message-Id: <20230224150811.80316-7-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0374.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18e::19) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|BN0PR10MB5303:EE_ X-MS-Office365-Filtering-Correlation-Id: 8647662e-4267-48b7-5672-08db16790a6d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yBj4LA4XlhcrwApg7cXdStLgUX3ejnzhXzEH20DZJqFf2n7PIEbpyqdUCNAWq5J34TSJg7feZB9qlbk8eIA/RnrJuNQN5k+teWViZf1LdzZNAYQgsVKC/y8mB7I4vIYT12/k6J7BllYkiJDBUgIo7PWufOdoVYokbUlNGu1e6+O7Ru5spskbQUMjD3NkzWpZ4uaAbe7dhIX3LeYOsEuuHzh5SJ3X/saazDdis5qKRgW/gPB1k66UlglC0xH8Nw6bIZCeX2OFUKi3fGtrEMoNCdWVoT91XiSOcqgLwKXIGoRxCu6je3lLkZSmT8pLzF69w6sZK/uhffQOJyMY9RHFBls/r5iHhLH4Vs/bnS9Pl0e94L1T6jxCkhB1Z9Lcu1keekvOeR4InZDuR64N9vGPim/f7BfYhZkabCuhl5WM4tg7131pXECzgBe7VGl2cEtSxpNTeb6lwEJz00d2ba1eVcBjtaI1TibAOQuZKK3Bfae21kgg3d1W9FDnfYLCqEyfPqnvps3L0SGcoSSMf2ay+3YpS/iSPysUanhOEXFZQSTYV902otB6Vz0/EApQr85wrndWro75zippFPLvOkleksg8/Ehpf/UPauIVinFYWyAjPwkHbbVtClh/iHQYoUDaUOo5vp0Pzu3hnCEs6be76Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR10MB6798.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(396003)(136003)(376002)(366004)(39860400002)(346002)(451199018)(36756003)(6506007)(83380400001)(2616005)(1076003)(6512007)(186003)(8936002)(41300700001)(6916009)(4326008)(44832011)(8676002)(5660300002)(2906002)(6486002)(478600001)(66946007)(66556008)(66476007)(54906003)(316002)(86362001)(38100700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6RmyBJKVct9KUvQhbEbWPf8bmoEACAABySEJgfwmENJBAlriXTAq/bN7Rl+Yl/if/VYtvI0VwWtmiWIaHgKIB+cLA1H0MnzdqfDMzEWDO4+dal8jsgyNvkxDSVZgS20GGRMD+YKSlqmPZZIy/i8uUWuv/r73JPgYyUWGJxCPZ7M/Km9P1uZ/NMM4V58Hj5f/Z/Mqwk7/ABMSq+8nCOvJ6gWCEvbysj1WrGAl1XUfmnTPrXighh/Y5AqpZEWPSaXvCn5VefTSObbJONap6HedI2NS+Ks4ND1oQfNU7ktCPsGbcnOhEpo7hXS9Vk8FkLxlUnkjXVSyioDfZxpmbesPhPKfe4D1uoUugoNpgwbsYoTZWwtwx1v2yGANthvAdCohgrfrrJfhqwhGZjeq3/kTefuCbumli7Wsi1Y1s+Z+86xi61EkO5A8pe/Qhp422NpPKKlk2JvRRKlEzuW8HP6SSacFxINCW5wuQNgMtVnQNGCdKkHo4QOj7Kbj5WTXtBn9AhQL2AFm0m1WOgAasidsxR/lCLescJRmTVdRul8q1pknurRaTqhA0GGy1B31jiWcTZftRs02WSRDsVzOJgHONJRo6pJYC0VjczzijRvQm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-Exchange-AntiSpam-ExternalHop-MessageData-0: R5LAUO8WzHKz0vJrI6ZNc2pprwVzpLf4qMpoKoj9Yby33wYHQCjQfpuD3zaThXVmMo7Fi7WaZoshWjGRkRGtTjKh/oWlBQPsFCJVBWCpvyXO0a3CGwm0HGOTGhoNKx/hpXPyaxxvSLBC+6bSJLV33JTxwbUgRo2f8xf/Dr9mWfp6vwwJ5tfoUKkpBpYj+QqLY+XK1q9rzgh89amkqQxrf97YUCDOuxIirFvq12UeMZKqj0ZQ/JYVb0uF5nCJ6spd7GjKVN5LWhfmiw3a2Zr8eqRV/TOhp8teT1eV/3v6CpOFeTBCE93elWvS8OmVQ8crbDQ5wwPoap8wo62hnEipRAvEv6z6O1Q6BX73iF4BkCt7KKdgJIDxmt4+TaSzK/c9Fwf1GMugCgUr96hLptbpSR51yuQMYYpDfHCqrg4w8IgnplhQFPjHOojAVrTnly5CLEjad57SY3VfRaB/97SaaqqXnUH8+NI3p+VDkygJXRXUy0IcaCetB/EP1pGu4fdl5nZwuKSrYx9yxXinwbrpCbjsHvjUVbgvT+MebE0n4z0q2za2Y44NbnVvQB7F1LcmU25Wq5qWgCVaaZdenj2axhndSFT5jLjwe4KK2FbKcbKaoXKqvSKM2DQnNd0EW2iIEWN1TFJHLWs0d0Sd56b2KezLSuE5LYwr85f2dsPTu1smNDdkXDYDevOBJ8wKGBAlgMvluDI83HpXQDYv+4zSvyTpVRYjZ26k954K0WMEXANbxHYbNmyoY35pTe4OFddJIJsHRAdGrRSJZsKCEqocUgmRMN701tW/X5kBVkkcxdu2RypFK5xC8vifeHP3w0+c X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8647662e-4267-48b7-5672-08db16790a6d X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:08:52.5786 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: T96eBaaLVY/kzhXbtzZ04PteOQ1YUhJDeNO+YQMBMXnpx5cRRhp2Bd7pmzIlcXaOxXaMV7+ioTOV42UYl3T0PQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5303 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 mlxscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-ORIG-GUID: d0AwGvKwz_GsBEgupHQP-s40AUf3BS9z X-Proofpoint-GUID: d0AwGvKwz_GsBEgupHQP-s40AUf3BS9z Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Since commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message. So remove it in the files in this commit, none of which can be built as modules. Signed-off-by: Nick Alcock Suggested-by: Luis Chamberlain Cc: Luis Chamberlain Cc: linux-modules@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Hitomi Hasegawa Cc: Georgi Djakov Cc: linux-pm@vger.kernel.org --- drivers/interconnect/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/interconnect/core.c b/drivers/interconnect/core.c index 25debded65a8..de61a639fab4 100644 --- a/drivers/interconnect/core.c +++ b/drivers/interconnect/core.c @@ -1146,4 +1146,3 @@ device_initcall(icc_init); MODULE_AUTHOR("Georgi Djakov "); MODULE_DESCRIPTION("Interconnect Driver Core"); -MODULE_LICENSE("GPL v2"); From patchwork Fri Feb 24 15:07: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: 656369 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 C2FD1C678D5 for ; Fri, 24 Feb 2023 15:11:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230034AbjBXPLF (ORCPT ); Fri, 24 Feb 2023 10:11:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229770AbjBXPLE (ORCPT ); Fri, 24 Feb 2023 10:11:04 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5774392BB; Fri, 24 Feb 2023 07:10:28 -0800 (PST) Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31OEo1Ab012036; Fri, 24 Feb 2023 15:09:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=4ylDccIUfnWDqhO1yL0oNaOMt8BcHXP4g8xqjvn6nDA=; b=nrgVjn1YTY5Qt0pI9Zls+FMQ2SNAugDFuIu7xXidYbSzr5HuglQG1uZIPaTx6Ux5sAAu LqHYVgcc2OjCswJ9lmzS7WT+heE43JM6x02S59h8d42Dv2v9PubbcOTBtWU9IZIQp0dW +g8dSGfYLtMH/GQIvHCU+m2bI9KnbLFWEbXrmwuJFHJQFujYzIa8WMlaL8HZbGoYOgq2 qXSq5oWcuXvHKQcPkZkapVUJq1PrTCTHrv23JUx3D7QyRGb0KIvXFXOlNOgAQgW7AlsN 1gy97v2Wp9omTOxzp0vzQ3pDeIQFj6LeLGoPjpqZqPIi1THE9BHJBNILUkO3dlJzTb43 Tg== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpjad7yq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:33 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31OEm3SK025885; Fri, 24 Feb 2023 15:09:32 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2041.outbound.protection.outlook.com [104.47.56.41]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49kfs2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cNLavepIuL54eGp46DEVFY9kAos7JgqspT9fj31+IlVWL+Kdd7jztuVC/R6ZdL8GyD6HPVg49jlMBXY/9bD9i3xQVcxfUqG3QEMvSMqi8OCFkkgJuf9xp8PvKZav1+phORdec/P2lXMt243/+ZehDhy6js46pnSl0rQVLJX3DKvzW6NGOBVbzxTkjmkSILpvtI4ID6vxdE3GnyeByH1foIa+i11ho6sTPL/MgVEaOjYZLRSYx5w7w+gAqBxseE2Pf+wljGLROJCC0Saiu4Mm2fp5QhvT3Q90HcIo8RC4ThXgwkCnboCQLKWiZ8RukbOAM4jc5Ssphsi50GSsItcEmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4ylDccIUfnWDqhO1yL0oNaOMt8BcHXP4g8xqjvn6nDA=; b=UWnl5oX/9Sacp7EbrBuOoP7yJn6rtHN/Gg41+zUSbS0hvFE3S2qDM0jg+TQQqI0Zf3uC4fEozxdgkGuvNx5w2Px4wE5w9Idh8p7JMG1pKExYo1ktlhdBRmBT2WEsvXIJO+xv/P+NYd8iHgGqImFzr2cZFvWLk/KMAKFhdKkDJkZlooMRtSLIR4O1exDj085TEa7xak4cYXvCzPS1taZSbiCDaz9Sw/zG8wM7wG5/DOWTWFeECSkic7h3zg74uQV+WXYUclHdlhtUHib/ahlN/bI/yQD5HhjpB4m7LWvrr6onmgm67JWsxPHw8Y7DP8VLzcP3Pt0Eg6GJs3ASUYUQiA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4ylDccIUfnWDqhO1yL0oNaOMt8BcHXP4g8xqjvn6nDA=; b=ykkgy4S5+gdWNBjL3EioNc3FZz0LVlOhkilWeN5FQarL9Lqwcx2T8mgvk9L8wriUJhhLBgHKCAZxMi4YPlpWL3oqVSrvzB/3dF76ilmwdvipG+2l6v2kXKaJACOM1YcxbwMfWz/KOZaM9Dr759yuBGGiWStK8MFJdpLqTaVE4DU= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by BN0PR10MB5303.namprd10.prod.outlook.com (2603:10b6:408:125::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.11; Fri, 24 Feb 2023 15:09:29 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:09:29 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Sean Wang , Sebastian Reichel , Matthias Brugger , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 14/27] power: reset: mt6397: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:07:58 +0000 Message-Id: <20230224150811.80316-15-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230224150811.80316-1-nick.alcock@oracle.com> References: <20230224150811.80316-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO2P265CA0430.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a0::34) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|BN0PR10MB5303:EE_ X-MS-Office365-Filtering-Correlation-Id: 308c56d7-ad51-435f-46b7-08db16792041 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kujL3MZfkJIKS9UU8SY6WU+pXVNZJ+RGb7xxl5cMU2wypviKjFj5LIliwUfUhQRtMtzFiNMJ1H6Y35ZTaeDROzzG0qURN59j98LIxu3kj9ydVW3fKnzE32VHmZfK7Vf+kmOPyyJf9fmG0BgR/fmmnnBG0HJot/0dcwdckTVvP5mnKd83IVnKUNI5JItYiPqLY2ODljoYULvtgAVHReNMj0TpYSl5eYHZsKJwBzv0UIBsBqbRy+wKWBFKt9of9Go8ybBuqX3W4cE2CY2zywtFBnfCyl6XWg/8SVc20JIzbuNP6tt3iBu/3FYP01bsRxtmTXiFUnX7hj4UDDrPQAc0dRsOeHJCPTcxnIOVMFfs3beVBZvD1rbd/DVyxOM4/EWxmHL0CUFRP0OQAHkkjT2Aub7slBsUpWPYTZVP9ac9NM3N409294VfbmGRhek+0w9kQ8anY2n3fVFwEHCqBodwu4Li77YcOyPQaT+ah76QZAH6KumQIREJa+JPXrPhit31E2+zlks0qHyXvK7ZY+pbnxDt/yC8/ltpou4Wbb44wP+LVmQ1Bwqmy1qFJQE3xdmdgtX1M0Ot8eLaArtAIyW0F7lD7zmP4lOlExis5FcOcdTkNmWoNrks9zOKot4WaGCM3BrFpT8QwWL2KKKq23Cl8w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR10MB6798.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(396003)(136003)(376002)(366004)(39860400002)(346002)(451199018)(36756003)(6506007)(83380400001)(2616005)(1076003)(6512007)(6666004)(186003)(8936002)(7416002)(41300700001)(6916009)(4326008)(44832011)(8676002)(5660300002)(2906002)(6486002)(478600001)(66946007)(66556008)(66476007)(54906003)(316002)(86362001)(38100700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qUyEspPJW0wyQvbh2ptt7BwDOhHanBF+HZVrha7KSN7P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dreXJhGUfAjlDlrPvR5TbRu0DjWctAOZ6cb71C7Q/kQqayu5zO+mZgsy8LywxqMrj7T46DpcLg8eyY3dDA71zu8/12HfVYcf4hdptoVgKIO/mj7a1ZeqlrhV78QA2SBO4AY8EFcWsKBb0HYPBMmY7FVnZFvn/Tz/3TmFID6QS+g1/Qk3aqIPkgYRXbLXDPAIqtNhVMYeOI9ZVHC8MqOY2Rii9fpG/0TIbork7yJKy/Xex4xob9EFWeqicc0dpGXxTsuWJuK9gmpctDdpLF5TZG695Z+e8mml6J2EXykO1VGaNg6pIXI3uVfvPnl4p95nB6hs9hu0VDMV3uT5HBKCZmP5rDC/UZN3EHvNXQ4IJkk85AUePIM2Z8aEKwNpQvU+qFZAOJXhtiYTVAqltncuhI9qf11+WiKDqtbpPAeEFh2C9qPgd5UJp7w2HpNCpQOfVvTTLLx3VCq5d5rwJuy8Yv3DG3POiW73DDaxygPucQ9lGVW X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 308c56d7-ad51-435f-46b7-08db16792041 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:09:29.1997 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: nNgpZOJ+opiOxYFn0caAAC/9T/ZI2IGbQ23sF6mY6rg8k66oND7pNQou7mzwqedyGbUjHoto0ED3cGqE7CWiGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5303 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-24_10,2023-02-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 spamscore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 adultscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-ORIG-GUID: uY7VfHO6pGIx6XyXcujNZ9RP3hqW7T3a X-Proofpoint-GUID: uY7VfHO6pGIx6XyXcujNZ9RP3hqW7T3a Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Since commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message. So remove it in the files in this commit, none of which can be built as modules. Signed-off-by: Nick Alcock Suggested-by: Luis Chamberlain Cc: Luis Chamberlain Cc: linux-modules@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Hitomi Hasegawa Cc: Sean Wang Cc: Sebastian Reichel Cc: Matthias Brugger Cc: linux-pm@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mediatek@lists.infradead.org --- drivers/power/reset/mt6323-poweroff.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/power/reset/mt6323-poweroff.c b/drivers/power/reset/mt6323-poweroff.c index d90e76fcb938..108167f7738b 100644 --- a/drivers/power/reset/mt6323-poweroff.c +++ b/drivers/power/reset/mt6323-poweroff.c @@ -97,4 +97,3 @@ module_platform_driver(mt6323_pwrc_driver); MODULE_DESCRIPTION("Poweroff driver for MT6323 PMIC"); MODULE_AUTHOR("Sean Wang "); -MODULE_LICENSE("GPL v2");