diff options
author | James Smart <jsmart2021@gmail.com> | 2017-09-08 02:27:29 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-09-25 17:56:05 +0300 |
commit | 8e009ce84683fa124b23ff5cb7fd87c48b331b88 (patch) | |
tree | af0eccb4698fa8df9802e1ffd25d8035628c5fa1 /drivers/scsi/lpfc/lpfc_nvme.c | |
parent | fc9608e8b4dc3c2545fa0bc5d3eef158ca56ccf8 (diff) | |
download | linux-8e009ce84683fa124b23ff5cb7fd87c48b331b88.tar.xz |
lpfc: remove use of FC-specific error codes
The lpfc driver uses the FC-specific error when it needed to return an
error to the FC-NVME transport. Convert to use a generic value instead.
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_nvme.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_nvme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_nvme.c b/drivers/scsi/lpfc/lpfc_nvme.c index 79ba3ce063a4..23bdb1ca106e 100644 --- a/drivers/scsi/lpfc/lpfc_nvme.c +++ b/drivers/scsi/lpfc/lpfc_nvme.c @@ -884,7 +884,7 @@ out_err: wcqe->total_data_placed); nCmd->transferred_length = 0; nCmd->rcv_rsplen = 0; - nCmd->status = NVME_SC_FC_TRANSPORT_ERROR; + nCmd->status = NVME_SC_INTERNAL; } } |