android_kernel_motorola_sm6225/drivers/scsi/cxlflash
Wei Yongjun 6909507e9e scsi: cxlflash: Fix error return code in cxlflash_probe()
[ Upstream commit d0b1e4a638d670a09f42017a3e567dc846931ba8 ]

Fix to return negative error code -ENOMEM from create_afu error handling
case instead of 0, as done elsewhere in this function.

Link: https://lore.kernel.org/r/20200428141855.88704-1-weiyongjun1@huawei.com
Acked-by: Matthew R. Ochs <mrochs@linux.ibm.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 13:14:45 +02:00
..
backend.h
common.h
cxl_hw.c
Kconfig
lunmgt.c
main.c
main.h
Makefile
ocxl_hw.c
ocxl_hw.h
sislite.h
superpipe.c
superpipe.h
vlun.c
vlun.h