From 6b2c0e3f120cfcb54972953c895dc810f9053594 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 14 Aug 2012 13:22:44 +1000 Subject: [PATCH] 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 --- drivers/firmware/dmi_scan.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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 -- 2.39.2