android_kernel_xiaomi_sm7250/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 scsi: cxlflash: Add include guards to backend.h 2018-05-18 11:22:10 -04:00
common.h scsi: cxlflash: Use local mutex for AFU serialization 2018-05-18 11:22:10 -04:00
cxl_hw.c scsi: cxlflash: Introduce object handle fop 2018-04-18 19:32:50 -04:00
Kconfig scsi: cxlflash: Isolate external module dependencies 2018-05-18 11:22:10 -04:00
lunmgt.c scsi: cxlflash: Isolate external module dependencies 2018-05-18 11:22:10 -04:00
main.c scsi: cxlflash: Fix error return code in cxlflash_probe() 2020-10-01 13:14:45 +02:00
main.h scsi: cxlflash: fix assignment of the backend operations 2018-07-10 22:29:54 -04:00
Makefile scsi: cxlflash: Isolate external module dependencies 2018-05-18 11:22:10 -04:00
ocxl_hw.c SCSI misc on 20180815 2018-08-15 22:06:26 -07:00
ocxl_hw.h scsi: cxlflash: Register for translation errors 2018-04-18 19:32:50 -04:00
sislite.h scsi: cxlflash: Update synchronous interrupt status bits 2018-04-18 19:32:50 -04:00
superpipe.c SCSI misc on 20180815 2018-08-15 22:06:26 -07:00
superpipe.h
vlun.c scsi: cxlflash: Drop unused sense buffers 2018-08-02 15:19:46 -06:00
vlun.h