summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorRob Herring (Arm) <robh@kernel.org>2026-06-12 16:50:09 -0500
committerDaniel Lezcano <daniel.lezcano@kernel.org>2026-09-28 17:54:14 +0200
commit4f6d1a9ea172c22e6c67e2ec06fb0f20e07e7225 (patch)
tree23131a1e9d17218f7d894d38eb803154a3d53ed8 /tools/perf/scripts/python/task-analyzer.py
parente856ca3013b3074fd07cb81c90b1de332f69153c (diff)
thermal: of: Match trip property helper types
The thermal-zone binding defines "temperature" as a signed int32 value and "hysteresis" as an unsigned int32 value. Using helpers with matching types avoids dt_property_check mismatches and preserves the signed interpretation needed for trips below zero. Read "temperature" with the signed helper and keep "hysteresis" on the unsigned helper using separate typed temporaries before storing them in the trip structure. Assisted-by: Codex:gpt-5-5 Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org> Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Link: https://patch.msgid.link/20260612215009.1884665-1-robh@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions