From: Andrew Morton Date: Thu, 25 Oct 2012 01:15:07 +0000 (+1100) Subject: drivers-firmware-dmi_scanc-check-dmi-version-when-get-system-uuid-fix X-Git-Tag: next-20121029~1^2~54 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bd1852ef68bd495f063cab515145bed4a73c8559;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