Skip to content
Commit d2139dfc authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Jean Delvare
Browse files

firmware: dmi: Use the proper accessor for the version field



The byte at offset 6 represents length. Don't take it and drop it
immediately by using proper accessor, i.e. get_unaligned_be24().

[JD: Change the subject to something less frightening]

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
parent 4b0986a3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment