linux/drivers/block/paride
Dan Carpenter 3375dca0b5 pd: fix a NULL vs IS_ERR() check
blk_mq_alloc_disk() returns error pointers, it doesn't return NULL
so correct the check.

Fixes: 262d431f90 ("pd: use blk_mq_alloc_disk and blk_cleanup_disk")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20210827100023.GB9449@kili
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-08-27 07:45:48 -06:00
..
aten.c
bpck.c paride: remove redundant variable n 2018-07-09 09:07:53 -06:00
bpck6.c
comm.c
dstr.c
epat.c
epia.c
fit2.c
fit3.c
friq.c
frpw.c
kbic.c
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
ktti.c
Makefile
mkd
on20.c
on26.c
paride.c
paride.h
pcd.c pcd: use blk_mq_alloc_disk 2021-06-11 11:53:02 -06:00
pd.c pd: fix a NULL vs IS_ERR() check 2021-08-27 07:45:48 -06:00
pf.c pf: use blk_mq_alloc_disk 2021-06-11 11:53:02 -06:00
pg.c
ppc6lnx.c
pseudo.h
pt.c
Transition-notes