aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDenis Arefev <arefev@swemel.ru>2025-03-21 13:52:31 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-03-26 17:41:03 -0400
commitf23e9116ebb71b63fe9cec0dcac792aa9af30b0c (patch)
treeb37da3848ad16007c93976aab86263c3afea19ac /tools/perf/scripts/python/export-to-postgresql.py
parentMerge tag 'drm-intel-gt-next-2025-03-12' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next (diff)
downloadlinux-rng-f23e9116ebb71b63fe9cec0dcac792aa9af30b0c.tar.xz
linux-rng-f23e9116ebb71b63fe9cec0dcac792aa9af30b0c.zip
drm/amd/pm: Prevent division by zero
The user can set any speed value. If speed is greater than UINT_MAX/8, division by zero is possible. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: c05d1c401572 ("drm/amd/swsmu: add aldebaran smu13 ip support (v3)") Signed-off-by: Denis Arefev <arefev@swemel.ru> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions