* [PATCH 6/17] lpfc 8.3.40: Fix starting reference tag when calculating BG error
@ 2013-05-31 21:04 James Smart
0 siblings, 0 replies; only message in thread
From: James Smart @ 2013-05-31 21:04 UTC (permalink / raw)
To: linux-scsi
Fix starting reference tag when calculating BG error
Signed-off-by: James Smart <james.smart@emulex.com>
---
lpfc_scsi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
--- a/drivers/scsi/lpfc/lpfc_scsi.c 2013-05-31 10:58:12.310057503 -0400
+++ b/drivers/scsi/lpfc/lpfc_scsi.c 2013-05-31 10:58:17.946057631 -0400
@@ -3088,9 +3088,9 @@ lpfc_calc_bg_err(struct lpfc_hba *phba,
chk_guard = 1;
guard_type = scsi_host_get_guard(cmd->device->host);
+ src = (struct scsi_dif_tuple *)sg_virt(sgpe);
start_ref_tag = (uint32_t)scsi_get_lba(cmd); /* Truncate LBA */
start_app_tag = src->app_tag;
- src = (struct scsi_dif_tuple *)sg_virt(sgpe);
len = sgpe->length;
while (src && protsegcnt) {
while (len) {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-05-31 21:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-31 21:04 [PATCH 6/17] lpfc 8.3.40: Fix starting reference tag when calculating BG error James Smart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox