aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-07-30 18:28:46 +0200
committerJean Delvare <jdelvare@suse.de>2022-07-30 18:28:46 +0200
commitd2139dfca361a1f5bfc4d4a23455b1a409a69cd4 (patch)
treee56dd8df626980cc7323d3fb25abeec6a5bd3ae1 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parent4b0986a3613c92f4ec1bdc7f60ec66fea135991f (diff)
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions