Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

James Smart and committed by
Jens Axboe
8e009ce8 fc9608e8

+1 -1
+1 -1
drivers/scsi/lpfc/lpfc_nvme.c
··· 884 884 wcqe->total_data_placed); 885 885 nCmd->transferred_length = 0; 886 886 nCmd->rcv_rsplen = 0; 887 - nCmd->status = NVME_SC_FC_TRANSPORT_ERROR; 887 + nCmd->status = NVME_SC_INTERNAL; 888 888 } 889 889 } 890 890