diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2017-08-15 22:18:14 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-24 22:28:54 -0400 |
commit | 9ff870417e56b1fb7b15b2cda74de639d3cd8559 (patch) | |
tree | 96351f472c13f733bf6313478ee897fdd42a0d6b /net/sched | |
parent | c0e8ed04b32307c192bcf37f5810e490e4d2739e (diff) | |
download | op-kernel-dev-9ff870417e56b1fb7b15b2cda74de639d3cd8559.zip op-kernel-dev-9ff870417e56b1fb7b15b2cda74de639d3cd8559.tar.gz |
scsi: cxlflash: Fix an error handling path in 'cxlflash_disk_attach()'
'rc' is known to be 0 at this point. If 'create_context()' fails,
returns -ENOMEM instead of 0 which means success.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions