mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/3] freevxfs: bmap: fix kernel-doc warnings
@ 2023-12-07 21:20 Randy Dunlap
  2023-12-07 21:20 ` [PATCH 2/3] freevxfs: immed: fix kernel-doc param name Randy Dunlap
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Randy Dunlap @ 2023-12-07 21:20 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, Christoph Hellwig, Andrew Morton

Fix -Wall kernel-doc warnings in vxfs_bmap.c:

vxfs_bmap.c:44: warning: Function parameter or member 'bn' not described in 'vxfs_bmap_ext4'
vxfs_bmap.c:44: warning: Excess function parameter 'iblock' description in 'vxfs_bmap_ext4'
vxfs_bmap.c:108: warning: No description found for return value of 'vxfs_bmap_indir'
vxfs_bmap.c:187: warning: No description found for return value of 'vxfs_bmap_typed'
vxfs_bmap.c:251: warning: No description found for return value of 'vxfs_bmap1'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
---
 fs/freevxfs/vxfs_bmap.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff -- a/fs/freevxfs/vxfs_bmap.c b/fs/freevxfs/vxfs_bmap.c
--- a/fs/freevxfs/vxfs_bmap.c
+++ b/fs/freevxfs/vxfs_bmap.c
@@ -29,7 +29,7 @@ vxfs_typdump(struct vxfs_typed *typ)
 /**
  * vxfs_bmap_ext4 - do bmap for ext4 extents
  * @ip:		pointer to the inode we do bmap for
- * @iblock:	logical block.
+ * @bn:		logical block.
  *
  * Description:
  *   vxfs_bmap_ext4 performs the bmap operation for inodes with
@@ -97,7 +97,7 @@ fail_buf:
  *   vxfs_bmap_indir reads a &struct vxfs_typed at @indir
  *   and performs the type-defined action.
  *
- * Return Value:
+ * Returns:
  *   The physical block number on success, else Zero.
  *
  * Note:
@@ -179,7 +179,7 @@ out:
  * Description:
  *   Performs the bmap operation for typed extents.
  *
- * Return Value:
+ * Returns:
  *   The physical block number on success, else Zero.
  */
 static daddr_t
@@ -243,7 +243,7 @@ vxfs_bmap_typed(struct inode *ip, long i
  *   vxfs_bmap1 perfoms a logical to physical block mapping
  *   for vxfs-internal purposes.
  *
- * Return Value:
+ * Returns:
  *   The physical block number on success, else Zero.
  */
 daddr_t

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/3] freevxfs: immed: fix kernel-doc param name
  2023-12-07 21:20 [PATCH 1/3] freevxfs: bmap: fix kernel-doc warnings Randy Dunlap
@ 2023-12-07 21:20 ` Randy Dunlap
  2023-12-07 21:20 ` [PATCH 3/3] freevxfs: lookup: fix function params kernel-doc Randy Dunlap
  2023-12-11 16:38 ` [PATCH 1/3] freevxfs: bmap: fix kernel-doc warnings Christoph Hellwig
  2 siblings, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2023-12-07 21:20 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, Christoph Hellwig, Andrew Morton

Correct the function parameter name to prevent kernel-doc warnings:

vxfs_immed.c:32: warning: Function parameter or member 'fp' not described in 'vxfs_immed_read_folio'
vxfs_immed.c:32: warning: Excess function parameter 'file' description in 'vxfs_immed_read_folio'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
---
 fs/freevxfs/vxfs_immed.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -- a/fs/freevxfs/vxfs_immed.c b/fs/freevxfs/vxfs_immed.c
--- a/fs/freevxfs/vxfs_immed.c
+++ b/fs/freevxfs/vxfs_immed.c
@@ -15,7 +15,7 @@
 
 /**
  * vxfs_immed_read_folio - read part of an immed inode into pagecache
- * @file:	file context (unused)
+ * @fp:		file context (unused)
  * @folio:	folio to fill in.
  *
  * Description:

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 3/3] freevxfs: lookup: fix function params kernel-doc
  2023-12-07 21:20 [PATCH 1/3] freevxfs: bmap: fix kernel-doc warnings Randy Dunlap
  2023-12-07 21:20 ` [PATCH 2/3] freevxfs: immed: fix kernel-doc param name Randy Dunlap
@ 2023-12-07 21:20 ` Randy Dunlap
  2023-12-11 16:38 ` [PATCH 1/3] freevxfs: bmap: fix kernel-doc warnings Christoph Hellwig
  2 siblings, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2023-12-07 21:20 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, Christoph Hellwig, Andrew Morton

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'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
---
 fs/freevxfs/vxfs_lookup.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff -- a/fs/freevxfs/vxfs_lookup.c b/fs/freevxfs/vxfs_lookup.c
--- a/fs/freevxfs/vxfs_lookup.c
+++ b/fs/freevxfs/vxfs_lookup.c
@@ -177,8 +177,7 @@ vxfs_lookup(struct inode *dip, struct de
 /**
  * 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/3] freevxfs: bmap: fix kernel-doc warnings
  2023-12-07 21:20 [PATCH 1/3] freevxfs: bmap: fix kernel-doc warnings Randy Dunlap
  2023-12-07 21:20 ` [PATCH 2/3] freevxfs: immed: fix kernel-doc param name Randy Dunlap
  2023-12-07 21:20 ` [PATCH 3/3] freevxfs: lookup: fix function params kernel-doc Randy Dunlap
@ 2023-12-11 16:38 ` Christoph Hellwig
  2 siblings, 0 replies; 4+ messages in thread
From: Christoph Hellwig @ 2023-12-11 16:38 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-kernel, Christoph Hellwig, Andrew Morton

All three patches looks good to me:

Reviewed-by: Christoph Hellwig <hch@lst.de>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-12-11 16:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-07 21:20 [PATCH 1/3] freevxfs: bmap: fix kernel-doc warnings Randy Dunlap
2023-12-07 21:20 ` [PATCH 2/3] freevxfs: immed: fix kernel-doc param name Randy Dunlap
2023-12-07 21:20 ` [PATCH 3/3] freevxfs: lookup: fix function params kernel-doc Randy Dunlap
2023-12-11 16:38 ` [PATCH 1/3] freevxfs: bmap: fix kernel-doc warnings Christoph Hellwig

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®