aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2007-07-03 11:12:35 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-07-14 18:11:16 -0400
commitd4bd4cd0630060a64681590b9405b87e43c11f14 (patch)
tree5c7f1cc1cb86baf1a5635f1d3f1f87d53d13e0cb /drivers
parentd0f656cad313bb04a151273bb57e108b2cc9876f (diff)
[SCSI] lpfc: add missed data buffer accessor
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> Acked-by: James Smart <James.Smart@Emulex.Com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/lpfc/lpfc_scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
index 5d2e3de7de96..3d35eae01475 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,
506 "underrun converted to error " 506 "underrun converted to error "
507 "Data: x%x x%x x%x\n", 507 "Data: x%x x%x x%x\n",
508 phba->brd_no, vpi, cmnd->cmnd[0], 508 phba->brd_no, vpi, cmnd->cmnd[0],
509 cmnd->request_bufflen, 509 scsi_bufflen(cmnd),
510 scsi_get_resid(cmnd), cmnd->underflow); 510 scsi_get_resid(cmnd), cmnd->underflow);
511 host_status = DID_ERROR; 511 host_status = DID_ERROR;
512 } 512 }