From patchwork Fri Feb 17 14:10:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 655006 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 A15E0C6379F for ; Fri, 17 Feb 2023 14:12:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230117AbjBQOMK (ORCPT ); Fri, 17 Feb 2023 09:12:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbjBQOMG (ORCPT ); Fri, 17 Feb 2023 09:12:06 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8D2D6C031; Fri, 17 Feb 2023 06:11:44 -0800 (PST) Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31H7hqBZ003551; Fri, 17 Feb 2023 14:11:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=EUkt+uREkBEJIj2nVJ6yFTWxghXUw9giR6sYjv6Azmo=; b=zG1tcaCjXlEjWEa2tnqSNdaS1HPzY9y8C5o7QlhHnZ3p3ksRYQxo2VlU5oefHzn1xf/r dIL7jX0c/pChcTQWTgYZDfJykiPQ5WBD9Mwtbb2QHmQZO8u1kkJ4VJ3xBH6yTPaU4q8l zANmaSy2cDGhtr/+u/pICxFh16nluvtm0lAYAKVtXZxy1puY7juyutRE5qhpKgM2Q8xd tkPzIFkBM7JznOdqAJbqpGv5+8de7IRUZuf/Xb70gpuzOdiFfMoYgnV7CcYCd8/LI6Cl ScCnZXfpYsu411j4wEdHDPBEUf9zXa7tQTcUvzScruiBSsqzcVv4W/Qns8yVkJ1ozwfe Iw== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np3ju5y9e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:37 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31HC5wNB019937; Fri, 17 Feb 2023 14:11:35 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2171.outbound.protection.outlook.com [104.47.56.171]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fapn1v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:11:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AkAiejS7HqRKrBYCb/Fj3O3OVNZBd75ObYEnxJEzxuVdFw+wSLwYuBPQJ/LbvF/R7xbEWhEvbxWgFtZ5MHx5crXewMSKNONAo42GJTQELM7u2Y7lwDXHr4KiZKaDhE+e1KQ+IKtH/eM+XVWYh2hY2QFEKYyPsGusx/2+mWpLsHznCeg10Qj1PTb11of+8VNXwrLtayK3y3mhjZdFVMuB/B1VY84KGxutxBzXx46A/llBHWk2qWFJuKnIOxEcVIVymAjxpx/iqeHkOOEhD6vr83EQnKIQfsHt4q3AxoJoE0isU0LmG5FHX3Wv22gn12ja/komc+W8VdgnJv4kasiaxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=EUkt+uREkBEJIj2nVJ6yFTWxghXUw9giR6sYjv6Azmo=; b=RglvJLDH98L3r5183f6M14WQI+QKqkY36ayYaXxonnZ6eYUbTsRUNZ+9fLlELkfpR9cgW9t1wGwysCPDGYCWLKiz631rf5NKUZyQhthWZE2N1aKDNLlgyqnflL8w5f8aEQq/iHwV8ZVvVr+9KfwXQ4+tY4PzbfuAgTO7HWujVDPiaYXuvuBKqzjIt79mjaXlW1SRa6sdkJXZGO/qGpkgqn/ULYmNKXdPcxVDVShQYo9kP4umcRIiSRIT3fHdgTycdBsOp7/oaTapcupEzbarKNXhfKuPeBfL+bdMpQXf91Cn+K3qEdqVvynjiLm0MdcOOF3S2gcuhD1OMsk7kmNTHQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EUkt+uREkBEJIj2nVJ6yFTWxghXUw9giR6sYjv6Azmo=; b=SvYlurYHQr7zJdOMwLwIbcgiUoB40fka3RHrfHOb9Chou7/HInyjpOaMNcNcNU2Z3Xpk31wkd75/sRJhopnsDLwfkCn7Mk62UEPQeHAE6T0Dfn3eMSfHRnKBiynQgW5igfnSXVNH12W/XkGxDQYmoBdFKrsC4I7KPH1JMTR9wNQ= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by MW4PR10MB6420.namprd10.prod.outlook.com (2603:10b6:303:20e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.12; Fri, 17 Feb 2023 14:11:33 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.006; Fri, 17 Feb 2023 14:11:33 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Huang Rui , "Rafael J. Wysocki" , Viresh Kumar , linux-pm@vger.kernel.org Subject: [PATCH 05/24] kbuild, cpufreq: amd-pstate: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:40 +0000 Message-Id: <20230217141059.392471-6-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LNXP123CA0004.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::16) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|MW4PR10MB6420:EE_ X-MS-Office365-Filtering-Correlation-Id: eb5f1711-cc1b-41df-b067-08db10f0df87 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3FWZ3g2NF2+y76ALinvmTSwpJZJcfVHGKz1+TzI2Ju2RmnStMwrtnnN/ztXCmvENEI3/e9yUkgcFo10cziamAqjbQISqMpBG3AxI9rK6bfGxDlcW80jiVBh6JxPmhJlc+1iOM7hI8db767V97C/VbldKg3aGS+ZwTQTIuS3V0zwaUtuaV8jnHSeToOUJ566CBdGcTjfZvixvFZCzmbE7NakdQPThTXuWdAJMtOnL+fo87xEtGNuwdJCaOTlEGyTuG/qC+PbjzYuRTWtoiM992THnkD32FD1FFX5NtCmhdmU8KTcrsSbgS5wVkjD0Ld4zVJdPZLc9IQt2Ijif9vlkJgMZl/eAh39Pmu1n9tOcP+xVUWlMzbgtVzHFfU9puD4goYvP0Jx+V0L1iPqJP1eYe8Din6/dffVLqYgk2I7jKdBJMFyvl9Degacbn3Wd7jyDorkh3mjEgFXtGkHpBAQ0SMSsMPLAxTeDkoE4zKT2eicKldNHcTBQ6SeomWvFr8giomDWebHi84qxmBW7rsEnXyDlaIAFRyFBk2m4PDeH2NIFTI0v5nSWWQCT7l1LMJ3dU0WKIVTBtiLNhxH83/VoOiZUIWQoD3qSn38AVCq7tR05lo75RNlc0q0pw4CYcD6FGTcBwbFSoavJv62pr4xPtg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR10MB6798.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(396003)(346002)(366004)(376002)(136003)(39860400002)(451199018)(8676002)(6916009)(83380400001)(54906003)(1076003)(66946007)(5660300002)(8936002)(2616005)(316002)(4326008)(66556008)(41300700001)(66476007)(6666004)(6506007)(186003)(478600001)(6512007)(36756003)(86362001)(2906002)(38100700002)(44832011)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: dhjL1Aas1ewl51bhkNQUwGdsvJ5KFRIJh4Q6uKuEVlQr/AmXqZxRrOiPPFsHtUHbrPcMGlhdCU1hMO/9tYGNTsYX7CNhF/7N70AoGQ5qezplQjRgfP2cXQ1LucNZoFUMo2La2BOtWFNqDuNTqNT8Mvsn8SV9jXIqtyHE7X3GpsZ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QkPm4VSiYrOe14sVJQkcoC+K7BgKzMFtdBby7VNPLLXvOEgEl80vEefV+isSPk0llurziK7MxjUEIhzoWces1syhONjNf6TCPi8bNC8f+FhGfXRMg5wtyxOcQf8MenXd7uZryq5EUwakK0CU6YefvOltZ2ZK49SnoUSAmR5mXbvY28KdIBoDRt5GXVAIDIMf6zOw7UFr46Z8dC/DwfakEBUPEX7dQUytJHvR1Udygddyc0BlHnzjRWlg3+KJM14nXeE1a7FltWZPeVQ7sZeQ6c45gxe/f5M X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: eb5f1711-cc1b-41df-b067-08db10f0df87 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:11:33.2871 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vQHSuGJujPg0003uQdxp9bdzxlQKsUIU+7U6dw4Z8Jg5QAkzpogt2Qos8SeOr0Q88F65Ck/pPxqQv5v+uj7FLQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR10MB6420 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 mlxscore=0 adultscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-ORIG-GUID: DRR3VbIPAHaf8DzzdF_krV0wyRixY8Xt X-Proofpoint-GUID: DRR3VbIPAHaf8DzzdF_krV0wyRixY8Xt Precedence: bulk List-ID: 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: Huang Rui Cc: "Rafael J. Wysocki" Cc: Viresh Kumar Cc: linux-pm@vger.kernel.org --- drivers/cpufreq/amd-pstate.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c index c17bd845f5fc..adbc7b0921aa 100644 --- a/drivers/cpufreq/amd-pstate.c +++ b/drivers/cpufreq/amd-pstate.c @@ -686,4 +686,3 @@ early_param("amd_pstate", amd_pstate_param); MODULE_AUTHOR("Huang Rui "); MODULE_DESCRIPTION("AMD Processor P-state Frequency Driver"); -MODULE_LICENSE("GPL"); From patchwork Fri Feb 17 14:10: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: 654704 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 E6671C64ED8 for ; Fri, 17 Feb 2023 14:14:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229809AbjBQOOV (ORCPT ); Fri, 17 Feb 2023 09:14:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbjBQOOU (ORCPT ); Fri, 17 Feb 2023 09:14:20 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 023054617F; Fri, 17 Feb 2023 06:13:51 -0800 (PST) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31H7hfVh027191; Fri, 17 Feb 2023 14:13:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=Bwc3OOW9WgedNktZ4mRSsYL6iPpgGSM96zdksZDN/ck=; b=2y+nhWGLCTWW1QbttzryVyMMy8TiJKp/vBox5sWxl/RY2yp4uqQt72qNmqsbbquWWSoG tzqC7i3ALYinhZj0a6O+FMqwtTnNrqJFbM9aLCo/fs6nh1dxpY8QcLCm81kCQ/I0McSf xVQ0Ncoox8Gky8QhHlS7OJDvfTz7FmQU0EMiFhzECKeGhCxKPnEjMGMP6K70tiomTN2d 80PaULsaBWldrI9rhxz47yfrjIWStPYlzlLVLytp9WdnJnYKLQ+o+Fy9NeklNIwlFBPs LJjSEM8xQTNl9iflVoP8urok/eBa55brB8bpYOSYFNx2gh4xcAyJE+4pomCDinMa0/Xx ZQ== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np32cp0f4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:13:06 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31HCutxC020120; Fri, 17 Feb 2023 14:13:05 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2048.outbound.protection.outlook.com [104.47.66.48]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3np1fapppx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 14:13:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WI0A9sj5KUSUC3YU6xCzT7qHAjO6pV5uA6qQEdZnSoh7vCf2KcwAMVI27AARRZ8w+gpyXyDIprAxZZG54lBxPfGHU3sY4flddd3Yn6h+IIu9QTbAEeV9NCcyJDVIA7VspYcOsxC1HZ4y/DLUHLcusG8U9rPMGyNw5m+EwPPucMl0J2QygeJHOLtegu6aZf7rChJkFBxNCl+p4dIDSTmB1yAvNmg5OwUmOV4uigLNCCUSOf2cNdYhjq6Pe0q+bux7heFi6dhH02Dg/hJdRwhCOJYUErC/5Y5nMMDRcPG94z/sRXy9kuXSy9PkajfDH4kay0BREVkEiQ8EdFF2/Z43wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Bwc3OOW9WgedNktZ4mRSsYL6iPpgGSM96zdksZDN/ck=; b=hDdy6BlsUjWKFapotuQuOXlj89MBvEYQiuKI6YKkrJUO922D6hR4lVZwQWz2kDKcIK8XtGc8mP8gmSJ2YlQy7gzh1mmrpwbjJSG0KAMfkWmgdK7CIGiIilKSMlIRNYk/6X/FZVxsc+6bMq9sbGXczSs9AFrkiAblxZnSxGuqlEwsJ1+GO+MghO0oS9UO5CRGjwKWED5Ws+GAeYb8g8ZSXx5jjuMDksO5omNjardg9fZZuHHsHcu4xc916RvY2uTUSlfIfOSd/ZjzDBEjmBvYd5nSnLi/jdx/DgSTLdZqxQXX7Og+6O1DyBbDwBK0yMU0xZUhYmnzc2oLFmcQD2Uakg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Bwc3OOW9WgedNktZ4mRSsYL6iPpgGSM96zdksZDN/ck=; b=XW6xur4iK6a9JuNKfG0CYKa0yo/aW6c9OcRbZ4ohasAEY99fGw3kbC5J9+z7pSftd9yny8DCEy6aalzOKUKPsejjERXb1iyVa0RQRCHz7S/ht+E+ha+04Y0Fx7BqT1C5z8KCW8DTheFflkbg7ItP+LWMUkcTdhltIdnrbHoCJRE= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CH3PR10MB7493.namprd10.prod.outlook.com (2603:10b6:610:15d::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.12; Fri, 17 Feb 2023 14:13:03 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%3]) with mapi id 15.20.6134.006; Fri, 17 Feb 2023 14:13:03 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Santosh Shilimkar , Sebastian Reichel , linux-pm@vger.kernel.org Subject: [PATCH 24/24] kbuild, power: reset: keystone-reset: remove MODULE_LICENSE in non-modules Date: Fri, 17 Feb 2023 14:10:59 +0000 Message-Id: <20230217141059.392471-25-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230217141059.392471-1-nick.alcock@oracle.com> References: <20230217141059.392471-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P123CA0207.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a5::14) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|CH3PR10MB7493:EE_ X-MS-Office365-Filtering-Correlation-Id: adba4090-e34b-4b1b-b9fc-08db10f1151c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5sQv7tqSe8jp3m/SheUK8zZxqcAoWgt1GGpEIBn2WubdBExwuarui9dD4cvXFf7nITKtllbTdjTnDxWQHy22xHyyqj4MYx0G+oxbhN2yvkFchjQ7g9QLQtRsdvs81jUVJBmVpIG5Cn4HvdDyiHeZLgu5hgPZ/Y09Mlrg+9dpeaRvJrzug8Rb3zYd9gTBEfg6AjNvuSNdaAu+vluIkCaKOPWJcrdtUY+HIyqUBJ5DeZ5kp+Q2Us+aajpWF+Xc/jPAubE9jDebNTmwRJ7EPq0FXbJtWAEdUk3RrtcMG5uGFXkLGP7Yizw0fcfgQAdCIPDVA9JCAavIUfK9XMo6fzplqlyxffjx/F2sNViQN75S3uC130/qR8inUbSMDgtEKWGx05PjhpoTb17bCpjoDKbcCJi5z9B39jvy3fu3zoYj4bH/x4afyfnTbLGJ2Ie65W3miyspYpgmesc4YWRsnNAerYeyW73HziZmAHmRuy+4K30oABnBhquRgZYDRo1rEvGQBwLpoHsugHhD4T+mh4ELCp51n3+P9qYm1G+0lgF60gvqLwTpwKtT2acYdGcBZEZDvUrhZgSeIvhGF8z4OVzd3bwPM6hJYY5l0Foe0+eoYX3BXu6XAqOLNfUHbaUE+VCDcBcXcXbqi9IYo3R6i9Widw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR10MB6798.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(376002)(366004)(396003)(39860400002)(136003)(346002)(451199018)(38100700002)(2906002)(36756003)(6512007)(2616005)(478600001)(186003)(86362001)(1076003)(6506007)(6666004)(6486002)(83380400001)(44832011)(41300700001)(8936002)(6916009)(5660300002)(4326008)(66946007)(316002)(66476007)(66556008)(8676002)(54906003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: GEhrusqNS+tmydOZJTgWyp07rDAGD8tMg8de6LXNocN/3XmdINQ7zyRJQssdiviRLpSZs0K4pDgfGShPCLJSqInQd9yjqMD1AZ1UvUupeOieZNB+CL+CrY4aFQaeXRgvnoV1l+kTIdLW13Ky3gA344vOhSpVrAJXtp3sxSWhcQB1gMUE0brmYw/MXeH8SFFGWhZ2LUknJz8ybT10atRl+jN+DbNLLJ1fSY1WoH8jat2TxlM8qe6SlFPk5drS9zP6avad22TVw+A700iUWXSGpHQ6YohbpGrYDkIw7NX9F7f6WEo4DP5/vv+vVOe8VtqG++ZubfK+uWGWQytMlZLOELKoa4pvZRFMNF9RPsPxV3DgEhxKyFYg+mIlspBJrHg9lwzNom3K9R2F0EVLAIMSCqkcu0OdZ7OUQwl8KwCxHWZdzpU3ClhOzIW38aHnpkfod3v/gy1T76hzWWWrN9BJt5+yIALGBReUKWGXpMWRGkqJAXswABiNpdhI4m+L2NccrGiHXytIiOOgPeH9BsR++547G7OzzeUkZGjHSqACtj6BEY8jyAKgN/Gacm3JiStEGrT9BXuRLeLpjPqm7Pu39mem6oO7L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ount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: ipF/aWseSWCpqbR3rjthUZrMVEpxGOkc64FIbzeUi05JjN44XvsbOjG+PEKcjcx4htfLDA4tWxNQBS16/IUSEAD/8rCpBPMbpPiXZouHMr5dVSV+s/RFQndvblKnOraoTz3PwCsVwBeu3yoeXph+7x+JKo89PrVVekLI3aUL/pdpVJS37PPzR04V8l1550JH21WDOFpgb6aobypIgEGSdSO6fUlJRzmTHkDrXqJsY5ZARGbVnMR9EJ3o62fInZlPa80kbK2+25I8r1FqCDOvpjyQ8onhjlIM1ML1qzNQZ9KYsTzSB/TTRCyE6LavIMiOiM7OWYYzKgHo+fdOFmY5P7QysjcPtS6bPYEnm5XK44eaYelkgeBNyKtVn2I3BHCZCvoCm1c2Im9lSteWPT3uJ8fhToGFUbgo8lcMygGKvEmsHCRnd1MqbpTPOcGHZWDs7ylFgyt6VVgwQVKDZs3CIerZdGcEu07d6ptoNUpkJJrfiyBxVv38tXLSKeNImT2Fc7JNguFvzsFM3A0hiWrK3xRK6ziB3Wbfcc8wTWWUIUQyvflN+gI7c3msuN9buGvoNxXA80I3ohUgX6p0V3Y03Zawn28szFDcEe8ThCBhg6d97rqyJ5qeJ8VHnLL+BaYRLQ2ZGEDo9lumhScb1QgQDaRBr0bl7M382Pemxihn9QIkVnOJGF4HM/F4fqYuGqGuUNtptKeRrjNqwjqOKhMeLmAoddrm9QZwgVvLSq1JJC3un5RcIjcLBr/aJ58HVtibackhphD/0A0UtvD+MlZ+wvD4sKsmHsjX61Twnc1zqcovR48drIX3OiSHDxUrY0Qd X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: adba4090-e34b-4b1b-b9fc-08db10f1151c X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 14:13:03.1830 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: gXf6SUpxS7pGRqQD6DnnAuv/WLtJA6gFDh8aG9GvmvFgEqpLtUqpAYk6bJ72eu0ORMsi6tTAKgq4uptMHo6VBA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR10MB7493 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 mlxscore=0 adultscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170128 X-Proofpoint-GUID: QPX1Kcns9Gu1sSikfw2k9Exel_8-aY53 X-Proofpoint-ORIG-GUID: QPX1Kcns9Gu1sSikfw2k9Exel_8-aY53 Precedence: bulk List-ID: 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: Santosh Shilimkar Cc: Sebastian Reichel Cc: linux-pm@vger.kernel.org --- drivers/power/reset/keystone-reset.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/power/reset/keystone-reset.c b/drivers/power/reset/keystone-reset.c index c720112db704..83a4e1c9bf94 100644 --- a/drivers/power/reset/keystone-reset.c +++ b/drivers/power/reset/keystone-reset.c @@ -169,5 +169,4 @@ module_platform_driver(rsctrl_driver); MODULE_AUTHOR("Ivan Khoronzhuk "); MODULE_DESCRIPTION("Texas Instruments keystone reset driver"); -MODULE_LICENSE("GPL v2"); MODULE_ALIAS("platform:" KBUILD_MODNAME);