diff options
| author | 2026-10-05 13:15:01 +0200 | |
|---|---|---|
| committer | 2026-10-08 10:11:43 +0200 | |
| commit | b8f98c67b3e822296ef278f9fc640e8bb142cfde (patch) | |
| tree | 3787151dec393a3660d4d89089e422a94a0a7389 /scripts/Makefile.thinlto | |
| parent | rtc: ftrtc010: fix integer overflow in time calculation (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
