diff options
author | 2020-03-24 05:29:46 -0400 | |
---|---|---|
committer | 2020-04-01 14:44:42 -0400 | |
commit | 714309f0f3e32a52beca44460986caf8d9e143f3 (patch) | |
tree | 47a84810446c11f40d861fda42a0343204db24da /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | |
parent | drm/amdgpu: Expose TA FW version in fw_version file (diff) | |
download | wireguard-linux-714309f0f3e32a52beca44460986caf8d9e143f3.tar.xz wireguard-linux-714309f0f3e32a52beca44460986caf8d9e143f3.zip |
drm/amdgpu: Fix FRU data checking
Ensure that when we memcpy, we don't end up copying more data than
the struct supports. For now, this is 16 characters for product number
and serial number, and 32 chars for product name
Signed-off-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions