Commit 712ff254 authored by Jean Delvare's avatar Jean Delvare

firmware: dmi_scan: Use lowercase letters for UUID

RFC 4122 asks for letters a-f in UUID to be lowercase. Follow this
recommendation.

Suggested by Paul Dagnelie at:
https://savannah.nongnu.org/bugs/index.php?53569Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
parent de40614d
...@@ -210,9 +210,9 @@ static void __init dmi_save_uuid(const struct dmi_header *dm, int slot, ...@@ -210,9 +210,9 @@ static void __init dmi_save_uuid(const struct dmi_header *dm, int slot,
* says that this is the defacto standard. * says that this is the defacto standard.
*/ */
if (dmi_ver >= 0x020600) if (dmi_ver >= 0x020600)
sprintf(s, "%pUL", d); sprintf(s, "%pUl", d);
else else
sprintf(s, "%pUB", d); sprintf(s, "%pUb", d);
dmi_ident[slot] = s; dmi_ident[slot] = s;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment