diff options
author | Yang Guang <yang.guang5@zte.com.cn> | 2021-11-25 17:20:55 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-25 17:32:19 +0100 |
commit | e30028ace8459ea096b093fc204f0d5e8fc3b6ae (patch) | |
tree | 858dcd8cda31af0d1f80e51fb51adf1efb187331 /block | |
parent | Merge tag 'nvme-5.16-2021-11-25' of git://git.infradead.org/nvme into block-5.16 (diff) | |
download | linux-e30028ace8459ea096b093fc204f0d5e8fc3b6ae.tar.xz linux-e30028ace8459ea096b093fc204f0d5e8fc3b6ae.zip |
block: fix parameter not described warning
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>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index f0f38ca8e22f..1378d084c770 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -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 |