Commit:     d4bd4cd0630060a64681590b9405b87e43c11f14
Parent:     d0f656cad313bb04a151273bb57e108b2cc9876f
Author:     Boaz Harrosh <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 3 18:12:35 2007 +0300
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Sat Jul 14 17:11:16 2007 -0500

    [SCSI] lpfc: add missed data buffer accessor
    This is an addendum to:
     commit a0b4f78f9a4c869e9b29f254054ad7441cb40bbf
     Author: FUJITA Tomonori <[EMAIL PROTECTED]>
        [SCSI] lpfc: convert to use the data buffer accessors
    One place was missed in the merge
    Signed-off-by: Boaz Harrosh <[EMAIL PROTECTED]>
    Acked-by: James Smart <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
 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;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to