linux-stable/drivers/block
Jia-Ju Bai 78bda6e4dd block: rsxx: fix error return code of rsxx_pci_probe()
[ Upstream commit df66617bfe ]

When create_singlethread_workqueue returns NULL to card->event_wq, no
error return code of rsxx_pci_probe() is assigned.

To fix this bug, st is assigned with -ENOMEM in this case.

Fixes: 8722ff8cdb ("block: IBM RamSan 70/80 device driver")
Reported-by: TOTE Robot <oslab@tsinghua.edu.cn>
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Link: https://lore.kernel.org/r/20210310033017.4023-1-baijiaju1990@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-17 16:34:34 +01:00
..
aoe
drbd signal: Allow cifs and drbd to receive their terminating signals 2020-01-27 14:46:43 +01:00
mtip32xx License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
paride cdrom: do not call check_disk_change() inside cdrom_open() 2018-05-30 07:52:34 +02:00
rsxx block: rsxx: fix error return code of rsxx_pci_probe() 2021-03-17 16:34:34 +01:00
xen-blkback xen-blkback: fix error handling in xen_blkbk_map() 2021-02-23 14:00:34 +01:00
zram zsmalloc: account the number of compacted pages correctly 2021-03-07 11:27:46 +01:00
amiflop.c amiflop: clean up on errors during setup 2019-12-01 09:13:26 +01:00
ataflop.c ataflop: fix error handling during setup 2018-11-13 11:14:51 -08:00
brd.c block: Move SECTOR_SIZE and SECTOR_SHIFT definitions into <linux/blkdev.h> 2020-09-09 19:03:12 +02:00
cryptoloop.c
DAC960.c block: DAC960: shut up format-overflow warning 2017-07-29 09:00:03 -06:00
DAC960.h
floppy.c floppy: reintroduce O_NDELAY fix 2021-03-03 18:22:53 +01:00
Kconfig block: rsxx: select CONFIG_CRC32 2021-01-17 13:59:00 +01:00
loop.c loop: replace kill_bdev with invalidate_bdev 2020-06-30 15:38:02 -04:00
loop.h Revert "block/loop: Use global lock for ioctl() operation." 2019-05-02 09:40:33 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nbd.c nbd: freeze the queue while we're adding connections 2021-02-03 23:22:20 +01:00
null_blk.c block: Move SECTOR_SIZE and SECTOR_SHIFT definitions into <linux/blkdev.h> 2020-09-09 19:03:12 +02:00
pktcdvd.c pktcdvd: remove warning on attempting to register non-passthrough dev 2019-10-07 18:55:13 +02:00
ps3disk.c ps3disk: use the default segment boundary 2020-06-25 15:41:49 +02:00
ps3vram.c block/ps3vram: Check return of ps3vram_cache_init 2017-08-17 23:03:44 +10:00
rbd.c rbd: require global CAP_SYS_ADMIN for mapping and unmapping 2020-09-23 10:46:30 +02:00
rbd_types.h
skd_main.c skd: fixup usage of legacy IO API 2019-12-01 09:13:20 +01:00
skd_s1120.h skd: Use __packed only when needed 2017-08-18 08:45:29 -06:00
smart1,2.h
sunvdc.c sunvdc: Do not spin in an infinite loop when vio_ldc_send() returns EAGAIN 2019-02-12 19:46:00 +01:00
swim.c swim: fix cleanup on setup error 2018-11-13 11:14:52 -08:00
swim3.c block/swim3: Fix -EBUSY error when re-opening device after unmount 2019-02-12 19:46:09 +01:00
swim_asm.S
sx8.c
umem.c
umem.h
virtio_blk.c virtio-blk: free vblk-vqs in error path of virtblk_probe() 2020-07-09 09:36:31 +02:00
xen-blkfront.c xen-blkfront: allow discard-* nodes to be optional 2021-02-03 23:22:22 +01:00
xsysace.c xsysace: Fix error handling in ace_setup 2019-05-08 07:20:51 +02:00
z2ram.c