mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yang Li <yang.lee@linux.alibaba.com>
To: hch@infradead.org
Cc: linux-kernel@vger.kernel.org,
	Yang Li <yang.lee@linux.alibaba.com>,
	Abaci Robot <abaci@linux.alibaba.com>
Subject: [PATCH -next] freevxfs: Fix vxfs_immed_readpage() kernel-doc comment
Date: Fri,  8 Apr 2022 08:10:14 +0800	[thread overview]
Message-ID: <20220408001014.10061-1-yang.lee@linux.alibaba.com> (raw)

Change parameter type to parameter name in vxfs_immed_readpage()
kernel-doc comment to remove warnings found by running
scripts/kernel-doc, which is caused by using 'make W=1'.

fs/freevxfs/vxfs_immed.c:67: warning: Function parameter or member 'fp'
not described in 'vxfs_immed_readpage'
fs/freevxfs/vxfs_immed.c:67: warning: Function parameter or member 'pp'
not described in 'vxfs_immed_readpage'
fs/freevxfs/vxfs_immed.c:67: warning: Excess function parameter 'file'
description in 'vxfs_immed_readpage'
fs/freevxfs/vxfs_immed.c:67: warning: Excess function parameter 'page'
description in 'vxfs_immed_readpage'

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 fs/freevxfs/vxfs_immed.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/freevxfs/vxfs_immed.c b/fs/freevxfs/vxfs_immed.c
index bfc780c682fb..d7269217f80a 100644
--- a/fs/freevxfs/vxfs_immed.c
+++ b/fs/freevxfs/vxfs_immed.c
@@ -49,8 +49,8 @@ const struct address_space_operations vxfs_immed_aops = {
 
 /**
  * vxfs_immed_readpage - read part of an immed inode into pagecache
- * @file:	file context (unused)
- * @page:	page frame to fill in.
+ * @fp:	file context (unused)
+ * @pp:	page frame to fill in.
  *
  * Description:
  *   vxfs_immed_readpage reads a part of the immed area of the
-- 
2.20.1.7.g153144c


                 reply	other threads:[~2022-04-08  0:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220408001014.10061-1-yang.lee@linux.alibaba.com \
    --to=yang.lee@linux.alibaba.com \
    --cc=abaci@linux.alibaba.com \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®