Commit:     66dbfbe6fde35c881deda5cebb6ecaa0dcc1c975
Parent:     585a8a59ebfc81327e1c4f2c0e80730bdd2e5d8e
Author:     James Smart <[EMAIL PROTECTED]>
AuthorDate: Sun Aug 5 06:08:38 2007 -0400
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Fri Aug 3 11:30:09 2007 -0500

    [SCSI] lpfc : scsi command accessor fix for 8.2.2
    It was pointed out by Boaz Harrosh <[EMAIL PROTECTED]> that our
    8.2.2 lpfc patches revert a change to using SCSI command accessor
    This patch, to be applied on top of the 8.2.2. patches, updates the
    driver for the accessor functions.
    Signed-off-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 94458d7..17d7dc0 100644
--- a/drivers/scsi/lpfc/lpfc_scsi.c
+++ b/drivers/scsi/lpfc/lpfc_scsi.c
@@ -499,7 +499,7 @@ lpfc_handle_fcp_err(struct lpfc_vport *vport, struct 
lpfc_scsi_buf *lpfc_cmd,
                                         "0717 FCP command x%x residual "
                                         "underrun converted to error "
                                         "Data: x%x x%x x%x\n",
-                                        cmnd->cmnd[0], cmnd->request_bufflen,
+                                        cmnd->cmnd[0], 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