From: James Smart Date: Thu, 7 Sep 2017 23:27:29 +0000 (-0700) Subject: lpfc: remove use of FC-specific error codes X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8e009ce84683fa124b23ff5cb7fd87c48b331b88;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- 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; } }