linux-stable/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 module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
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 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mkd License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
on20.c
on26.c
paride.c paride: use new parport device model 2015-06-01 07:10:23 +09:00
paride.h paride: use new parport device model 2015-06-01 07:10:23 +09:00
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 scripts/spelling.txt: add "overide" pattern and fix typo instances 2017-03-09 17:01:09 -08:00
ppc6lnx.c
pseudo.h
pt.c scripts/spelling.txt: add "overide" pattern and fix typo instances 2017-03-09 17:01:09 -08:00
Transition-notes