aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/mm.py
diff options
context:
space:
mode:
authorBiju Das <[email protected]>2022-02-25 17:53:14 +0000
committerWim Van Sebroeck <[email protected]>2022-05-08 10:34:01 +0200
commitea2949df22a533cdf75e4583c00b1ce94cd5a83b (patch)
tree92833cc7b99e20e611ee6142bd6402dbb1fd4dc0 /scripts/gdb/linux/mm.py
parent289660a4af0e1e38873b7a5cc772114d3b911427 (diff)
watchdog: rzg2l_wdt: Fix 32bit overflow issue
The value of timer_cycle_us can be 0 due to 32bit overflow. For eg:- If we assign the counter value "0xfff" for computing maxval. This patch fixes this issue by appending ULL to 1024, so that it is promoted to 64bit. This patch also fixes the warning message, 'watchdog: Invalid min and max timeout values, resetting to 0!'. Fixes: 2cbc5cd0b55fa2 ("watchdog: Add Watchdog Timer driver for RZ/G2L") Signed-off-by: Biju Das <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions