1
0
Fork 0

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?53569

Signed-off-by: Jean Delvare <jdelvare@suse.de>
hifive-unleashed-5.1
Jean Delvare 2018-04-13 15:37:59 +02:00
parent de40614de9
commit 712ff25450
1 changed files with 2 additions and 2 deletions

View File

@ -210,9 +210,9 @@ static void __init dmi_save_uuid(const struct dmi_header *dm, int slot,
* says that this is the defacto standard.
*/
if (dmi_ver >= 0x020600)
sprintf(s, "%pUL", d);
sprintf(s, "%pUl", d);
else
sprintf(s, "%pUB", d);
sprintf(s, "%pUb", d);
dmi_ident[slot] = s;
}