qla2xxx: remove use of FC-specific error codes
authorJames Smart <jsmart2021@gmail.com>
Thu, 14 Sep 2017 18:30:15 +0000 (11:30 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Sep 2017 14:56:05 +0000 (08:56 -0600)
commit39a550d2d9eaee8b618084e6011441eac6a2a3b7
tree028d99c897aa08fa27d1848192771e6ed88fd3c5
parent8e009ce84683fa124b23ff5cb7fd87c48b331b88
qla2xxx: remove use of FC-specific error codes

The qla2xxx 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>
Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/scsi/qla2xxx/qla_nvme.c