]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
scsi: ibmvfc: Add failed PRLI to cmd_status lookup array
authorTyrel Datwyler <tyreld@linux.vnet.ibm.com>
Wed, 20 Mar 2019 19:56:52 +0000 (14:56 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 28 Mar 2019 01:34:20 +0000 (21:34 -0400)
commit95237c25d8d08ebc451dd2d793f7e765f57b0c9f
tree1ed5cc1a231bcd2dccbe871643cca1ee6adfa5a0
parent6dc6a944d58aea3d9de3828318b0fffdb60a7097
scsi: ibmvfc: Add failed PRLI to cmd_status lookup array

The VIOS uses the SCSI_ERROR class to report PRLI failures. These errors
are indicated with the combination of a IBMVFC_FC_SCSI_ERROR return status
and 0x8000 error code. Add these codes to cmd_status[] with appropriate
human readable error message.

Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ibmvscsi/ibmvfc.c