diff options
| author | 2026-09-03 16:28:58 +0800 | |
|---|---|---|
| committer | 2026-10-13 16:26:28 +0200 | |
| commit | f4428025c8b54d8a6e0fb15589e08b097b7b9a76 (patch) | |
| tree | 7b6a108f69f6dc851e29d4a22ab093a3466134df /scripts/Makefile.thinlto | |
| parent | MAINTAINERS: Add entry for Samsung Exynos ACPM thermal driver (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
