]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/firmware/dmi_scan.c: check dmi version when get system uuid
authorZhenzhong Duan <zhenzhong.duan@oracle.com>
Fri, 28 Sep 2012 00:20:27 +0000 (10:20 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 5 Oct 2012 04:01:26 +0000 (14:01 +1000)
commitcf51ca299bfcaf4cbcc124a1a866af047e5db574
tree34838f27334c426774bbafa0b7ff0f373ea400d7
parentdaba0d45e47b6a59fe4b0b1631a9f7c79bc3b8c1
drivers/firmware/dmi_scan.c: check dmi version when get system uuid

As of version 2.6 of the SMBIOS specification, the first 3
fields of the UUID are supposed to be little-endian encoded.

Also a minor fix to match variable meaning and mute checkpatch.pl

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