kernel_samsung_a53x/drivers/gpu/drm/amd
Michael Chen 6a194834b7 drm/amdkfd: Reconcile the definition and use of oem_id in struct kfd_topology_device
[ Upstream commit 10f624ef239bd136cdcc5bbc626157a57b938a31 ]

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 <michael.chen@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:20:57 +01:00
..
acp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amdgpu drm/amdgpu: fix mc_data out-of-bounds read warning 2024-11-23 23:20:57 +01:00
amdkfd drm/amdkfd: Reconcile the definition and use of oem_id in struct kfd_topology_device 2024-11-23 23:20:57 +01:00
display drm/amd/display: Fix Coverity INTEGER_OVERFLOW within dal_gpio_service_create 2024-11-23 23:20:57 +01:00
include drm/amdgpu/atomfirmware: silence UBSAN warning 2024-11-19 14:19:42 +01:00
pm drm/amdgpu/pm: Fix uninitialized variable agc_btc_response 2024-11-23 23:20:57 +01:00