diff options
author | 2022-07-30 18:28:46 +0200 | |
---|---|---|
committer | 2022-07-30 18:28:46 +0200 | |
commit | d2139dfca361a1f5bfc4d4a23455b1a409a69cd4 (patch) | |
tree | e56dd8df626980cc7323d3fb25abeec6a5bd3ae1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.18 (diff) | |
download | linux-dev-d2139dfca361a1f5bfc4d4a23455b1a409a69cd4.tar.xz linux-dev-d2139dfca361a1f5bfc4d4a23455b1a409a69cd4.zip |
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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions