Skip to content
Snippets Groups Projects
Commit 6112ff4e authored by Jing Xiangfeng's avatar Jing Xiangfeng Committed by Martin K. Petersen
Browse files

scsi: storvsc: Fix error return in storvsc_probe()

Return -ENOMEM from the error handling case instead of 0.

Link: https://lore.kernel.org/r/20201127030206.104616-1-jingxiangfeng@huawei.com


Fixes: 436ad941 ("scsi: storvsc: Allow only one remove lun work item to be issued per lun")
Reviewed-by: default avatarMichael Kelley <mikelley@microsoft.com>
Signed-off-by: default avatarJing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent e92643db
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment