]> git.kernelconcepts.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>
Sat, 3 Nov 2012 00:42:50 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 6 Nov 2012 04:58:39 +0000 (15:58 +1100)
commitdecb4fb9ec374c0cbc57f21ad50bb44a896f93d9
tree66ac993f071fbca5d4011bd48e4acb947a70d42e
parenta442ae477f963fcbaec55094e7cf3b3506ebed5c
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