Skip to content

Commit 79c13a7

Browse files
Harish Zunjarraojejb
authored andcommitted
[SCSI] qla2xxx: Get FLT address in dword format.
FLTDS provides FLT address in the byte address format, convert it to dword address for further use. Signed-off-by: Harish Zunjarrao <harish.zunjarrao@qlogic.com> Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
1 parent b9b12f7 commit 79c13a7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/scsi/qla2xxx/qla_sup.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,8 +612,8 @@ qla2xxx_find_flt_start(scsi_qla_host_t *vha, uint32_t *start)
612612

613613
/* Good data. Use specified location. */
614614
loc = locations[1];
615-
*start = le16_to_cpu(fltl->start_hi) << 16 |
616-
le16_to_cpu(fltl->start_lo);
615+
*start = (le16_to_cpu(fltl->start_hi) << 16 |
616+
le16_to_cpu(fltl->start_lo)) >> 2;
617617
end:
618618
DEBUG2(qla_printk(KERN_DEBUG, ha, "FLTL[%s] = 0x%x.\n", loc, *start));
619619
return QLA_SUCCESS;

0 commit comments

Comments
 (0)