Skip to contentSkip to conversation

block: blk-mq.c: fix @at_head kernel-doc warning

PATCH In review Randy Dunlap 2 participants 3 messages Aug 16, 2020 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 block: blk-mq.c: fix @at_head kernel-doc warning

Fix a new kernel-doc warning in block/blk-mq.c:

../block/blk-mq.c:1844: warning: Function parameter or member 'at_head' not described in 'blk_mq_request_bypass_insert'

Fixes 01e99aeca397 ("blk-mq: insert passthrough request into hctx->dispatch directly")
Cc André Almeida <[email protected]>
Cc Jens Axboe <[email protected]>
Cc Ming Lei <[email protected]>

---
v2: correct Fixes: Commit-ID + Cc: to author.

 block/blk-mq.c |    1 +
 1 file changed, 1 insertion(+)
block/blk-mq.c +1 -0
@@ -1834,6 +1834,7 @@ void __blk_mq_insert_request(struct blk_
 /**
  * blk_mq_request_bypass_insert - Insert a request at dispatch list.
  * @rq: Pointer to request to be inserted.
+ * @at_head: true if the request should be inserted at the head of the list.
  * @run_queue: If we should run the hardware queue after inserting the request.
  *
  * Should only be used carefully, when the caller knows we want to
maintainer
#1 lore raw
Quoted 3 lines · Randy Dunlap

Fix a new kernel-doc warning in block/blk-mq.c:

../block/blk-mq.c:1844: warning: Function parameter or member 'at_head' not described in 'blk_mq_request_bypass_insert'

Replaced the previous one - and since I was doing that anyway, I removed the 'new' from the commit message. Looks like it was from 5.6, so not what I'd call new.

Signature · 1 line
Jens Axboe
#2 lore raw
Quoted 8 lines · Jens Axboe
Quoted 3 lines · Randy Dunlap

Fix a new kernel-doc warning in block/blk-mq.c:

../block/blk-mq.c:1844: warning: Function parameter or member 'at_head' not described in 'blk_mq_request_bypass_insert'

Replaced the previous one - and since I was doing that anyway, I removed the 'new' from the commit message. Looks like it was from 5.6, so not what I'd call new.

Yes, I just hadn't seen it before and I check pretty carefully.

thanks.

Signature · 1 line
~Randy