projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a104c9f
)
blk-mq: fixup type of 'ret' in __blk_mq_try_issue_directly()
author
Jens Axboe
<axboe@kernel.dk>
Mon, 12 Jun 2017 17:22:46 +0000
(11:22 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 12 Jun 2017 17:22:46 +0000
(11:22 -0600)
Should be a blk_status_t type, not an integer.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
patch
|
blob
|
history
diff --git
a/block/blk-mq.c
b/block/blk-mq.c
index da2f2196152519eded4d608eb8fb55fca9eaa3d9..359d2dc0d4148a4cd15652d61fcc0ce156a98c36 100644
(file)
--- 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;
-
in
t ret;
+
blk_status_
t ret;
bool run_queue = true;
if (blk_mq_hctx_stopped(hctx)) {