commit | 539d890cecee6b5d7304914afc51b7f53150163d | [log] [tgz] |
---|---|---|
author | Uma Krishnan <ukrishn@linux.vnet.ibm.com> | Wed Jun 21 21:13:48 2017 -0500 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Jun 26 15:01:07 2017 -0400 |
tree | 7304d15a56d7306b7664f6499ee3fe7acd977551 | |
parent | 66ea9bcc392017b6df465b6f5847f6eac966a801 [diff] |
scsi: cxlflash: Update cxlflash_afu_sync() to return errno The cxlflash_afu_sync() routine returns a negative one to indicate any kind of failure. This makes it impossible to establish why the error occurred. Update the return codes to clearly indicate the failure cause to the caller. Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com> Acked-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>