Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f06345ad authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarJens Axboe <axboe@kernel.dk>
parent a104c9f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)) {