summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLiu Jing <liujing@cmss.chinamobile.com>2026-09-03 16:28:58 +0800
committerDaniel Lezcano <daniel.lezcano@kernel.org>2026-10-13 16:26:28 +0200
commitf4428025c8b54d8a6e0fb15589e08b097b7b9a76 (patch)
tree7b6a108f69f6dc851e29d4a22ab093a3466134df /tools/perf/scripts/python/export-to-postgresql.py
parent05657c7822f2e8f21ccd6c11f2eb207896f5f87a (diff)
tools/thermal/tmon: Fix signed shift UB in binding display
In the thermal zone binding display loop, the expression `(1 << j)` performs a signed integer shift. When j reaches 31, this sets the sign bit of a 32-bit signed integer, which is undefined behavior. Fix it by using `(1U << j)` to perform an unsigned shift. Signed-off-by: Liu Jing <liujing@cmss.chinamobile.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org> Link: https://patch.msgid.link/20260903082858.5273-1-liujing@cmss.chinamobile.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions