Skip to content

Commit 348744f

Browse files
Shreyas Deodharmartinkpetersen
authored andcommitted
scsi: qla2xxx: Fix optrom version displayed in FDMI
Bios version was popluated for FDMI response. Systems with EFI would show optrom version as 0. EFI version is populated here and BIOS version is already displayed under FDMI_HBA_BOOT_BIOS_NAME. Cc: [email protected] Signed-off-by: Shreyas Deodhar <[email protected]> Signed-off-by: Nilesh Javali <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Himanshu Madhani <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 76f480d commit 348744f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/qla2xxx/qla_gs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1710,7 +1710,7 @@ qla2x00_hba_attributes(scsi_qla_host_t *vha, void *entries,
17101710
eiter->type = cpu_to_be16(FDMI_HBA_OPTION_ROM_VERSION);
17111711
alen = scnprintf(
17121712
eiter->a.orom_version, sizeof(eiter->a.orom_version),
1713-
"%d.%02d", ha->bios_revision[1], ha->bios_revision[0]);
1713+
"%d.%02d", ha->efi_revision[1], ha->efi_revision[0]);
17141714
alen += FDMI_ATTR_ALIGNMENT(alen);
17151715
alen += FDMI_ATTR_TYPELEN(eiter);
17161716
eiter->len = cpu_to_be16(alen);

0 commit comments

Comments
 (0)