summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorKarol Przybylski <karprzy7@gmail.com>2024-12-15 13:53:55 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-21 14:11:19 +0100
commit325d889c5403ba20a24097f64c32d27ab993c2c3 (patch)
tree8907abe2d7ce5b2e40a8e6f7ae7595aaf764aa8e /tools/perf/scripts/python/stackcollapse.py
parentf8805b12f477bd964e2820a87921c7b58cc2dee3 (diff)
drm: zynqmp_dp: Fix integer overflow in zynqmp_dp_rate_get()
commit 67a615c5cb6dc33ed35492dc0d67e496cbe8de68 upstream. This patch fixes a potential integer overflow in the zynqmp_dp_rate_get() The issue comes up when the expression drm_dp_bw_code_to_link_rate(dp->test.bw_code) * 10000 is evaluated using 32-bit Now the constant is a compatible 64-bit type. Resolves coverity issues: CID 1636340 and CID 1635811 Cc: stable@vger.kernel.org Fixes: 28edaacb821c ("drm: zynqmp_dp: Add debugfs interface for compliance testing") Signed-off-by: Karol Przybylski <karprzy7@gmail.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Link: https://lore.kernel.org/stable/20241212095057.1015146-1-karprzy7%40gmail.com Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241215125355.938953-1-karprzy7@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions