From patchwork Wed Feb 22 12:14:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149094 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 1215DC636D6 for ; Wed, 22 Feb 2023 12:18:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231862AbjBVMS3 (ORCPT ); Wed, 22 Feb 2023 07:18:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232013AbjBVMSF (ORCPT ); Wed, 22 Feb 2023 07:18:05 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D14C3B3F9; Wed, 22 Feb 2023 04:17:05 -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 31M8xuqS030215; Wed, 22 Feb 2023 12:15: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=LOFmSS194eCpOdU7W6mzUc4pQfNBfIhnAmX2MRGjZUs=; b=F8iUFL4o4b+hQtqITfdDVYxFrmavdK/VzwQOTXqt/iEimv9tYicTkHHgFEO7UI8chL1i mTWRAnfbSfqCIUWwiSfeNYLH/zsKtnJ0/FVUc9GJuzoOvnVQmFWGld+ucWP2127FHnFY 47eVhkksZ8Jpdvdmv19BfSg9YeM18vlzN89/SO34BwlQQ2u4e5t/2HYleXkljfjzAk0V RquI3WLRs92yo6QCJ6HMu/ay5ShuoC/X3SuAftIyQamw0CWgYYcvz31+nWQhOtXUlaME gypeU9QkaiM+E3G0tyvIwsO87D/0q3bAXDPbMpygLea23jsxGNQD7Y4Muo04ZmyfHs35 Zw== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn3dqqd6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:50 +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 31MBejip027290; Wed, 22 Feb 2023 12:15:50 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2170.outbound.protection.outlook.com [104.47.59.170]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46qyfu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:15:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GGYgj2ssUITM3yeJLwL9KSgW7LndHD7tcQ9sJvE1rZbqG6afZ30tGPGiJ7VUsBscqp5X/Jt7yY7485PLQ9kEY0LnMlcFrpuswvpmRSWGFnG6pOwiWmdmA9RX/7HoTqXuQHtYqwWH1Q6nXfJCKWjeGYZUIZrHx8wOYIBLA5obac1Xy4/hByKBv7QY6ZXL3Pju5v8gJCe80bsIAGeYPyVoCVfrd2g/ji83Sj2qaCbCTXw0RKZqYwW2gQDCpD78z7osMlpcLfRMC+OMUcGfX1OUhYGHl1o+D1qzH7MoPqlgzFwVtOQLb6yO4Bxs+MdsNgJSkd+QqgaWwpzUduimJqtb5g== 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=LOFmSS194eCpOdU7W6mzUc4pQfNBfIhnAmX2MRGjZUs=; b=dOc4UCTEy/e3kNoVUY+RNhcC2AYY/7kIKvcnzpAqilYRPS5NGeHGs3f8L+4YO2baL/oN1Ghf9WM21Le1yYQjr6977SM5urJsQfBRrtKxiDg4GKUxUPaTX7jIctMQbtNtYox2EdylJzzG4604gh07JtHkYWsZW/tY7KpEu83fL4ROkygu2Mzac9FGHh6gW22htWZxnsujSKLmSqOOM/YujpDzqby3wqz0ufQ7fHM1j/MWsbNMmKgiX5ge5yViB5kmeXEDgsLI9KOf8WAs5TXcQzcqHysr/3E31/XA24EQvGdU7ZsVXw/MWDlVGYnwSm4UBbyF6FyO3fBlmF4/y58s4w== 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=LOFmSS194eCpOdU7W6mzUc4pQfNBfIhnAmX2MRGjZUs=; b=t/0udKaVuLzqaZjZGxFVAKcMJWb9tzFE3CXgIfOChjgPq5756qW+bfQVUqlX5mM+kpThDethBX/eRqPLXsbolpEK+lwAof1v/B+YcqePgJ9pGZrlAIcEQD7ZTs9eD3INRYCyAVPzj3Me2SKynUs9w8DdNvC+Y+pVYnV1vr1qo2c= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH8PR10MB6412.namprd10.prod.outlook.com (2603:10b6:510:1c7::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.17; Wed, 22 Feb 2023 12:15: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%3]) with mapi id 15.20.6134.019; Wed, 22 Feb 2023 12:15:42 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Daniel Lezcano , Thomas Gleixner , Maxime Coquelin , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 08/27] kbuild, clocksource: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:34 +0000 Message-Id: <20230222121453.91915-9-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230222121453.91915-1-nick.alcock@oracle.com> References: <20230222121453.91915-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO3P123CA0021.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:388::9) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH8PR10MB6412:EE_ X-MS-Office365-Filtering-Correlation-Id: 11a1696d-9741-4e9d-4878-08db14ce84a1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: o/8Qa4oksuQKqUM4YqZ94tokeejZjAo8F8F27EsVa5O6gva7vbYOIdD31/i39PzCIcpElZVJZU+ZifbIsXtt97J8spx0GGqdJwp+V9rSSDIhyMZaLMRteg4Xw7fglmFbYR9shnFx65rkT9/Dm5MnHxotXbxsfnyQb9dShWiI0QE8+BcIMCtlCxfP34k0vB8YcDg8+Kgh2szQmS1j78GQSvcZw4pBHe+DrMuGd9nS03dKm5odoPNcEsguP/BdZ1PC6YeY5GOLiyLDl2Vdaikk3OrxP8uECUqFk/zlE+XTIPA0bP/m9Sxh5BNZbG6TBwmNKDS910uflcF2R898bdQmroajcWSDZe9QOfK5M5RqBGqBs5EGLIEs0bXVvPWrjHI2N0zSFramJiclKwfdELio6GXBUkhk1bU28hHz+LGiZ1ie9UgkNtp8JVJnjBwtY++U2Oub29EbrhGDVaHFdfAuELKSOjz5h+Ob6xGc2tzuZvmc5+F8z9Dk4QAp46ScLqcQ8w/QfosH92IQnCWIgSk+maEODXHU0VsqLIFEYpkor5fNKZB+FYmG6KUtsMCjJomZoLT7eitv6tjd9VNQ8yOh8c2YCPCL7H1oqfkQnHXG3ZGmQASxHr+pAeP8AbO411t8ArDIunqJDqf3YDudx9b2Dw== 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)(136003)(366004)(396003)(39860400002)(376002)(451199018)(478600001)(86362001)(54906003)(2616005)(6512007)(4326008)(316002)(6666004)(6486002)(1076003)(6506007)(186003)(44832011)(7416002)(36756003)(5660300002)(8676002)(38100700002)(66556008)(66946007)(41300700001)(66476007)(8936002)(83380400001)(6916009)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zMPcc9YXw4Yv3iFdCJFSjMVfSBGXePMyEs1CbNLmnizgwlAPmLMdU36sX570gtNz1gKnUyD2nurehMVG7WVNvs0KigjAlppGH6dO3wuftOyTdj9tykAMAYfcfo9dwPjMbssR+O1DAQcNcqI0U2IriAMDoY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IzAXMsBcbtSFuhLOhpgmcs4kxbHM4gpdN6PvGUdt5wl8Wkrt54Q7S9gB60WAZbannSpJDR1vbLtfvxD8Y8XpIPXY8UPrH0ZrZI9CTvMMYT9YRANKqZD/N6Y213CAZPPXxxx3Ckc7dVtJSmJ1Iilxb+iYKA3yHkHECQPdkT8sInwJI+Cafbn1zOC8n7z/E3ofij0nN1kl8alckBUSk68lj6zGZhEW45X+cJ7amPAie1Bjjo8+EXdg8FUNlRC4lbqMrIK4gMqjDMNJmYc0BsVTRwTkDaVolvJTjqi5HvKGdwMqY9mkAUaaNQ7NLhd+ppMDzEMODQPbyTBgQGRyh4eeIm+BGZGrfN8+jkbyF/SErgdHy0Ahapm2/dVLIx0z9d+pyIE68B3nRT0t5OWj849RJrk94d5Ud+VHNI/7MpEb5NnnsGvj/2B3wT93K8YkV/YB8QOiDyuZRwh5r17W0KKBH/W4Zt8jBa3PzQShtTOqjfq/YB+ny7+zw== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 11a1696d-9741-4e9d-4878-08db14ce84a1 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2023 12:15:42.5131 (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: jCccGiGcW1bNyPNT5Nr9x/uH3H4cFg5i5A0n5FrdfIcz6CLmzvzx4EiuiRIFog8Cv4YXB8j2CvzfJ32y1BqJAw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR10MB6412 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-22_05,2023-02-22_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-2302220108 X-Proofpoint-GUID: ANMkTdMrWwB6_TIzYxwTBHmbgQoON9cL X-Proofpoint-ORIG-GUID: ANMkTdMrWwB6_TIzYxwTBHmbgQoON9cL 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 Lezcano Cc: Thomas Gleixner Cc: Maxime Coquelin Cc: Alexandre Torgue Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linux-arm-kernel@lists.infradead.org --- drivers/clocksource/timer-stm32-lp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clocksource/timer-stm32-lp.c b/drivers/clocksource/timer-stm32-lp.c index db2841d0beb8..4a10fb940de5 100644 --- a/drivers/clocksource/timer-stm32-lp.c +++ b/drivers/clocksource/timer-stm32-lp.c @@ -218,4 +218,3 @@ module_platform_driver(stm32_clkevent_lp_driver); MODULE_ALIAS("platform:stm32-lptimer-timer"); MODULE_DESCRIPTION("STMicroelectronics STM32 clockevent low power driver"); -MODULE_LICENSE("GPL v2");