From: Colin Ian King Date: Mon, 8 May 2017 10:44:40 +0000 (+0100) Subject: blk-mq: make __blk_mq_stop_hw_queues static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ebd768579552a10682c2cbdfa657779dea62a01d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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: 2719aa217e0d0 ("blk-mq: don't use sync workqueue flushing from drivers") Signed-off-by: Colin Ian King Signed-off-by: Jens Axboe --- diff --git a/block/blk-mq.c b/block/blk-mq.c index a7e6b353e4e9..9ae1d9ccf4df 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -1236,7 +1236,7 @@ void blk_mq_stop_hw_queue(struct blk_mq_hw_ctx *hctx) } EXPORT_SYMBOL(blk_mq_stop_hw_queue); -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;