blk-mq: Update blk_mq_map_queue() documentation
PATCH 1/1 blk-mq: Update blk_mq_map_queue() documentation
Commit 8ccdf4a37752 ("blk-mq: save queue mapping result into ctx directly") changed the last argument name from cpu to ctx but missed to update the documentation.
Signed-off-by Daniel Wagner <[email protected]>
--- block/blk-mq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
block/blk-mq.h +1 -1
@@ -97,7 +97,7 @@ static inline struct blk_mq_hw_ctx *blk_mq_map_queue_type(struct request_queue ** blk_mq_map_queue() - map (cmd_flags,type) to hardware queue * @q: request queue * @flags: request command flags -* @cpu: cpu ctx +* @ctx: software queue state */ static inline struct blk_mq_hw_ctx *blk_mq_map_queue(struct request_queue *q, unsigned int flags,
Signature · 1 line
2.25.0
Quoted 14 lines · Daniel Wagner
Commit
8ccdf4a37752("blk-mq: save queue mapping result into ctx directly") changed the last argument name from cpu to ctx but missed to update the documentation.Signed-off-by Daniel Wagner <[email protected]>--- block/blk-mq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)block/blk-mq.h +0
-0
block/blk-mq.h static inline struct blk_mq_hw_ctx *blk_mq_map_queue_type(struct request_queue * · line 103
Quoted 8 lines
block/blk-mq.h +1
-1@@ -97,7 +97,7 @@ static inline struct blk_mq_hw_ctx *blk_mq_map_queue_type(struct request_queue ** blk_mq_map_queue() - map (cmd_flags,type) to hardware queue * @q: request queue * @flags: request command flags -* @cpu: cpu ctx +* @ctx: software queue state */ static inline struct blk_mq_hw_ctx *blk_mq_map_queue(struct request_queue *q, unsigned int flags,
Just "software queue" instead of "software queue state" probably would have been more clear. I think that's the name that is used elsewhere in the block layer. Anyway:
Reviewed-by Bart Van Assche <[email protected]>