mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
firmware: dmi_scan: Fix UUID endianness for SMBIOS >= 2.6
commitff4319dc7cupstream. The dmi_ver wasn't updated correctly before the dmi_decode method run to save the uuid. That resulted in "dmidecode -s system-uuid" and /sys/class/dmi/id/product_uuid disagreeing. The latter was buggy and this fixes it. Reported-by: Federico Simoncelli <fsimonce@redhat.com> Fixes:9f9c9cbb60("drivers/firmware/dmi_scan.c: fetch dmi version from SMBIOS if it exists") Fixes:79bae42d51("dmi_scan: refactor dmi_scan_machine(), {smbios,dmi}_present()") Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Signed-off-by: Jean Delvare <jdelvare@suse.de> [ luis: backported to 3.16: adjusted context ] Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
parent
5ced25fdc3
commit
0f7b4f7914
1 changed files with 3 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue