diff mbox series

[2/3] blk-mq: update arg in comment of blk_mq_map_queue

Message ID 20201204152055.31605-3-minwoo.im.dev@gmail.com (mailing list archive)
State New, archived
Headers show
Series blk-mq: trivial helper and fixes comments | expand

Commit Message

Minwoo Im Dec. 4, 2020, 3:20 p.m. UTC
Update mis-named argument description of blk_mq_map_queue().  This patch
also updates description that argument to software queue percpu context.

Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
---
 block/blk-mq.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

John Garry Dec. 11, 2020, 5:07 p.m. UTC | #1
On 04/12/2020 15:20, Minwoo Im wrote:
> Update mis-named argument description of blk_mq_map_queue().  This patch
> also updates description that argument to software queue percpu context.
> 
> Signed-off-by: Minwoo Im<minwoo.im.dev@gmail.com>

Reviewed-by: John Garry <john.garry@huawei.com>

> ---
>   block/blk-mq.h | 2 +-
diff mbox series

Patch

diff --git a/block/blk-mq.h b/block/blk-mq.h
index c696515766c7..c1458d9502f1 100644
--- a/block/blk-mq.h
+++ b/block/blk-mq.h
@@ -99,7 +99,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 cpu ctx
  */
 static inline struct blk_mq_hw_ctx *blk_mq_map_queue(struct request_queue *q,
 						     unsigned int flags,