Commit 8e009ce8 authored by James Smart's avatar James Smart Committed by Jens Axboe
Browse files

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: default avatarJames Smart <james.smart@broadcom.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent fc9608e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
		}
	}