Files
linux/drivers/block
Jia-Ju Bai 6a7087ce4f 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>
2023-05-16 10:47:33 +09:00
..
2016-06-27 12:26:08 -07:00
2011-08-08 11:40:15 +02:00
2023-05-16 10:38:43 +09:00
2023-05-16 10:26:14 +09:00
2016-03-15 15:59:47 -07:00
2016-06-27 12:26:08 -07:00
2013-11-08 09:10:30 -07:00
2009-03-26 21:15:27 +01:00
2023-05-15 09:19:21 +09:00
2016-08-07 14:41:02 -06:00