diff options
author | James Smart <James.Smart@Emulex.Com> | 2007-08-05 06:08:38 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-08-03 12:30:09 -0400 |
commit | 66dbfbe6fde35c881deda5cebb6ecaa0dcc1c975 (patch) | |
tree | 73a70b42062ad5791289c6746a30e3a26af7093f /drivers/scsi/lpfc | |
parent | 585a8a59ebfc81327e1c4f2c0e80730bdd2e5d8e (diff) |
[SCSI] lpfc : scsi command accessor fix for 8.2.2
It was pointed out by Boaz Harrosh <bharrosh@panasas.com> that our
8.2.2 lpfc patches revert a change to using SCSI command accessor
functions.
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 <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc')
-rw-r--r-- | 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 94458d7a8f7f..17d7dc05149b 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, | |||
499 | "0717 FCP command x%x residual " | 499 | "0717 FCP command x%x residual " |
500 | "underrun converted to error " | 500 | "underrun converted to error " |
501 | "Data: x%x x%x x%x\n", | 501 | "Data: x%x x%x x%x\n", |
502 | cmnd->cmnd[0], cmnd->request_bufflen, | 502 | cmnd->cmnd[0], scsi_bufflen(cmnd), |
503 | scsi_get_resid(cmnd), cmnd->underflow); | 503 | scsi_get_resid(cmnd), cmnd->underflow); |
504 | host_status = DID_ERROR; | 504 | host_status = DID_ERROR; |
505 | } | 505 | } |