Skip to content

Commit

Permalink
blk-mq: fixup type of 'ret' in __blk_mq_try_issue_directly()
Browse files Browse the repository at this point in the history
Should be a blk_status_t type, not an integer.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
Jens Axboe committed Jun 12, 2017
1 parent a104c9f commit f06345a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block/blk-mq.c
Original file line number Diff line number Diff line change
Expand Up @@ -1406,7 +1406,7 @@ static void __blk_mq_try_issue_directly(struct blk_mq_hw_ctx *hctx,
.last = true,
};
blk_qc_t new_cookie;
int ret;
blk_status_t ret;
bool run_queue = true;

if (blk_mq_hctx_stopped(hctx)) {
Expand Down

0 comments on commit f06345a

Please sign in to comment.