aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorMichael Chen <[email protected]>2024-05-03 15:31:08 -0400
committerAlex Deucher <[email protected]>2024-05-08 18:46:26 -0400
commit10f624ef239bd136cdcc5bbc626157a57b938a31 (patch)
tree0196d2fa01a3fd3b7519f1fd3ca415728e353206 /tools/perf/scripts/python/libxed.py
parentc4dcb47d46144d8f5b1ace1d8d2fcddeb5dacd8e (diff)
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 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions