diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-02-05 10:38:19 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-02-12 23:33:32 +0100 |
commit | 8168b9bba6a88fe8a81be5b5f0937faeb3f6775d (patch) | |
tree | 350b4b62141da21c67318bcc92372b8e4997aa39 /include | |
parent | 1440061be128180a3846480d8b8bd24233edcd2f (diff) |
UBI: block: Fix checking for NULL instead of IS_ERR()
We recently switched from allocating ->rq using blk_init_queue() to
use blk_mq_init_queue() so we need to update the error handling to
check for IS_ERR() instead of NULL.
Fixes: ff1f48ee3bb3 ('UBI: Block: Add blk-mq support')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions