Linux SCSI subsystem development
 help / color / mirror / Atom feed
* [PATCH 05/21] lpfc 8.3.33: Check data transfer amount on write commands
@ 2012-08-03 16:34 James Smart
  0 siblings, 0 replies; only message in thread
From: James Smart @ 2012-08-03 16:34 UTC (permalink / raw)
  To: linux-scsi

Check data transfer amount on write commands


Signed-off-by: James Smart <james.smart@emulex.com>

 ---

 lpfc_scsi.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
--- a/drivers/scsi/lpfc/lpfc_scsi.c	2012-07-22 11:18:36.000000000 -0400
+++ b/drivers/scsi/lpfc/lpfc_scsi.c	2012-07-22 11:35:20.453631868 -0400
@@ -3552,11 +3552,11 @@ lpfc_handle_fcp_err(struct lpfc_vport *v
 
 	/*
 	 * Check SLI validation that all the transfer was actually done
-	 * (fcpi_parm should be zero). Apply check only to reads.
+	 * (fcpi_parm should be zero).
 	 */
-	} else if (fcpi_parm && (cmnd->sc_data_direction == DMA_FROM_DEVICE)) {
+	} else if (fcpi_parm) {
 		lpfc_printf_vlog(vport, KERN_WARNING, LOG_FCP | LOG_FCP_ERROR,
-				 "9029 FCP Read Check Error Data: "
+				 "9029 FCP Data Transfer Check Error: "
 				 "x%x x%x x%x x%x x%x\n",
 				 be32_to_cpu(fcpcmd->fcpDl),
 				 be32_to_cpu(fcprsp->rspResId),




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-03 16:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-03 16:34 [PATCH 05/21] lpfc 8.3.33: Check data transfer amount on write commands James Smart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox