summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichael Chen <michael.chen@amd.com>2024-05-03 15:31:08 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-05-08 18:46:26 -0400
commit10f624ef239bd136cdcc5bbc626157a57b938a31 (patch)
tree0196d2fa01a3fd3b7519f1fd3ca415728e353206 /tools/perf/scripts/python
parentc4dcb47d46144d8f5b1ace1d8d2fcddeb5dacd8e (diff)
downloadlinux-10f624ef239bd136cdcc5bbc626157a57b938a31.tar.gz
linux-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 <michael.chen@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions