summaryrefslogtreecommitdiff
path: root/scripts/stackdelta
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2026-02-18 20:38:33 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-03-03 00:39:22 +0300
commit11de9539fedf7f56f55246714b231da52aabbe72 (patch)
tree360e5935d1f5c50f611eff52b8bd46e6a0e7cda6 /scripts/stackdelta
parentd9bc24d263fdb420f61a8a8b8bbb1a68f5a0f803 (diff)
downloadlinux-11de9539fedf7f56f55246714b231da52aabbe72.tar.xz
drm/amd/display: Prevent integer overflow when mhz to khz
[WHAT] Cast to long long before multiplication to prevent overflow when converting mhz to khz by multiplying by 1000. This is reported as INTEGER_OVERFLOW errors by Coverity. Reviewed-by: Roman Li <roman.li@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/stackdelta')
0 files changed, 0 insertions, 0 deletions