Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66dbfbe6 authored by James Smart's avatar James Smart Committed by James Bottomley
Browse files

[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: default avatarJames Smart <James.Smart@emulex.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 585a8a59
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -499,7 +499,7 @@ lpfc_handle_fcp_err(struct lpfc_vport *vport, struct lpfc_scsi_buf *lpfc_cmd,
					 "0717 FCP command x%x residual "
					 "0717 FCP command x%x residual "
					 "underrun converted to error "
					 "underrun converted to error "
					 "Data: x%x x%x x%x\n",
					 "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);
					 scsi_get_resid(cmnd), cmnd->underflow);
			host_status = DID_ERROR;
			host_status = DID_ERROR;
		}
		}