[PATCH] watchdog: restart handler: hang when watchdog cannot restart the machine
Sascha Hauer
s.hauer at pengutronix.de
Wed Feb 7 23:10:44 PST 2024
On Mon, 05 Feb 2024 12:52:26 +0100, Sascha Hauer wrote:
> The __builtin_unreachable() in watchdog_restart_handle() is bogus,
> because when the watchdog doesn't work we will run into
> __builtin_unreachable() and behaviour is undefined. Drop the call
> to __builtin_unreachable(), print a big fat warning and hang() the
> machine which makes sure we don't return from watchdog_restart_handle().
>
>
> [...]
Applied, thanks!
[1/1] watchdog: restart handler: hang when watchdog cannot restart the machine
https://git.pengutronix.de/cgit/barebox/commit/?id=ddf0d5cf35aa (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list