Message ID | 20230224150811.80316-22-nick.alcock@oracle.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-modules-owner@vger.kernel.org> 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 E8B77C64ED8 for <linux-modules@archiver.kernel.org>; Fri, 24 Feb 2023 23:28:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229812AbjBXX2w (ORCPT <rfc822;linux-modules@archiver.kernel.org>); Fri, 24 Feb 2023 18:28:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229806AbjBXX2u (ORCPT <rfc822;linux-modules@vger.kernel.org>); Fri, 24 Feb 2023 18:28:50 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3B946ADCB; Fri, 24 Feb 2023 15:28:24 -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 31OEo1lc012052; Fri, 24 Feb 2023 15:10:03 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=Ust2a0tRvwOOv71HF5HGsctkYH9lu3wQupB2WsZSSbU=; b=ONbhH+NksiV9JD+kCDNJ3ez4hFYBREbVnk+0Xv0YI8LOBohQYpLbrU6hB2KiBmbh8tbn 8oZlRL/jPUsTKdVRLrWp9oBBipiEzI8F5iPkPbMh8+EpiFl5KnX+37UEhE7mnWv4jobe n3gz37SfrvEjcUFz2XKwXn2lKjG7roLRAWYBwAwGxEmZAmiTgRI99IMXwqxK1S4HZzfH JtrEekwcQdkWR1lJQAMJf+0YU8Qvwq/Q7mAlPG9+FkjgoOoeDKhGBzj6OSGuv0iAc5fw PQLpufi2MkiGzWMCYJB3zBreVjNPcUsdjg3WiMoC7DOCeWGbvy4H35wNAu0jqHr1Slpt Kw== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ntpjad81c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:10:03 +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 31OE1Zsg018074; Fri, 24 Feb 2023 15:10:03 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2175.outbound.protection.outlook.com [104.47.57.175]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ntn49v94h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 15:10:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KYC4qByHSbykGhM/CQD4eR2zsWkKbbdz65WDCzkC+pXaCHNjMPIMvXGeX42pbRtuN7BIui/uURAxyj8C5RciiFyVevbUE4pBREWVg9/4PuMT4xblcDzpshO+grhUqEzx9dTIC5FGlvX+9Me6DFiIf9+H1DbdMhHj9UegyONVmFayb+X0/2XciNqyZLWavj6gkQgz2z1IXzQVdpw90DcFCayNgmopeD0TcAqpwPwDSll04hr6nDYuClIfYcBFgAyG7v+sgOMmprx8X7/0tzmbFu8xOuvgsUjB8EZP2Kovpx8mRqo6QSaBQ054F2hkU7zIaH+LCYWlVOrk27enV7wfnw== 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=Ust2a0tRvwOOv71HF5HGsctkYH9lu3wQupB2WsZSSbU=; b=CJJuVCxI2IgNng/+hGNK7bGL823CDyA89FhrgkQ8/Ar460d5b97s7l51rZsgjWyrONbu6+MMRBen/G5SCD4PtdUlvFwj3Jm7QDDs3rSKthQxz0bKQ3KiWt2+NgE4WrXTbGynaMSQuIRbg2P/uxa4Qp1oK/q3DzPEO959w7MufDh6mowPeHTGKX47p2g1OhUquZENOCwFhwMic27JaBY/J7syAPQvgEJsWp9J8nUEL3BuJlRdNAN80mLOY+x2hKVGG/y2RYlrJwI57MGSC6aqRtqwWFTtLhE+rwqAffeqnojke3fFuWtGcO4jgmIqCdWzjeViqBhONS6ROWPY70mi9Q== 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=Ust2a0tRvwOOv71HF5HGsctkYH9lu3wQupB2WsZSSbU=; b=I7+yRhK7iNBfdwpDWaojrMXpAwxc0uHkm4RNRSgq33FLK/DfKcfdwXMgGvmiHS21Mg2JRK3NLl5pAaL/3deVhKQK7GTfEAkVunWZ09vJH14qdzTyAsK6upZkQxVZQld3uq6bxkYbNzTztj96dgm4tkuZAdaJvzYvnpQN1DY9BIU= 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:10:00 +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:10:00 +0000 From: Nick Alcock <nick.alcock@oracle.com> To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa <hasegawa-hitomi@fujitsu.com>, Lee Jones <lee@kernel.org>, Florian Fainelli <f.fainelli@gmail.com>, Ray Jui <rjui@broadcom.com>, Scott Branden <sbranden@broadcom.com>, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 21/27] mfd: bcm2835-pm: remove MODULE_LICENSE in non-modules Date: Fri, 24 Feb 2023 15:08:05 +0000 Message-Id: <20230224150811.80316-22-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> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: LO4P123CA0251.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a7::22) 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: bae8c32d-18b7-45fd-a307-08db167932fa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EhYoz6jPne4vvUEvJOd7X97mYPZYJX0W6Xyp+Lwmkhm2X5/2+ZIx4qB/EEvQsY0EieiLEM5AtytNx3jCQUL4UK82ILPYc2RZuP+9772r4hsPIoHBSX7ZqKZ5+Jq7z6+hTfdvWZBoC7y9FoHBECUDsOVWFOtsgpPhiB+0JZSYueb45+KOvz3Jdpf/BNK4NIJn7gpIEkm6sDD2Q4Iaco+vqlCNtIqYpEFZU62j2b3gywTeAoNfhzmjt0ST9RO6SZbr0rCZ0CkGmvuibyUoqjTPryBDWdd8tIkj9YrvlNpaE//ghUVxYsylPL4BURsSthgMkrFJ0sqLMpEIpR6lupjR6WUomPuOyGrWpIC9/1+BtDh5oBpaTReJ8nKmCNiCiREo3lQsPk766E1vQxLpZSQA5e+5btmodlHP5goy7xmh9lhd0vxx3g0yJt29VFN4XGqeVeuqrVEe6EE4VEtmMiMgv6cMNI3CkFnZoPeVcZxww3cX8VeHVwjh4D8jtumIascjjOONRAivWP+lSXiwyovv1GDjdNurkwfh/F3ouLuQGwWRgof82nZr3Bwt6TJny8NAf33pyUcj64f7euYJzYG8sQUWXuIJAa1FMx1uKjDm06h+LRLm/Y13D3pTvE6iGwgskXAvxEjPim+F71pb06lHzA== 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)(7416002)(66946007)(44832011)(4326008)(38100700002)(41300700001)(8676002)(66556008)(6916009)(5660300002)(6512007)(83380400001)(66476007)(1076003)(478600001)(186003)(6506007)(36756003)(2906002)(2616005)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8VcUB9MEShpHkDB4i1eI0WHcMykOQfQcNI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97JnOuCjQeEJURaUe0C3HS7/6iGn8WMjy5uuhFgXI8Enlc0C+8LWMq2G7F6n+UWUMuV6r3tt6+hJWPO22t/ZVjMlapufhWT9pYs7tnt+ochMaPYyUBiRcsQJmRNWAVEPv3sfManHwXA2y0wBzMKLDjjVAzEzcQpsLfGI1IirBwDamiPKSqIWEGTWnCADCKv1cSCEfL20LZeYuthDgUh0fpoqbMyc4Idi5+W8sqYN5x8Er7T0ytTPW2tn3KBXixmFaoFmecOKs/SEDNoe+umlqP2JcRROksB3TXQ5ZCsxxAuF03wkmL5sMTVYxJmRdQoRDQpAdYfNTdadjuXPps98AHPu2oX7u2pLt2geTjuLBlGW823IL0eqctdgxHwi3jioQaSqVXcT2VXWFh5y7f2W2510Tm6tFrCI/QAWNS32o4h39Ck9RodAdNGEV3bf0oEooQkg0pRrFEeMuSGVx9odyvj0IVHOwQN39E2gk X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: bae8c32d-18b7-45fd-a307-08db167932fa 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:10:00.6291 (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: w4bsReJdn1URcAUxptxYcSeBPFSNuvGSlZIlAjuSPLMUiWyqSjGClPuU4J+xEhV2BkX9T4Dsc75VAK4skweQ2A== 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 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: WeI552mI1FvVikzZ-TXnm7MiFBLHJObl X-Proofpoint-GUID: WeI552mI1FvVikzZ-TXnm7MiFBLHJObl Precedence: bulk List-ID: <linux-modules.vger.kernel.org> |
Series |
[01/27] gpio: remove MODULE_LICENSE in non-modules
|
expand
|
On Fri, 24 Feb 2023, Nick Alcock wrote: > 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 <nick.alcock@oracle.com> > Suggested-by: Luis Chamberlain <mcgrof@kernel.org> > Cc: Luis Chamberlain <mcgrof@kernel.org> > Cc: linux-modules@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: Hitomi Hasegawa <hasegawa-hitomi@fujitsu.com> > Cc: Lee Jones <lee@kernel.org> > Cc: Florian Fainelli <f.fainelli@gmail.com> > Cc: Ray Jui <rjui@broadcom.com> > Cc: Scott Branden <sbranden@broadcom.com> > Cc: linux-rpi-kernel@lists.infradead.org > Cc: linux-arm-kernel@lists.infradead.org > --- > drivers/mfd/bcm2835-pm.c | 1 - > 1 file changed, 1 deletion(-) Applied, thanks
diff --git a/drivers/mfd/bcm2835-pm.c b/drivers/mfd/bcm2835-pm.c index 49cd1f03884a..2c0aa2a2c893 100644 --- a/drivers/mfd/bcm2835-pm.c +++ b/drivers/mfd/bcm2835-pm.c @@ -123,4 +123,3 @@ module_platform_driver(bcm2835_pm_driver); MODULE_AUTHOR("Eric Anholt <eric@anholt.net>"); MODULE_DESCRIPTION("Driver for Broadcom BCM2835 PM MFD"); -MODULE_LICENSE("GPL");
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 <nick.alcock@oracle.com> Suggested-by: Luis Chamberlain <mcgrof@kernel.org> Cc: Luis Chamberlain <mcgrof@kernel.org> Cc: linux-modules@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Hitomi Hasegawa <hasegawa-hitomi@fujitsu.com> Cc: Lee Jones <lee@kernel.org> Cc: Florian Fainelli <f.fainelli@gmail.com> Cc: Ray Jui <rjui@broadcom.com> Cc: Scott Branden <sbranden@broadcom.com> Cc: linux-rpi-kernel@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org --- drivers/mfd/bcm2835-pm.c | 1 - 1 file changed, 1 deletion(-)