diff options
author | Jesse Zhang <[email protected]> | 2024-05-29 17:29:01 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-06-05 10:58:36 -0400 |
commit | c09d2eff81a997c169e0cacacd6b60c5e3aa33f2 (patch) | |
tree | 031ce40e6ac513d4fcd18330e77db880bd21873b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a474161e84fc0b15534a80f8dfcbaf5e48fd8249 (diff) |
drm/amdgu: fix Unintentional integer overflow for mall size
Potentially overflowing expression mall_size_per_umc * adev->gmc.num_umc with type unsigned int (32 bits, unsigned)
is evaluated using 32-bit arithmetic,and then used in a context that expects an expression of type u64 (64 bits, unsigned).
Signed-off-by: Jesse Zhang <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions