From patchwork Mon Jan 9 02:29:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 40612 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1945656wrt; Sun, 8 Jan 2023 18:51:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXtBVCOBcqAGJFt1uY8FGf3UEcUlF17KCPEzhrP92OUyayXaGJdhgI1jMxjs0n36wctuLZMn X-Received: by 2002:a17:90a:f80e:b0:225:d290:dcb0 with SMTP id ij14-20020a17090af80e00b00225d290dcb0mr54696214pjb.4.1673232662902; Sun, 08 Jan 2023 18:51:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673232662; cv=none; d=google.com; s=arc-20160816; b=WiIuigtZrmu33ISyG9ZZtWHXhxKltATvpgTiu7kvEdHsdYCRBG+FdBr9X+29OZkrli 8YeqgtQy8cX0zt6QiVxxhEOE5pMxNDDSkNHm7SkqCp209jzUoB2nFtgeRJD9VwB0zaV1 4Txc8zLQuUNXTAEjVamSv/iVs3ABfba5qzlQSpmEd90HWZwQbKDe8TOMBT0yJq7SCTS0 iZYSnkPZiae3Z78CKDy9B8Q55cQfIPG+c73CcQJ8wbF4nPyzr2IWECJVn7GY4OwlWSOC bqfL7Q1hz2Ez0C0PX1br/lj3x8A4wHS4e0lPJVF18fCxjdt6shwhOv4gIizq2Vqd3XW8 pdLw== 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:dkim-signature; bh=kaMCTOcUvTU23khT1M5FZYZ1J/m4B8hsn47snTUtPXI=; b=V6DovhlINQz3qKCg/3IVnK4owFevGP3EuMmTr/jyEBbseSDK03u6mQyL4poGOj77y9 u0Dom2BHsyS5Vg7X5uztdYjhlyBwUxk6lB1QlVD3zJFyrs2hFy8o41mxQBCcXW8nCpc7 qTcB3CxwSPR50stelaWU5QPyOrCXd8kzF47ba8alLFbSbohhIMliZmrsxbDYTBZZezE9 8doRERNXx5ORcJNHtUJD6pPtPnlmbnwiwWv4/QK8r+icKXmOtiNxmYz0lN6NgjKsYIwS anbuI+R3XLCHZsg2jjzeZypz+HpPbFzrzi5oOhAp0RuxZNNAXpM8vVLqRJi3JhuFj1pM 1tdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=jJcsqHvc; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t184-20020a6381c1000000b0046f357face9si8869159pgd.356.2023.01.08.18.50.48; Sun, 08 Jan 2023 18:51:02 -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=@infradead.org header.s=bombadil.20210309 header.b=jJcsqHvc; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233780AbjAIC3X (ORCPT + 99 others); Sun, 8 Jan 2023 21:29:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231926AbjAIC3V (ORCPT ); Sun, 8 Jan 2023 21:29:21 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BE899FCE; Sun, 8 Jan 2023 18:29:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=kaMCTOcUvTU23khT1M5FZYZ1J/m4B8hsn47snTUtPXI=; b=jJcsqHvc+Dd04fVEdjS5iUGmev XQ0FG/720D5yEaCehNpwcWnmQSojsIgjrT/MTahCSntyyMSCLEkSqz0ZIY26yuszAd2hAh7lZnFKM PnUNIagO6DK0ZDMwfEY6KH+1krRv2wY6+Z9fpIaXCDRroTlD2u6WSofpdq0LpHjqd0Y1V+q4HoF8u d2ED5tJ8K8tXDVbtvsiNWHd50PnbfwTjo/3u66l2iqTPJj2JbAWApXou7d7GXVIWAbyYtx5bHqKnq tX71rnTf4Ax0FGiT5iG9zuDq6tjlB4TIVZpSEqOZdS1J08GSsxvAl+pns/Z2OwYR8Q4/4TjIHvl7p OvZgVJNA==; Received: from [2601:1c2:d80:3110::a2e7] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pEhuX-00GnlC-0p; Mon, 09 Jan 2023 02:29:17 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Cc: Randy Dunlap , Christoph Hellwig , Andrew Morton , Greg Kroah-Hartman Subject: [PATCH] freevxfs: fix kernel-doc warnings Date: Sun, 8 Jan 2023 18:29:15 -0800 Message-Id: <20230109022915.17504-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754511612408702777?= X-GMAIL-MSGID: =?utf-8?q?1754511612408702777?= Fix multiple kernel-doc warnings in freevxfs: fs/freevxfs/vxfs_subr.c:45: warning: Function parameter or member 'mapping' not described in 'vxfs_get_page' fs/freevxfs/vxfs_subr.c:45: warning: Excess function parameter 'ip' description in 'vxfs_get_page' 2 warnings fs/freevxfs/vxfs_subr.c:101: warning: expecting prototype for vxfs_get_block(). Prototype was for vxfs_getblk() instead fs/freevxfs/vxfs_super.c:184: warning: expecting prototype for vxfs_read_super(). Prototype was for vxfs_fill_super() instead Signed-off-by: Randy Dunlap Cc: Christoph Hellwig Cc: Andrew Morton Cc: Greg Kroah-Hartman Reviewed-by: Christoph Hellwig --- fs/freevxfs/vxfs_subr.c | 6 +++--- fs/freevxfs/vxfs_super.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff -- a/fs/freevxfs/vxfs_subr.c b/fs/freevxfs/vxfs_subr.c --- a/fs/freevxfs/vxfs_subr.c +++ b/fs/freevxfs/vxfs_subr.c @@ -31,7 +31,7 @@ vxfs_put_page(struct page *pp) /** * vxfs_get_page - read a page into memory. - * @ip: inode to read from + * @mapping: mapping to read from * @n: page number * * Description: @@ -81,14 +81,14 @@ vxfs_bread(struct inode *ip, int block) } /** - * vxfs_get_block - locate buffer for given inode,block tuple + * vxfs_getblk - locate buffer for given inode,block tuple * @ip: inode * @iblock: logical block * @bp: buffer skeleton * @create: %TRUE if blocks may be newly allocated. * * Description: - * The vxfs_get_block function fills @bp with the right physical + * The vxfs_getblk function fills @bp with the right physical * block and device number to perform a lowlevel read/write on * it. * diff -- a/fs/freevxfs/vxfs_super.c b/fs/freevxfs/vxfs_super.c --- a/fs/freevxfs/vxfs_super.c +++ b/fs/freevxfs/vxfs_super.c @@ -165,7 +165,7 @@ static int vxfs_try_sb_magic(struct supe } /** - * vxfs_read_super - read superblock into memory and initialize filesystem + * vxfs_fill_super - read superblock into memory and initialize filesystem * @sbp: VFS superblock (to fill) * @dp: fs private mount data * @silent: do not complain loudly when sth is wrong