Re: [PATCH] dmi, Use little-endian for sysfs PRODUCT UUID

From: Matthew Garrett
Date: Tue Mar 27 2012 - 12:09:08 EST

On Mon, Mar 26, 2012 at 02:12:51PM -0400, Prarit Bhargava wrote:
> Although RFC 4122 recommends network byte order for all fields, the PC
> industry (including the ACPI, UEFI, and Microsoft specifications) has
> consistently used little-endian byte encoding for the first three
> fields: time_low, time_mid, time_hi_and_version. The same encoding, also
> known as wire format, should also be used for the SMBIOS representation of
> the UUID.

There's some potential for breakage here. Perhaps add an additional
attribute that adds the purely little-endian UUID?

Matthew Garrett | mjg59@xxxxxxxxxxxxx
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at