]> git.itanic.dy.fi Git - linux-stable/commitdiff
freevxfs: lookup: fix function params kernel-doc
authorRandy Dunlap <rdunlap@infradead.org>
Thu, 7 Dec 2023 21:20:35 +0000 (13:20 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 20 Dec 2023 23:02:58 +0000 (15:02 -0800)
Correct the function parameter kernel-doc notation to prevent warnings:

vxfs_lookup.c:192: warning: Function parameter or member 'ctx' not described in 'vxfs_readdir'
vxfs_lookup.c:192: warning: Excess function parameter 'retp' description in 'vxfs_readdir'
vxfs_lookup.c:192: warning: Excess function parameter 'filler' description in 'vxfs_readdir'

Link: https://lkml.kernel.org/r/20231207212035.25345-3-rdunlap@infradead.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/freevxfs/vxfs_lookup.c

index f04ba2ed1e1aa4ce5240021fba76a963f2b646cd..1b0bca8b4cc686043d92246042dcf833d37712e4 100644 (file)
@@ -177,8 +177,7 @@ vxfs_lookup(struct inode *dip, struct dentry *dp, unsigned int flags)
 /**
  * vxfs_readdir - read a directory
  * @fp:                the directory to read
- * @retp:      return buffer
- * @filler:    filldir callback
+ * @ctx:       dir_context for filldir/readdir
  *
  * Description:
  *   vxfs_readdir fills @retp with directory entries from @fp