Skip to content

Commit

Permalink
firmware: dmi_scan: Use lowercase letters for UUID
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean Delvare committed Apr 13, 2018
1 parent de40614 commit 712ff25
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 @@ -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;
}
Expand Down

0 comments on commit 712ff25

Please sign in to comment.