Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3381430pxb; Mon, 4 Apr 2022 15:12:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVyffkPT7p+NmPqu+31QYmJasdellY3R4cxutuJv7aloSZGeqO+VnnsSaGxCuHH3p2B7FJ X-Received: by 2002:a05:6870:1ca:b0:e2:1992:120b with SMTP id n10-20020a05687001ca00b000e21992120bmr164430oad.222.1649110347670; Mon, 04 Apr 2022 15:12:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649110347; cv=none; d=google.com; s=arc-20160816; b=Av1TW9SSvJQtHQLiVm+WkgN2ZXZg2h1L+v+Je4Ua9BwSYFz9UpcSt53G0behcMA0cV 13D88To5VVuCCZ6WnzvOkEOdNn+AFNATit/p1VaYKmiiZxZ9XR0wsqSicdd9kutQrhat 5qtt6JL/aPGqPg1KaZFmNe/s/FQUJvEHASqRkF5r6mmp37HP+JCSBu7V4r6wKzzmaUEX 4c2C3U0pFJ8T7qr6ZMLJSfpFPJI0VlSXbHY0cEVJTjJ0H4yUUjs168z6SutfYWsatWuF kAPR+iAKFwYZYJeFaolLv5+N3YHq8YtBJX5SL4IXqWeohLitfXTYvZi6w6Ru+8duiD+B QLeQ== 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=QSOswO5zVVeaWnj3aUYyqpoChOl+zCjDj/wFApYzIJw=; b=rWRYXzKUJGqZ+IVYlVy4yBEIWgv5vVRcGrL4BM4A8XCYOshJva0WbXvfzwG0owkzbR 3Sq4j/UcVYwdVtPcbnlkeHLFJ+2AEic9jVdSqUw2cn9YdSbOqxxwK1K7HuHwcfa6HnxU OvIHoyMOmSSqt7z35RUDfbqgr2t7bpSgBDDDtgSnm3CLcVSz6zjfYksPO18X5qDP3WaB pMZyz0VpgirKZ03ftUXxzZovhxqD21QEQVw9Epy0E6+MyvzQtEdxPvF0bY7cbHnZ/y+8 iO81iFQfYsWvVSjLbugVwQvYmj1F4vvUQ9srIgDASn28n4VXIbf/OPul5A9rNbQAViDH xLPA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l3-20020a0568301d6300b005cb2fc138b7si6375784oti.307.2022.04.04.15.12.14; Mon, 04 Apr 2022 15:12:27 -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 S239226AbiDBIYY (ORCPT + 99 others); Sat, 2 Apr 2022 04:24:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239213AbiDBIYV (ORCPT ); Sat, 2 Apr 2022 04:24:21 -0400 Received: from out199-8.us.a.mail.aliyun.com (out199-8.us.a.mail.aliyun.com [47.90.199.8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C17F92228C; Sat, 2 Apr 2022 01:22:28 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R961e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04394;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0V8ygiC._1648887744; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V8ygiC._1648887744) by smtp.aliyun-inc.com(127.0.0.1); Sat, 02 Apr 2022 16:22:25 +0800 From: Yang Li To: viro@zeniv.linux.org.uk Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] vfs: fs_context: Fix some kernel-doc comments Date: Sat, 2 Apr 2022 16:22:22 +0800 Message-Id: <20220402082222.114428-1-yang.lee@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,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY,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: X-Mailing-List: linux-kernel@vger.kernel.org Remove some warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. fs/fs_context.c:202: warning: Function parameter or member 'fc' not described in 'generic_parse_monolithic' fs/fs_context.c:202: warning: Excess function parameter 'ctx' description in 'generic_parse_monolithic' fs/fs_context.c:340: warning: expecting prototype for vfs_dup_fc_config(). Prototype was for vfs_dup_fs_context() instead fs/fs_context.c:386: warning: Function parameter or member 'log' not described in 'logfc' fs/fs_context.c:386: warning: Function parameter or member 'prefix' not described in 'logfc' fs/fs_context.c:386: warning: Function parameter or member 'level' not described in 'logfc' fs/fs_context.c:386: warning: Excess function parameter 'fc' description in 'logfc' Reported-by: Abaci Robot Signed-off-by: Yang Li --- fs/fs_context.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/fs/fs_context.c b/fs/fs_context.c index 24ce12f0db32..be2bce5fe66d 100644 --- a/fs/fs_context.c +++ b/fs/fs_context.c @@ -189,7 +189,8 @@ EXPORT_SYMBOL(vfs_parse_fs_string); /** * generic_parse_monolithic - Parse key[=val][,key[=val]]* mount data - * @ctx: The superblock configuration to fill in. + * @fc: Filesystem context for holding the parameters used in the creation or + * reconfiguration of a superblock. * @data: The data to parse * * Parse a blob of data that's in key[=val][,key[=val]]* form. This can be @@ -333,7 +334,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) @@ -379,7 +380,9 @@ EXPORT_SYMBOL(vfs_dup_fs_context); /** * logfc - Log a message to a filesystem context - * @fc: The filesystem context to log to. + * @log: The filesystem context to log to. + * @prefix: The log prefix. + * @level: The log level. * @fmt: The format of the buffer. */ void logfc(struct fc_log *log, const char *prefix, char level, const char *fmt, ...) -- 2.20.1.7.g153144c