Re: [PATCH] kernel/watchdog: change prototype of watchdog_nmi_enable()
From: Petr Mladek
Date: Thu Aug 26 2021 - 10:36:59 EST
On Tue 2021-08-24 11:14:35, Pingfan Liu wrote:
> The only caller does not handle the return value of
> watchdog_nmi_enable(). If there is an error, it seems to be reported by
> arch specific code.
>
> Hence changing watchdog_nmi_enable() return value from int to void.
>
> Signed-off-by: Pingfan Liu <kernelfans@xxxxxxxxx>
Looks good to me:
Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>
Best Regards,
Petr