diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-04-28 14:18:55 +0000 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-05-19 21:01:32 -0400 |
commit | d0b1e4a638d670a09f42017a3e567dc846931ba8 (patch) | |
tree | dbcdbb62b06370edce9ce6fc98f882f8f1a51fd9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f48b285ae658b50f4ba2d3a267522f572720de6d (diff) |
scsi: cxlflash: Fix error return code in cxlflash_probe()
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions