Message ID | HK0PR01MB28019953A3C47F9B4479D877F8069@HK0PR01MB2801.apcprd01.prod.exchangelabs.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp373102wrr; Thu, 17 Nov 2022 04:34:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf7SewkG0KUMv2X+OREhtp+rU2v5iTj6uyIpNzq5KYfK5Ov3rXZnO0jQrg5k+lT0axIA7zXl X-Received: by 2002:aa7:d915:0:b0:463:69bc:c574 with SMTP id a21-20020aa7d915000000b0046369bcc574mr1986182edr.120.1668688469112; Thu, 17 Nov 2022 04:34:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668688469; cv=pass; d=google.com; s=arc-20160816; b=bo3V7Wgp9LAMYflUInpQduTHXu5Pqb74ToY34M2YocP50eSsnoHZDjWbshqLM2Pvi0 carzmMw8VcrFayD1atKBy0INUd8WLbInemeax+9p9hYRZMUxO9yYSHUpxHhc8gXMJ5RI z4LvE7YK3p2VK7CJpc090jfQoojuYc5CyrQA8dnVl0fm1FofD7U7TejJHfZBaRW9Awx0 6dRxbV/QiqLbCrhoO6QUFUpwhCA2PYdULDMU4v5pMlst6fRsrCtxZmfHa4EPYgJwVeT7 ynE1xe4oWEVg8jeTmPo1Ww9kFUQ0PfRQQoFwAXJrCWAICoea11c0Kga+bmyjd2iypCD7 TzRQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:to:from:dkim-signature; bh=pU+FHqP91/wG/a+mF+xODp/QmS0dvA5n5T42OrowcR4=; b=zRONV1IN8pwPNo99VvZRGnRcaVjwN8Zq+oV1Y0rrCfh+97vK7bcrBnRBm83Mn3Vndq IRcMExoMvnhy//IQX1YUvW985k/9aI5hs/AaekMu5TlCfOrsmsjM9qn0aLBcOIpWpM31 tpl3i63+FyJ57DdHs4LqT7TYaX1YJggt0CaoZm8AiWkdv/9vz562yANlQY8TMWudAOOJ hyaT/LZOphm2Rt0noJsTIEGZmfMPJ6jd6bHDGryX8O/QTW6VxYqc8zu3QcYE3JIOWqsa EIN+0AKBn2vo+DCou+NiUwEzADu4CnzKpHeZLSSUesE8emAwmNk+o3fNc91Pul9+tbI2 Wu8Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=UEoJFSWU; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sz15-20020a1709078b0f00b0077951929340si452423ejc.271.2022.11.17.04.34.05; Thu, 17 Nov 2022 04:34:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=UEoJFSWU; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240220AbiKQMaZ (ORCPT <rfc822;a1648639935@gmail.com> + 99 others); Thu, 17 Nov 2022 07:30:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239410AbiKQM3S (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 17 Nov 2022 07:29:18 -0500 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01olkn2058.outbound.protection.outlook.com [40.92.52.58]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39448655B; Thu, 17 Nov 2022 04:29:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eXwaxUTGfAXspt9VA+5dsh7LLWFDqeq/zmzrj+lQtkIESOjDJ9s370PNDcDzgT0YSBAJ9ZmXfwTHywSTbYiCqNsdplZXlF17SZXzrzIqkReOil2o1jUT37J5F9MjxTsNUVUkI+NXE91uiuOdbtvOoAMIZaYbbnxBPuMzQLyMybYZpK7EkPQqBPy4VbHUX+heCxMRLKWWSsKp7ftrDuLrhZh1yUDdRAxLudX3fsf/o5HNXDb8N1wlSzMrthDsycM/8yOOg1wr6UzkxV6SUFNsUTKTRaHKHhg/emNDatYbZuJGHQ9TfMWdRwnkF8Bq/mlgokxve0WaDk37wyhnmRO8fA== 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=pU+FHqP91/wG/a+mF+xODp/QmS0dvA5n5T42OrowcR4=; b=d9Txnsoxvty/10CErDuscKUqxj0qfTlgVXte19XGp51O9qxIuwiyxjQtPQwgkvvXRbPody7PqXIqKk74r4lIMQPWlCQ3t/uR9FOtnaOIkgABN7qcuNLU8oqMXgxMfbK/seGD2UzhmGLznHnaCHgSAni5vPGe1xN29fkWUKp9ft34wrWrNyx3bSAZULCIwPtCfLQfCp16VcqH1sRnfH7SEq3OL6XwCL97p6UUNTeZBf9lL8+yh2XqIVg4XzLYGk/FeyMsg3OPXVH/ZiqRbXZdOa2pZb1VaiqKWvYcmS08S4a1OEBQUbjDDlHwKzpzbHFlaGDVibdxL3EdBHyjwgW4zA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pU+FHqP91/wG/a+mF+xODp/QmS0dvA5n5T42OrowcR4=; b=UEoJFSWUvFFS3lrncD6/PJ/cuDehjWDB6xo6z+oE50ynYTMeKCZMog8i/MnIIZAbJoTJeEFKfB8CSgjG5r9toRwg+l5Z7C/8DurmWsin22/2rwWUICqvM+JJ05x8+SFJmixh7/Erba+mRmJOnEaKfLi9l6Hrqo3v7tc7LUPcH2vvaMcZ6yp0f9GdQ1BL1SLLeY2MRYdtpJ1Ouemdcx603t52+5PyDID00O2w1qU2qfdWL078zsUt2CZIKQ6lV8gAB+lVRkP2EzAJouFTRdVuAWFeD+G01kd3HXaJa9L9sgPBK0sU760oZd/iLo6ybzQkrCO09Ei4QVPaH76nze9exg== Received: from HK0PR01MB2801.apcprd01.prod.exchangelabs.com (2603:1096:203:95::22) by SG2PR01MB3610.apcprd01.prod.exchangelabs.com (2603:1096:0:b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.15; Thu, 17 Nov 2022 12:29:14 +0000 Received: from HK0PR01MB2801.apcprd01.prod.exchangelabs.com ([fe80::483e:25f7:b655:9528]) by HK0PR01MB2801.apcprd01.prod.exchangelabs.com ([fe80::483e:25f7:b655:9528%6]) with mapi id 15.20.5813.020; Thu, 17 Nov 2022 12:29:14 +0000 From: Kushagra Verma <kushagra765@outlook.com> To: Alexander Viro <viro@zeniv.linux.org.uk>, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] fs: namei: fix two excess parameter description warnings Date: Thu, 17 Nov 2022 17:58:45 +0530 Message-ID: <HK0PR01MB28019953A3C47F9B4479D877F8069@HK0PR01MB2801.apcprd01.prod.exchangelabs.com> X-Mailer: git-send-email 2.38.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [R6SebZEXFZUL/Fz7IfwqRqpiMP9Fxj6Htnf1pYEi+1RpxLwU2B1guE/aZYiOYfUaUSeOBLEtysY=] X-ClientProxiedBy: BMXPR01CA0075.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:54::15) To HK0PR01MB2801.apcprd01.prod.exchangelabs.com (2603:1096:203:95::22) X-Microsoft-Original-Message-ID: <20221117122845.15729-1-kushagra765@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK0PR01MB2801:EE_|SG2PR01MB3610:EE_ X-MS-Office365-Filtering-Correlation-Id: da91af67-c866-4824-f748-08dac8975626 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9q/v00LXRlKtdzdy6IgxKMU2hUcM6tXIV6tspiZ/4Gq3NiQuwlEYDS2DD6t8nEKII0/5Zes4rUHu3Z2ZkH6jisCLZfAEqBMV/Bj/ts5Qq2W48Mw4A/CKe/V9zqjVXpEsQkEIifUGEpsvuVNsd9hQ7QFNfWAkBCwOerqz2FgFzIa2Bt2geohZxpjUOeLphzQzJa3Xo7c8xMxLbXH/U6Ps4NZcnfXNHx36/T/Rr7JsVqw1FQDSHJkuD2NgIzc65gGtnVllJpoFzMQyGgGN+1Zsnv2U2XKqeUurPPaO6d+oJZX67q6FYJ+rZGIaILI2zMLB6FSIyW/QEtqiLJ1TqoXz73CT8qK3Wxl/tdiB82uNs8s3QdIaI9BBmbWl4bOMgnEnxyQcBLwfKy7LUciYDTDV6exkraBWps8H723M78TeC6+P2OTSb1z2jX8PtsRvHwmuc86PRHxheJdXCGDoBZTZtQedREyurh+ObupSUpJyIWoKzXllQkvbJG4PYSaibySprBrWnYhcEKYH6Ddnya4s3dIo0zUzkmyXJaFWW1LB1F4t8oOMDM200nnlA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DNaXOxmq96Pe3daOSUeeedRB9jkkEX0MyLX9DvpaIrKx9D0sNeuppLLrAjQFSsaCv+Ru+vpaDT8Ds6oWhaY728cfGHUvM58qmE0PQpbWFn7YkrnYcvtTHC9brPk1XIl2wDhlgIl2MPjKovTANdk9iiktF9c9be00zZVeuHYSwGfNY3XSaK6xpexxeuUJqHbQpTpqmEEQsNNWKobjYHQBcar3F0+KLQa5zsED/ecGByUmkgWH345ooVwbM+FE/4+dGPdxZfjU/UlxULpaS9luOu3emeF3pthP9jH6CX3dHnjtqbm1kSM+eqUKcNca1iHhBxhQhnKw2D4u+v3vuf1LJrVWZa7G2LWdybrtvDDlN+q9ldJzb1znVov8UXR20QJRiAs6eHYnYh2keR6FlbOAkI9BM/c8= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: da91af67-c866-4824-f748-08dac8975626 X-MS-Exchange-CrossTenant-AuthSource: HK0PR01MB2801.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2022 12:29:14.1576 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR01MB3610 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749746680506370380?= X-GMAIL-MSGID: =?utf-8?q?1749746680506370380?= |
Series |
fs: namei: fix two excess parameter description warnings
|
|
Commit Message
Kushagra Verma
Nov. 17, 2022, 12:28 p.m. UTC
While building the kernel documentation, two excess parameter description
warnings appear:
./fs/namei.c:3589: warning: Excess function parameter 'dentry'
description in 'vfs_tmpfile'
./fs/namei.c:3589: warning: Excess function parameter 'open_flag'
description in 'vfs_tmpfile'
Fix these warnings by changing 'dentry' to 'parentpath' in the parameter
description and 'open_flag' to 'file' and change 'file' parameter's
description accordingly.
Signed-off-by: Kushagra Verma <kushagra765@outlook.com>
---
fs/namei.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On 11/17/22 04:28, Kushagra Verma wrote: > While building the kernel documentation, two excess parameter description > warnings appear: > ./fs/namei.c:3589: warning: Excess function parameter 'dentry' > description in 'vfs_tmpfile' > ./fs/namei.c:3589: warning: Excess function parameter 'open_flag' > description in 'vfs_tmpfile' > > Fix these warnings by changing 'dentry' to 'parentpath' in the parameter > description and 'open_flag' to 'file' and change 'file' parameter's > description accordingly. > > Signed-off-by: Kushagra Verma <kushagra765@outlook.com> Tested-by: Randy Dunlap <rdunlap@infradead.org> Thanks. > --- > fs/namei.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/fs/namei.c b/fs/namei.c > index 578c2110df02..8e77e194fed5 100644 > --- a/fs/namei.c > +++ b/fs/namei.c > @@ -3571,9 +3571,9 @@ static int do_open(struct nameidata *nd, > /** > * vfs_tmpfile - create tmpfile > * @mnt_userns: user namespace of the mount the inode was found from > - * @dentry: pointer to dentry of the base directory > + * @parentpath: pointer to dentry of the base directory > * @mode: mode of the new tmpfile > - * @open_flag: flags > + * @file: file information > * > * Create a temporary file. > *
diff --git a/fs/namei.c b/fs/namei.c index 578c2110df02..8e77e194fed5 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3571,9 +3571,9 @@ static int do_open(struct nameidata *nd, /** * vfs_tmpfile - create tmpfile * @mnt_userns: user namespace of the mount the inode was found from - * @dentry: pointer to dentry of the base directory + * @parentpath: pointer to dentry of the base directory * @mode: mode of the new tmpfile - * @open_flag: flags + * @file: file information * * Create a temporary file. *