diff options
| author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2026-10-05 13:15:01 +0200 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2026-10-08 10:11:43 +0200 |
| commit | b8f98c67b3e822296ef278f9fc640e8bb142cfde (patch) | |
| tree | 3787151dec393a3660d4d89089e422a94a0a7389 /tools/perf/scripts/python | |
| parent | 32f04694fa87b8ac9fa58f9ceb2dc6cbc476e2a1 (diff) | |
| download | linux-next-b8f98c67b3e822296ef278f9fc640e8bb142cfde.tar.gz linux-next-b8f98c67b3e822296ef278f9fc640e8bb142cfde.zip | |
rtc: ftrtc010: fix cast
The hour and minute registers will rollover before the multiplication to
convert to a number of seconds can exceed an 32bit integer, there is no
need to cast them.
Reported-by: Dan Carpenter <error27@gmail.com>
Link: https://patch.msgid.link/20261002105946.8rdteIpO7uWGEcTlS65F8iSi4gsRoXi2kgq8FTSaDPA@z/
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20261005111502.159855-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
