diff options
author | Li Hua Qian <[email protected]> | 2023-07-18 10:10:07 +0800 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2023-08-19 17:14:36 +0200 |
commit | f20ca595ae23314db0383940a184317333c46662 (patch) | |
tree | 1558df3f864788554645056c34027eb49bbbd047 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 11efe9e3f80a994aed1276bfce5c3b01884fa984 (diff) |
watchdog:rit_wdt: Add support for WDIOF_CARDRESET
This patch adds the WDIOF_CARDRESET support for the platform watchdog
whose hardware does not support this feature, to know if the board
reboot is due to a watchdog reset.
This is done via reserved memory(RAM), which indicates if specific
info saved, triggering the watchdog reset in last boot.
Signed-off-by: Li Hua Qian <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[groeck: vaddr == NULL --> !vaddr]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions