aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c
diff options
context:
space:
mode:
authorMichael Chen <[email protected]>2024-05-03 19:31:08 +0000
committerAlex Deucher <[email protected]>2024-05-08 22:46:26 +0000
commit10f624ef239bd136cdcc5bbc626157a57b938a31 (patch)
tree0196d2fa01a3fd3b7519f1fd3ca415728e353206 /drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c
parentdrm/amdgpu: Fix comparison in amdgpu_res_cpu_visible (diff)
downloadkernel-10f624ef239bd136cdcc5bbc626157a57b938a31.tar.gz
kernel-10f624ef239bd136cdcc5bbc626157a57b938a31.zip
drm/amdkfd: Reconcile the definition and use of oem_id in struct kfd_topology_device
Currently oem_id is defined as uint8_t[6] and casted to uint64_t* in some use case. This would lead code scanner to complain about access beyond. Re-define it in union to enforce 8-byte size and alignment to avoid potential issue. Signed-off-by: Michael Chen <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c')
0 files changed, 0 insertions, 0 deletions