summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2025-06-14 10:55:56 -0700
committerDaniel Lezcano <daniel.lezcano@linaro.org>2025-09-23 10:54:58 +0200
commit7f3abae5b447a7f8458a0f58a003c11c46aade99 (patch)
tree1f1fc6081f62ddf5c89d097f4acfad80a71d11dc /scripts/gdb/linux/utils.py
parent916aa36042db8ee230543ffe0d192f900e8b8c9f (diff)
clocksource/drivers/timer-tegra186: Simplify calculating timeleft
It is not necessary to use 64-bit operations to calculate the remaining watchdog timeout. Simplify to use 32-bit operations, and add comments explaining why there will be no overflow. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Cc: Pohsun Su <pohsuns@nvidia.com> Cc: Robert Lin <robelin@nvidia.com> Link: https://lore.kernel.org/r/20250614175556.922159-2-linux@roeck-us.net
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions