All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] lpfc: convert to use the data buffer accessors - part 2
@ 2007-07-03 15:12 Boaz Harrosh
  2007-07-04  2:17 ` James Smart
  0 siblings, 1 reply; 2+ messages in thread
From: Boaz Harrosh @ 2007-07-03 15:12 UTC (permalink / raw)
  To: FUJITA Tomonori, James Smart, James Bottomley; +Cc: linux-scsi


 This is an addendum to:
 commit a0b4f78f9a4c869e9b29f254054ad7441cb40bbf
 Author: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
    [SCSI] lpfc: convert to use the data buffer accessors

 One place was missed in the merge

 Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
---
 drivers/scsi/lpfc/lpfc_scsi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
index 5d2e3de..3d35eae 100644
--- a/drivers/scsi/lpfc/lpfc_scsi.c
+++ b/drivers/scsi/lpfc/lpfc_scsi.c
@@ -506,7 +506,7 @@ lpfc_handle_fcp_err(struct lpfc_vport *vport, struct lpfc_scsi_buf *lpfc_cmd,
 					"underrun converted to error "
 					"Data: x%x x%x x%x\n",
 					phba->brd_no, vpi, cmnd->cmnd[0],
-					cmnd->request_bufflen,
+					scsi_bufflen(cmnd),
 					scsi_get_resid(cmnd), cmnd->underflow);
 			host_status = DID_ERROR;
 		}
-- 
1.5.2.2.249.g45fd



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-04  2:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-03 15:12 [PATCH] lpfc: convert to use the data buffer accessors - part 2 Boaz Harrosh
2007-07-04  2:17 ` James Smart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.