From patchwork Wed Feb 22 12:14:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13149181 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 C8054C6379F for ; Wed, 22 Feb 2023 13:50:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231359AbjBVNuV (ORCPT ); Wed, 22 Feb 2023 08:50:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231460AbjBVNuU (ORCPT ); Wed, 22 Feb 2023 08:50:20 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C1D52799C; Wed, 22 Feb 2023 05:50:19 -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 31M8xHwc002711; Wed, 22 Feb 2023 12:16: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=O/CBxGNxjrJ28ER7IiPoe7hFsN+PlSY+oTxoRb0xqZw=; b=bLq8Unt+t3Azr/YGwurZofxi5sbzVczKlWwFZBs37XVCI+6JyMu0GU8JSS/mzxl5wbOq 1sgeD8kOCUnPG6zoPUmucmxruRuAR1TcDaaIiaHLkgAtwSk7XG2pSmpEhGHD8yA5miE+ S/aIXhd/q3Gu9GiHilKtcWbzxHk17nMdFvn40mplOMT88pwQ1DtXMg+1SE4/08mFkhPp KJxcziRCwzLJrvik0ylXRn/HNP8SH1PDviASI0yD7HShlDt3jG51JyuppsBfw5SjOeHO xW52zqVMXCHTG8+T6xfq3Zl4yd8GIeP+zb9Dc0atn5QXPdq9xNi/9Ab62DVP+r2Cr4xh 0w== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpja7n9e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:32 +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 31MBsT9t031257; Wed, 22 Feb 2023 12:16:32 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2171.outbound.protection.outlook.com [104.47.55.171]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn46fm7q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Feb 2023 12:16:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KI7BDkwP4KRu917R41MNn/nfd4BqM52be/XBD82rWDBhfLRSgTfqH0Hb2P/PB/1CMjZ5YN/IbuIAXrBsD8K5paAiXGBpsxlpAfE2A0Ur29Yruax9Zdbp+YmVkZR6osxZmaCHDE0R/aFvVuaqq3pRmq6XxJtb1AMdM5yXZ7ByQ+SaJG3JGuQdsxRMyzVEGfj/Hd9fEmBjyUHNCyJdwJYHRs8pBD2s3+CXQ7YUfMJD44tzlwukCTaTdUdR76z9l3RFja/xJ9yuu2Ur9Eh/z9Bw4pLM0kVO2iEgM8iXSTKPYqNObmIj57A9LeZcyHmtg9B0CC1mS87tZv3r3ddJoPULbA== 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=O/CBxGNxjrJ28ER7IiPoe7hFsN+PlSY+oTxoRb0xqZw=; b=ay/jx6VW/Pb7PCy0p08APsfmSRSfNk8vN1X2haYPEIzTFufOZ00lfPmVa35kOKuthEPE3H3a+3BQjOG76w/ipoMIJgSifGWVVWE0nLw6FIIn8pbsTgaZnpo8yArRmSpetx6t5hKC3BvY5wGr09rpl42AB/f0gpdiPPGhUGhkS3fyMTQw5qcVWjtTmIAKuzeDczCu0MlzTIv929x7lbHlH4dXgWT5GgjWKNOtbYK6CzMb41B+C+c93WWGWn3XjjLJVWszHGkIFojt9OCphIMho9ZodFOd0TPDFEAlsg17gj3LwJO15k+p4mFxE8RKlQRD6oJ3DZDkW43fOx80mCiZNQ== 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=O/CBxGNxjrJ28ER7IiPoe7hFsN+PlSY+oTxoRb0xqZw=; b=W1fMY/0XQL6bBIOuQPiQ8qZUXb33CXEE1e0kZU2331Bp/9uQrBFWir+1hHvh8ky7S+GTZGLJNt5L+3FRl0AA+/9duimSiblenXFC6zZWEsPqS/ERbP57U8Y0t61EYdk+3tOEn2seeTbaOE5s9GC+Ug4Wn2CPmIi8clV3CtnxGnc= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by IA1PR10MB6805.namprd10.prod.outlook.com (2603:10b6:208:42b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.15; Wed, 22 Feb 2023 12:16:30 +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:16:29 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Vinod Koul , Maxime Coquelin , Alexandre Torgue , Philipp Zabel , dmaengine@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 19/27] kbuild, dmaengine: stm32-mdma: remove MODULE_LICENSE in non-modules Date: Wed, 22 Feb 2023 12:14:45 +0000 Message-Id: <20230222121453.91915-20-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: LO0P123CA0012.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:354::20) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|IA1PR10MB6805:EE_ X-MS-Office365-Filtering-Correlation-Id: 15b8f96f-091c-4b0f-6c6b-08db14cea0d1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cs8UT9AyqbVg1I6C0fXWHHqpoX6qPY2BBLGws94FIehm1Xxe0ghj8j1K9enLXXs4nND24Vnc4gAfwgE1/EBY2Xh9DglJp1RiMbaMhvouYJeTLPBE0mJQ8vW7V8/o3s7NEIvmZawoR8kQ+Hda+xn8POhzshauHkF3oFHCTaXh6g+PpJITu67ruBfAjrhsLterq/E5U3uCH4PLu9GQwm6Bz3gTutkSYBW4wTpbCDQMQ5CcE+y7ZSDnGP/cFFJpjZHHokjImVZx/fGL4uHPH5fJnIXGgjjqeGTIfS8qQ0O16htOM8OYJ0J0qMbrKKcOh0UKylLF0xeFYGtas8Qel3HVpvReliHizBTCOPBuU2qMoC2GBekVZbzALEcGRtA93rH+SPd09OJyrL6cg+dewyhoLBBsfU68M9+Tn/+/INL6YSElBZZy59VtDhRhn24iCHdrfOLS82x9quSgLRfwH1EXL4h7zAjkzQ0Nv6BE+sO7SvD0NdyAjEpvJqKf3LHd983SXnpP1lD4swbRjTYcNzRz2OP6Yqt9quAMs/fdPy6+vnW80kii8teve8wXyqkYIvrPZtVAvU9pMgThzmS3jIxznRFiC2t0PECqkBJDPaA33gGWkT3xNAnSokWc1EKkorXChtpQ4yDc2ljbpP2a87ku7A== 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)(346002)(376002)(396003)(366004)(136003)(451199018)(7416002)(36756003)(5660300002)(44832011)(83380400001)(2616005)(66574015)(6512007)(478600001)(6486002)(6666004)(6506007)(186003)(6916009)(66476007)(8936002)(66556008)(4326008)(66946007)(86362001)(41300700001)(8676002)(54906003)(1076003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6+DLw9vc6Z+eDbvy1PxBKdiG6zaz0EHYk77MOJ5T6WrYQKrNU9hIw7YDLADaJg7kbuMsgDKcVqYRGftxiBQCuN4Wm5iK28C/veZq98L71X3f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IaNPju+N1Z88l86HFN/ZH5tmSos0txRsVdPScy1nkQau+bx/1rF5XO7wgP84qAtmTrRJDMGHetvKFKd40is+AoOKl/OaMeEBgSSZEsYVaO6l3OVlS+8DPnE+Jpx85AYcG7iq9UNUg5T2bYzeTV1kChDO6Ez5F0dWFZAWR+ZJGdEhjtLmSXN0hocTZo9ts7Cpk5/OxpbZFUi6qUIIN+WX7JNHE9P2lO/VRzt6ZigEvXX/UP3uKmEWbyz0baaQhVjcKLrumWVuzNM+IX/pYJNzZ/oGYRZpY3fHdvbi8X5WwY4notE/wUyNYZrmxgebnaE7wFKyHVYppkdp56wRjVEcbLMvMVYlGLfhw9OtvpEKTYVWPQFbvOItKf+FKB0fPAiixBjueVPsDMfwGK6CocdZTzOTL0OA7Lo1lhtttSNlxUq1nYQxqxQKcg0XiRAzoOYH7tmqT3Sezbeo4PuHFOQifTnGsWluFU2VHgXNqfzbMzeXm+htUf3mgaFNSBV4jxVWW8FgP0O2w= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 15b8f96f-091c-4b0f-6c6b-08db14cea0d1 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:16:29.8986 (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: tnPL5uSBhRnvydSVvHXRndzErQn0gGHTAzRc3kF97oi9QkYHXZGtpiNX6Ri/mepB4EHgxd54r4tIsGk9AShEdA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6805 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 spamscore=0 bulkscore=0 phishscore=0 suspectscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220108 X-Proofpoint-ORIG-GUID: dE_XMB-8T0lskgvGwdAPCNJ-N3UCIB2O X-Proofpoint-GUID: dE_XMB-8T0lskgvGwdAPCNJ-N3UCIB2O 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: Vinod Koul Cc: Maxime Coquelin Cc: Alexandre Torgue Cc: Philipp Zabel Cc: dmaengine@vger.kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linux-arm-kernel@lists.infradead.org --- drivers/dma/stm32-dmamux.c | 1 - drivers/dma/stm32-mdma.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/dma/stm32-dmamux.c b/drivers/dma/stm32-dmamux.c index ee3cbbf51006..8d8bb6770cc2 100644 --- a/drivers/dma/stm32-dmamux.c +++ b/drivers/dma/stm32-dmamux.c @@ -400,4 +400,3 @@ arch_initcall(stm32_dmamux_init); MODULE_DESCRIPTION("DMA Router driver for STM32 DMA MUX"); MODULE_AUTHOR("M'boumba Cedric Madianga "); MODULE_AUTHOR("Pierre-Yves Mordret "); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/dma/stm32-mdma.c b/drivers/dma/stm32-mdma.c index b9d4c843635f..3f2e7a55cd03 100644 --- a/drivers/dma/stm32-mdma.c +++ b/drivers/dma/stm32-mdma.c @@ -1816,4 +1816,3 @@ subsys_initcall(stm32_mdma_init); MODULE_DESCRIPTION("Driver for STM32 MDMA controller"); MODULE_AUTHOR("M'boumba Cedric Madianga "); MODULE_AUTHOR("Pierre-Yves Mordret "); -MODULE_LICENSE("GPL v2");