All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] block: fix parameter not described warning
@ 2021-11-25 16:20 davidcomponentone
  2021-11-25 16:36 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: davidcomponentone @ 2021-11-25 16:20 UTC (permalink / raw)
  To: axboe
  Cc: davidcomponentone, linux-block, linux-kernel, Yang Guang, Zeal Robot

From: Yang Guang <yang.guang5@zte.com.cn>

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>

---

Changes in v2:
- Add fixes tag
---
 block/blk-core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/block/blk-core.c b/block/blk-core.c
index 143cc21db5ef..b0660c9df852 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -958,6 +958,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
-- 
2.30.2


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

* Re: [PATCH v2] block: fix parameter not described warning
  2021-11-25 16:20 [PATCH v2] block: fix parameter not described warning davidcomponentone
@ 2021-11-25 16:36 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2021-11-25 16:36 UTC (permalink / raw)
  To: davidcomponentone; +Cc: linux-block, linux-kernel, Yang Guang, Zeal Robot

On 11/25/21 9:20 AM, davidcomponentone@gmail.com wrote:
> From: Yang Guang <yang.guang5@zte.com.cn>
> 
> The build warning:
> block/blk-core.c:968: warning: Function parameter or member 'iob'
> not described in 'bio_poll'.

Applied, thanks.

-- 
Jens Axboe


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

end of thread, other threads:[~2021-11-25 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-25 16:20 [PATCH v2] block: fix parameter not described warning davidcomponentone
2021-11-25 16:36 ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.