diff options
author | James Smart <jsmart2021@gmail.com> | 2017-09-08 01:27:29 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-09-25 16:56:05 +0200 |
commit | 8e009ce84683fa124b23ff5cb7fd87c48b331b88 (patch) | |
tree | af0eccb4698fa8df9802e1ffd25d8035628c5fa1 /drivers/scsi | |
parent | nvmet-fcloop: remove use of FC-specific error codes (diff) | |
download | linux-8e009ce84683fa124b23ff5cb7fd87c48b331b88.tar.xz linux-8e009ce84683fa124b23ff5cb7fd87c48b331b88.zip |
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')
-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; } } |