]> 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, 21 Sep 2012 01:02:11 +0000 (11:02 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Sep 2012 08:46:39 +0000 (18:46 +1000)
commit7fa6ca126b24f5ea99447fde4bb8f60df84874dd
tree0bc5c56bd5461686c37ba49146eb25d70f0f7b3b
parent4e3e70fdfa6235c6938193bd51fa99ec97de9f34
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