summaryrefslogtreecommitdiffstats
path: root/block/bio.c
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2021-03-10 04:30:17 +0100
committerJens Axboe <axboe@kernel.dk>2021-03-10 16:25:37 +0100
commitdf66617bfe87487190a60783d26175b65d2502ce (patch)
tree603f9df247e061c0e692457481bc3456c11d1729 /block/bio.c
parentblock: Fix REQ_OP_ZONE_RESET_ALL handling (diff)
downloadlinux-df66617bfe87487190a60783d26175b65d2502ce.tar.xz
linux-df66617bfe87487190a60783d26175b65d2502ce.zip
block: rsxx: fix error return code of rsxx_pci_probe()
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: 8722ff8cdbfa ("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>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions