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

Skip to content
Commit 35b489d3 authored by Ming Lei's avatar Ming Lei Committed by Jens Axboe
Browse files

block: fix checking return value of blk_mq_init_queue



Check IS_ERR_OR_NULL(return value) instead of just return value.

Signed-off-by: default avatarMing Lei <ming.lei@canonical.com>

Reduced to IS_ERR() by me, we never return NULL.
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent aed3ea94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment