Message ID | 20170508104440.10945-1-colin.king@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 05/08/2017 04:44 AM, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > 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? Thanks, added.
diff --git a/block/blk-mq.c b/block/blk-mq.c index 5d4ce7eb8dbf..5385fc89a6d2 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;