From patchwork Fri Feb 24 15:08: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: 13151869 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 32C01C6FA8E for ; Fri, 24 Feb 2023 23:54:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229626AbjBXXyt (ORCPT ); Fri, 24 Feb 2023 18:54:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229620AbjBXXyo (ORCPT ); Fri, 24 Feb 2023 18:54:44 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03CB43B21B; Fri, 24 Feb 2023 15:54:42 -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 31OEoQgV007435; Fri, 24 Feb 2023 15:09: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=oZ9BEHYJlGHKY/kKsK38H8Qihi/5txNdXjMXpVs9UAI=; b=twHk6Zo+LiIC4BwPK7v1xL4wZh7zv3jeJzoMvNm9VkRUqd20alrBHaD/POvinjtPLCsA Kf7kYuzl4rPOsZok6L8A5C/zSzkoP6G8HWrdg3JY5jM0AxFdIXN7y9c7/WJEdHcSzasR xucYP5kVJcORTEHrpxqKby/FAT/BstjlXroEIglomPl/QA4rowHJuEv0d13dFE56LFVS vgQBVl2qkDvyzV1y+/dHD5J1MR2iXkn1JUUhshNC8bs20YQmEaGwU2xwelC4k7bAc9Ip 3NZkYGiNtWNJLtX059igoqSG1Jrxn5maXtMwM2A0W0uxu3Orr/UcLTGMhQ52kmGgq9DD Qg== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntn90wb5m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:50 +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 31ODWtBK034067; Fri, 24 Feb 2023 15:09:49 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 3ntn4gyu02-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:09:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cYSC4+if2bK8OuzeKoxUKO1BdOFi0AMBggcIhLXej/3uczsKioPL0qRacBdNiHzlVQud/tgQszzkKEcvP5h4P9KkCSkbm0C/pZUFyG741ORuYP5H65TUZDlWLx+E88Cu4VRK99whoy6MtA3GYApYC6woquI/Q6lXXNHf5hHf+nF88i6Ne3ZBLfhyY+xDGRIgdO/jUWZeMzMUpdjxZmEqq2kKsnJJA1071NtAsFNuUtncuq3/v2mZf3PBJGBgQWvidI6/xwliEp8q6MXjbgmFLu+2I6pjmdfamk/ZGAL5HBiWd1xmSx1kZEfghXayQUHa+gZSWGycpvM7sml49llCkQ== 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=oZ9BEHYJlGHKY/kKsK38H8Qihi/5txNdXjMXpVs9UAI=; b=Ouoq45hItv0UTPr9u0rFSu59/sQpSqpoc8tLhQ27Z9coZYl5dG7GDFMFEV59Md5yZlQoB5dCNRNnN0Rs1JLDIJj9XWyaQzqXUkwTi5LdCyXrx8Ta00Hm+T5buvJ2KPoefoj2UAQxa2823Fawk7FmJhM9c8G171+sj18v/X8oVBxtTn/VhtTpiHE//6R1aMNXE5RqwuMwD7ezVL/qqL/8RGFZk6Z3aO4w3fhwY/xzAPRDRQAfMxN9gUAD61pbZ1J1LZlZY1KqMn76syE63Oq1Vv3y0eMkm3X9QAKSxPwcLN9sBH9OHZ6mIEnJRuWXqqrDgbpvQ7PzwQB2qLCi1iYhpg== 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=oZ9BEHYJlGHKY/kKsK38H8Qihi/5txNdXjMXpVs9UAI=; b=pf6R1uubUkHnM56NpAMUWtutSJcnjGGPVz5YIN0yh0hVRaXytqqb5vgdLPYYCTSIauoKfrcjbkAMnOXF8qsdHYseVsBv6fgFxpVLZ778ihN9oMv4f0w/eIH9tMxejSRBOGgUu8ZFJohmjTiSwvVJuge1g7fXUJyT1IQ2uPCvNA8= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CH0PR10MB5244.namprd10.prod.outlook.com (2603:10b6:610:d9::15) 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: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%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:09:47 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org Subject: [PATCH 18/27] mtd: bcm63xxpart: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:08:02 +0000 Message-Id: <20230224150811.80316-19-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: LO4P265CA0039.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2ac::18) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|CH0PR10MB5244:EE_ X-MS-Office365-Filtering-Correlation-Id: 26058562-56be-489e-dc71-08db16792b30 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OiHxruetCK1QhT3rrMnkM3xjVY7mWEnCEGCWdyGVvV0N+U3Ar4loMirMFjqNwjsRM4AMap/3sbQ1NTqizYicNooj52WXCet8VVCYhPG7k/BiqW7HoCIc7aqLHijafFx973S6DCFNCKjhU5rH5zWN+rHei99amyjPUb0koff2kuCdm+ZA1ZM4VxIaFFN1YGOBkaMdTTZtV9IQQIHCKevGnmBfYcy9C59ptZrWDKWQWOfRwmrTFFQQx24qkf1lnxYapcIa044t+TCfAM5ZfnppaBNCIlldIsU2zQHLqIVXUOGFVOydgPH7iCp9B5osPNj1Lv1OA0ZwoaPSsDg8QEMBmCC0UOHN47Uv0chejviSeUkARZLzwKb/wVsfjfXE3kd3oV67SxFnyoZ8cg0HY7IAyNF8prsOfQiqn8IYvPP0cKyIq4XdiX3vS6S9aerITKVmSUk8pN40BNklhAhdhF/BUbDYQUGWh+2K8RdY3HnHfFIi654bi0blCNhHpy6TLTxatCVcFKCjf+ERzCD+/cS/SH7aYaA6qVNUlVe8ffk2F2D1InFmhgMSSYBogHf9lK9oHhiPCv6CogRi41YGHNz2bDK6Hw8F0WeJRLXpxlf+OBByrllphoQY9jgvoqjaDSrcaSVsbDi2mMede+XMosEwiQ== 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)(396003)(136003)(376002)(366004)(39860400002)(451199018)(54906003)(316002)(6486002)(8936002)(66946007)(44832011)(4326008)(38100700002)(41300700001)(8676002)(66556008)(6916009)(5660300002)(6512007)(83380400001)(66476007)(1076003)(478600001)(186003)(6506007)(6666004)(36756003)(2906002)(2616005)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ni/+BxbARMLQMfSDS8VJWrw166VmnxVorLrIWh1I2lyy9+pjM2WS+F74ojGNoMgeYPf46DTWDOlB1DGJpHPD/WK2xXAnQCsihsopEFwit7vhGIO6RftU4X6JlFa0UbwU9o790xFhstWAdT8Y7bgLYQyheY8KSrjlIMrT4lcr/grt4svG6sWWQS5Vayhpv7/CjJD2j0Ya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B/dyYJnl2VHuz+QzR1HEYVgQZTK9fBkl7FoOfXrWD2zH8998D+K+sxsre6XNqx6oKgF0BUGigBr+j7MYb4ZveQNS+oEInTVRdAjB+wq1kAPfGtUl6WicRXEYGcTvV1FIMsiRuCSbrW1+cqMx6jEca50qKKKgZMQ0+jP8UaXK2Bx4Sh0VTu8zSJAzhxQYjDbrdsDTQMw+v0nw4xypQ0c9qQFo3M1VPiGDrhVG8XCmm4T4SlFpLpFgLyzYFPly/NliBb37kSIzNZwhY1PRZRZh7uIY0dkOx62qfxUogrIuAPr9UVb9+3eGJqFs8MWgAXKNFtwtF2 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 26058562-56be-489e-dc71-08db16792b30 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:47.5783 (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: 5u+sxTsxx21D0BgYsLOMxRoSVWcLVywDhas9RRMRvsDFsGZzBH7nFcEt8Euh3hOMTjVHZGkFAxHFBojpyaoGfg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB5244 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 bulkscore=0 malwarescore=0 spamscore=0 mlxlogscore=999 mlxscore=0 phishscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302240118 X-Proofpoint-ORIG-GUID: sBGLH6LhjSd5qxP9DDnlDTs5w4gvpOAw X-Proofpoint-GUID: sBGLH6LhjSd5qxP9DDnlDTs5w4gvpOAw 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: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org --- drivers/mtd/parsers/bcm63xxpart.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/parsers/bcm63xxpart.c b/drivers/mtd/parsers/bcm63xxpart.c index b15bdadaedb5..6e7b1ae8f58f 100644 --- a/drivers/mtd/parsers/bcm63xxpart.c +++ b/drivers/mtd/parsers/bcm63xxpart.c @@ -164,7 +164,6 @@ static struct mtd_part_parser bcm63xx_cfe_parser = { }; module_mtd_part_parser(bcm63xx_cfe_parser); -MODULE_LICENSE("GPL"); MODULE_AUTHOR("Daniel Dickinson "); MODULE_AUTHOR("Florian Fainelli "); MODULE_AUTHOR("Mike Albon ");