summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2026-10-05 13:15:01 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2026-10-08 10:11:43 +0200
commitb8f98c67b3e822296ef278f9fc640e8bb142cfde (patch)
tree3787151dec393a3660d4d89089e422a94a0a7389 /tools/lib/python
parent32f04694fa87b8ac9fa58f9ceb2dc6cbc476e2a1 (diff)
downloadlinux-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/lib/python')
0 files changed, 0 insertions, 0 deletions