]> git.dujemihanovic.xyz Git - linux.git/commitdiff
block: fix parameter not described warning
authorYang Guang <yang.guang5@zte.com.cn>
Thu, 25 Nov 2021 16:20:55 +0000 (00:20 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 25 Nov 2021 16:32:19 +0000 (09:32 -0700)
The build warning:
block/blk-core.c:968: warning: Function parameter or member 'iob'
not described in 'bio_poll'.

Fixes: 5a72e899ceb4 ("block: add a struct io_comp_batch argument to fops->iopoll()")
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Yang Guang <yang.guang5@zte.com.cn>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c

index f0f38ca8e22f27f33b67a5a47d7be11524a2c0e4..1378d084c770f6641a911caf8d98d302026fa689 100644 (file)
@@ -1017,6 +1017,7 @@ EXPORT_SYMBOL(submit_bio);
 /**
  * bio_poll - poll for BIO completions
  * @bio: bio to poll for
+ * @iob: batches of IO
  * @flags: BLK_POLL_* flags that control the behavior
  *
  * Poll for completions on queue associated with the bio. Returns number of