From: Andrew Morton Date: Wed, 26 Sep 2012 01:34:30 +0000 (+1000) Subject: drivers-firmware-dmi_scanc-check-dmi-version-when-get-system-uuid-fix X-Git-Tag: next-20120927~1^2~112 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=32866840f44c7c2105d3e0610d185b2f124859bb;p=karo-tx-linux.git drivers-firmware-dmi_scanc-check-dmi-version-when-get-system-uuid-fix tweak code comment Cc: Feng Jin Cc: Jean Delvare Cc: Zhenzhong Duan Signed-off-by: Andrew Morton --- diff --git a/drivers/firmware/dmi_scan.c b/drivers/firmware/dmi_scan.c index efa49cb6da4a..3714e3c03df6 100644 --- a/drivers/firmware/dmi_scan.c +++ b/drivers/firmware/dmi_scan.c @@ -16,7 +16,7 @@ */ static char dmi_empty_string[] = " "; -static u16 __initdata dmi_ver; +static u16 __initdata dmi_ver; /* * Catch too early calls to dmi_check_system(): */ @@ -176,11 +176,10 @@ static void __init dmi_save_uuid(const struct dmi_header *dm, int slot, int inde return; /* - * As of version 2.6 of the SMBIOS specification, the first 3 - * fields of the UUID are supposed to be encoded on little-endian. - * The specification says that this is the defacto standard, - * update kernel code to match dmidecode data. - */ + * As of version 2.6 of the SMBIOS specification, the first 3 fields of + * the UUID are supposed to be little-endian encoded. The specification + * says that this is the defacto standard. + */ if (dmi_ver >= 0x0206) sprintf(s, "%pUL", d); else