[PATCH] lpfc : scsi command accessor fix for 8.2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It was pointed out by Boaz Harrosh <bharrosh@xxxxxxxxxxx> 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.

-- james s


Signed-off-by: James Smart <James.Smart@xxxxxxxxxx>

diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
--- a/drivers/scsi/lpfc/lpfc_scsi.c	2007-08-02 03:41:16.000000000 -0400
+++ b/drivers/scsi/lpfc/lpfc_scsi.c	2007-08-05 06:06:03.000000000 -0400
@@ -499,7 +499,7 @@ lpfc_handle_fcp_err(struct lpfc_vport *v
 					 "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 linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux