]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers-firmware-dmi_scanc-check-dmi-version-when-get-system-uuid-fix
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 28 Sep 2012 00:20:27 +0000 (10:20 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 3 Oct 2012 06:50:47 +0000 (16:50 +1000)
tweak code comment

Cc: Feng Jin <joe.jin@oracle.com>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Zhenzhong Duan <zhenzhong.duan@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/firmware/dmi_scan.c

index efa49cb6da4a4e881e6be55bb550e8c018ce93d0..3714e3c03df6ba50ff9c9c1df1128972a481bb4b 100644 (file)
@@ -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