Message ID | 20221020034036.56523-1-jiapeng.chong@linux.alibaba.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp48149wrs; Wed, 19 Oct 2022 20:57:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6PRJ+mKBxwHoDQShY/XSG0q3qzepDZBUZDiyxCPS5NJNQu/DsCVDuNy8dZp9ZKhvwhYuqI X-Received: by 2002:a17:906:478d:b0:78d:ec4d:e2e0 with SMTP id cw13-20020a170906478d00b0078dec4de2e0mr9360793ejc.34.1666238268385; Wed, 19 Oct 2022 20:57:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666238268; cv=none; d=google.com; s=arc-20160816; b=NcPcJbfon0NyBzl4ifmxdOJq4pSqsidGCPmhRpi4k1dx2YuXdSiCp4wLCTtOJcjCXz x+Hyl6IlnSz2fsw0E3XLxO6dVGa/rVR6I5HiDnQcWMC981u+olmhH8FRhlgCB+orVp7I nPG9vL3ByT1c8DZ7ZMzDO1pMJBL36+PVzT6/GNiPy4es3xxRhB5rv+Y11A4OT1C2mFLx /CdC3FRiuTM4/qqiYG+XrCvhudr9/GxDpW0rZF5ucD3XcKq9fpI9IF7l0bjVD2NqQc+6 yjDq+dkTWPW83/a1jNU22ux+nwAH77KtAwautRRJ89ZiUHDatmyAdnI653p3gB/bDC0Y 74JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=wmP3ZrJwKVCjXQR/0ogcyBxjMy0iJgKS6Wr1qMF4EmA=; b=hpG4G7a8wdfYqw45EcEYXxCOdHGnLou6DKLBj2Ig/srHGSFPhC2xjTIQAHRK5UzAap CYwhU3jce2BayIQVkTHAJ+uWv3rqqnuNT2McUjEKAZQ8fWM/0KELTnDDDipRM20GnWNl xeZ6Y81Bxhi7Mt+Jl99+wcOXG9ZbiBzuuOAHa4bisBtt8yS/9FAaVdrLWyobyQAlcJyS WeQo4ghnZVpTqvfijwDlwafgercUvTdwz7MRF0/ZtmBPzq+473YrN2n6ZWcfo+/syMuA zLnr2GFWqM+7zMqgya9LdAysQVc9f5RcZ8bPOHq6ixq7hN7xmfQ7ECYIC9iTKO/yHehH i0/g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mf4-20020a170906cb8400b0078e1cd71067si13766612ejb.205.2022.10.19.20.57.24; Wed, 19 Oct 2022 20:57:48 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229719AbiJTDpG (ORCPT <rfc822;samuel.l.nystrom@gmail.com> + 99 others); Wed, 19 Oct 2022 23:45:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229685AbiJTDpD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 19 Oct 2022 23:45:03 -0400 Received: from out30-44.freemail.mail.aliyun.com (out30-44.freemail.mail.aliyun.com [115.124.30.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1A6359707; Wed, 19 Oct 2022 20:45:00 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R601e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0VSd7AtV_1666237494; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VSd7AtV_1666237494) by smtp.aliyun-inc.com; Thu, 20 Oct 2022 11:44:58 +0800 From: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> To: viro@zeniv.linux.org.uk Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong <jiapeng.chong@linux.alibaba.com>, Abaci Robot <abaci@linux.alibaba.com> Subject: [PATCH] vfs: fs_context: Modify mismatched function name Date: Thu, 20 Oct 2022 11:40:36 +0800 Message-Id: <20221020034036.56523-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,URIBL_BLOCKED,USER_IN_DEF_SPF_WL 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?1747177458047977182?= X-GMAIL-MSGID: =?utf-8?q?1747177458047977182?= |
Series |
vfs: fs_context: Modify mismatched function name
|
|
Commit Message
Jiapeng Chong
Oct. 20, 2022, 3:40 a.m. UTC
No functional modification involved.
fs/fs_context.c:347: warning: expecting prototype for vfs_dup_fc_config(). Prototype was for vfs_dup_fs_context() instead.
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2456
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
fs/fs_context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hi-- On 10/19/22 20:40, Jiapeng Chong wrote: > No functional modification involved. > > fs/fs_context.c:347: warning: expecting prototype for vfs_dup_fc_config(). Prototype was for vfs_dup_fs_context() instead. > > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2456 > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> > --- > fs/fs_context.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/fs_context.c b/fs/fs_context.c > index df04e5fc6d66..be45701cd998 100644 > --- a/fs/fs_context.c > +++ b/fs/fs_context.c > @@ -340,7 +340,7 @@ void fc_drop_locked(struct fs_context *fc) > static void legacy_fs_context_free(struct fs_context *fc); > > /** > - * vfs_dup_fc_config: Duplicate a filesystem context. > + * vfs_dup_fs_context: Duplicate a filesystem context. That is still not the correct kernel-doc format (or syntax). The ':' should be a '-' instead. Also, I see scripts/kernel-doc reporting 16 kernel-doc format problems in this file. How about fixing more than just one of them, please. fs_context.c:95: warning: No description found for return value of 'vfs_parse_fs _param_source' fs_context.c:128: warning: No description found for return value of 'vfs_parse_f s_param' fs_context.c:168: warning: Function parameter or member 'fc' not described in 'v fs_parse_fs_string' fs_context.c:168: warning: Function parameter or member 'key' not described in ' vfs_parse_fs_string' fs_context.c:168: warning: Function parameter or member 'value' not described in 'vfs_parse_fs_string' fs_context.c:168: warning: Function parameter or member 'v_size' not described i n 'vfs_parse_fs_string' fs_context.c:168: warning: No description found for return value of 'vfs_parse_f s_string' fs_context.c:202: warning: Function parameter or member 'fc' not described in 'g eneric_parse_monolithic' fs_context.c:202: warning: Excess function parameter 'ctx' description in 'gener ic_parse_monolithic' fs_context.c:202: warning: No description found for return value of 'generic_par se_monolithic' fs_context.c:252: warning: No description found for return value of 'alloc_fs_co ntext' fs_context.c:340: warning: No description found for return value of 'vfs_dup_fs_ context' fs_context.c:386: warning: Function parameter or member 'log' not described in ' logfc' fs_context.c:386: warning: Function parameter or member 'prefix' not described i n 'logfc' fs_context.c:386: warning: Function parameter or member 'level' not described in 'logfc' fs_context.c:386: warning: Excess function parameter 'fc' description in 'logfc' 16 warnings > * @src_fc: The context to copy. > */ > struct fs_context *vfs_dup_fs_context(struct fs_context *src_fc)
diff --git a/fs/fs_context.c b/fs/fs_context.c index df04e5fc6d66..be45701cd998 100644 --- a/fs/fs_context.c +++ b/fs/fs_context.c @@ -340,7 +340,7 @@ void fc_drop_locked(struct fs_context *fc) static void legacy_fs_context_free(struct fs_context *fc); /** - * vfs_dup_fc_config: Duplicate a filesystem context. + * vfs_dup_fs_context: Duplicate a filesystem context. * @src_fc: The context to copy. */ struct fs_context *vfs_dup_fs_context(struct fs_context *src_fc)