[PATCH] block: fix kernel-doc warning

SurajSonawane2415 posted 1 patch 1 month, 3 weeks ago
block/blk-integrity.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] block: fix kernel-doc warning
Posted by SurajSonawane2415 1 month, 3 weeks ago
Fix a kernel-doc warning in blk-integrity.c where the 'rq' parameter
was not described in the function blk_rq_map_integrity_sg. This
warning was triggered when generating documentation.

Signed-off-by: SurajSonawane2415 <surajsonawane0215@gmail.com>
---
 block/blk-integrity.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/block/blk-integrity.c b/block/blk-integrity.c
index 0a2b1c5d0..fbe436377 100644
--- a/block/blk-integrity.c
+++ b/block/blk-integrity.c
@@ -56,6 +56,7 @@ int blk_rq_count_integrity_sg(struct request_queue *q, struct bio *bio)
 
 /**
  * blk_rq_map_integrity_sg - Map integrity metadata into a scatterlist
+ * @rq:		request containing integrity metadata
  * @q:		request queue
  * @bio:	bio with integrity metadata attached
  * @sglist:	target scatterlist
-- 
2.34.1
Re: [PATCH] block: fix kernel-doc warning
Posted by Jens Axboe 1 month, 3 weeks ago
On 10/2/24 12:40 PM, SurajSonawane2415 wrote:
> Fix a kernel-doc warning in blk-integrity.c where the 'rq' parameter
> was not described in the function blk_rq_map_integrity_sg. This
> warning was triggered when generating documentation.

Fix for this already exists, going upstream for -rc2.

-- 
Jens Axboe