diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-06-18 16:45:22 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-18 17:53:35 +0300 |
commit | 52d7e288444906aa5c99888e80a9cc1a1423ed92 (patch) | |
tree | e5debba8501c039d3dd350bedd21d06add4ab7b4 /mm | |
parent | e42cfb1da0bf33c313318da201730324c423351d (diff) | |
download | linux-52d7e288444906aa5c99888e80a9cc1a1423ed92.tar.xz |
blk-mq: fix an IS_ERR() vs NULL bug
The __blk_mq_alloc_disk() function doesn't return NULLs it returns
error pointers.
Fixes: b461dfc49eb6 ("blk-mq: add the blk_mq_alloc_disk APIs")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/YMyjci35WBqrtqG+@mwanda
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions