mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[SCSI] lpfc 8.3.42: Back out data count,(residual fcfi_parm) fix for bad target.
Signed-off-by: James Smart <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
4aa74c3c31
commit
26373d23d5
1 changed files with 3 additions and 3 deletions
|
|
@ -3966,11 +3966,11 @@ lpfc_handle_fcp_err(struct lpfc_vport *vport, struct lpfc_scsi_buf *lpfc_cmd,
|
|||
|
||||
/*
|
||||
* Check SLI validation that all the transfer was actually done
|
||||
* (fcpi_parm should be zero).
|
||||
* (fcpi_parm should be zero). Apply check only to reads.
|
||||
*/
|
||||
} else if (fcpi_parm) {
|
||||
} else if (fcpi_parm && (cmnd->sc_data_direction == DMA_FROM_DEVICE)) {
|
||||
lpfc_printf_vlog(vport, KERN_WARNING, LOG_FCP | LOG_FCP_ERROR,
|
||||
"9029 FCP Data Transfer Check Error: "
|
||||
"9029 FCP Read Check Error Data: "
|
||||
"x%x x%x x%x x%x x%x\n",
|
||||
be32_to_cpu(fcpcmd->fcpDl),
|
||||
be32_to_cpu(fcprsp->rspResId),
|
||||
|
|
|
|||
Loading…
Reference in a new issue