Commit ebd76857 authored by Colin Ian King's avatar Colin Ian King Committed by Jens Axboe

blk-mq: make __blk_mq_stop_hw_queues static

Making __blk_mq_stop_hw_queues static fixes sparse warning:

  block/blk-mq.c:6: warning: symbol '__blk_mq_stop_hw_queues' was not
  declared. Should it be static?

Fixes: 2719aa21 ("blk-mq: don't use sync workqueue flushing from drivers")
Signed-off-by: default avatarColin Ian King <>
Signed-off-by: default avatarJens Axboe <>
parent 629b1b2e
......@@ -1236,7 +1236,7 @@ void blk_mq_stop_hw_queue(struct blk_mq_hw_ctx *hctx)
void __blk_mq_stop_hw_queues(struct request_queue *q, bool sync)
static void __blk_mq_stop_hw_queues(struct request_queue *q, bool sync)
struct blk_mq_hw_ctx *hctx;
int i;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment