Skip to content

Commit

Permalink
firmware: dmi_scan: Always show system identification string
Browse files Browse the repository at this point in the history
Let's keep consistent when print dmi_ids_string between SMBIOS 2.x
and SMBIOS 3.x, and always show the system identification string,
like Vendor, Product/Board name and BIOS infos.

Signed-off-by: Kefeng Wang <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
  • Loading branch information
Kefeng Wang authored and jdelvare committed Dec 19, 2016
1 parent b0b3a37 commit d4af49f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/firmware/dmi_scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ static int __init dmi_present(const u8 *buf)
dmi_ver >> 16, (dmi_ver >> 8) & 0xFF);
}
dmi_format_ids(dmi_ids_string, sizeof(dmi_ids_string));
printk(KERN_DEBUG "DMI: %s\n", dmi_ids_string);
pr_info("DMI: %s\n", dmi_ids_string);
return 0;
}
}
Expand Down Expand Up @@ -588,7 +588,7 @@ static int __init dmi_smbios3_present(const u8 *buf)
dmi_ver >> 16, (dmi_ver >> 8) & 0xFF,
dmi_ver & 0xFF);
dmi_format_ids(dmi_ids_string, sizeof(dmi_ids_string));
pr_debug("DMI: %s\n", dmi_ids_string);
pr_info("DMI: %s\n", dmi_ids_string);
return 0;
}
}
Expand Down

0 comments on commit d4af49f

Please sign in to comment.