projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc9608e
)
lpfc: remove use of FC-specific error codes
author
James Smart
<jsmart2021@gmail.com>
Thu, 7 Sep 2017 23:27:29 +0000
(16:27 -0700)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 25 Sep 2017 14:56:05 +0000
(08:56 -0600)
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>
drivers/scsi/lpfc/lpfc_nvme.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/lpfc/lpfc_nvme.c
b/drivers/scsi/lpfc/lpfc_nvme.c
index 79ba3ce063a4f847ce8187d3290ecf5a309f62b9..23bdb1ca106e459355aed0fa7627d2665a7312a3 100644
(file)
--- 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
;
}
}