summaryrefslogtreecommitdiffstats
path: root/block/blk-mq.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-06-12 11:22:46 -0600
committerJens Axboe <axboe@kernel.dk>2017-06-12 11:22:46 -0600
commitf06345add95f388519e83ec398134853e0f64ac9 (patch)
tree35c913c0ea0acbe62dd34b80304deee0b991f76f /block/blk-mq.c
parenta104c9f22c7d073d4ae308ca36383ce5cc4631cc (diff)
downloadlinux-f06345add95f388519e83ec398134853e0f64ac9.tar.bz2
blk-mq: fixup type of 'ret' in __blk_mq_try_issue_directly()
Should be a blk_status_t type, not an integer. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.c')
-rw-r--r--block/blk-mq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c
index da2f21961525..359d2dc0d414 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -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)) {