WSL2-Linux-Kernel/drivers/block/paride
Dan Carpenter 0c0d79f336 pcd: fix error codes in pcd_init_unit()
commit d0ac7a30e4 upstream.

Return -ENODEV on these error paths instead of returning success.

Fixes: af761f277b ("pcd: cleanup initialization")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20211001122623.GA2283@kili
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-19 12:23:04 +02:00
..
Kconfig scsi: cdrom: Remove the call to scsi_cmd_blk_ioctl() from cdrom_ioctl() 2021-07-28 22:24:25 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Transition-notes
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
ktti.c
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: fix error codes in pcd_init_unit() 2023-09-19 12:23:04 +02: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