OrangePi_CM5/drivers/block/rsxx
Jia-Ju Bai d1d918492e block: rsxx: fix error return code of rsxx_pci_probe()
[ Upstream commit df66617bfe87487190a60783d26175b65d2502ce ]

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 17:06:33 +01:00
..
Makefile
…
config.c
…
core.c block: rsxx: fix error return code of rsxx_pci_probe() 2021-03-17 17:06:33 +01:00
cregs.c
…
dev.c block: move ->make_request_fn to struct block_device_operations 2020-07-01 07:27:24 -06:00
dma.c
…
rsxx.h
…
rsxx_cfg.h
…
rsxx_priv.h
…