mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-04 19:54:59 +00:00
selftests/watchdog: change to print reset reason info.
The test prints reset reason when WDIOC_GETBOOTSTATUS returns a 0 flag value and all other cases simply say watchdog. Parse the flag values returned by WDIOC_GETBOOTSTATUS and print corresponding reset reason for each WDIOF_* boot status. Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
parent
de3ee3f634
commit
66d1dce0ec
1 changed files with 55 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue