summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMichael Chen <michael.chen@amd.com>2024-05-03 15:31:08 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-08 07:54:40 +0200
commitf163ba83e607f9fa71a342d37af5aeb83752ccdb (patch)
tree5f775e9c616a052acde1157d0de2d4ba6ce80094 /security
parentd0a43bf367ed640e527e8ef3d53aac1e71f80114 (diff)
downloadlinux-f163ba83e607f9fa71a342d37af5aeb83752ccdb.tar.gz
linux-f163ba83e607f9fa71a342d37af5aeb83752ccdb.tar.bz2
linux-f163ba83e607f9fa71a342d37af5aeb83752ccdb.zip
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions