Re: [PATCH] watchdog: ulp_wdog: guard reset_cpu with condition check

2023-04-12 Thread Peng Fan
On 4/11/2023 5:38 PM, Stefan Roese wrote: On 4/6/23 12:24, Peng Fan (OSS) wrote: From: Peng Fan There will be build error if CONFIG_SYSRESET is enabled, so guard the reset_cpu with condition check here Signed-off-by: Peng Fan ---   drivers/watchdog/ulp_wdog.c | 2 ++   1 file changed, 2 in

Re: [PATCH] watchdog: ulp_wdog: guard reset_cpu with condition check

2023-04-11 Thread Stefan Roese
On 4/6/23 12:24, Peng Fan (OSS) wrote: From: Peng Fan There will be build error if CONFIG_SYSRESET is enabled, so guard the reset_cpu with condition check here Signed-off-by: Peng Fan --- drivers/watchdog/ulp_wdog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/watchdog/ulp

[PATCH] watchdog: ulp_wdog: guard reset_cpu with condition check

2023-04-06 Thread Peng Fan (OSS)
From: Peng Fan There will be build error if CONFIG_SYSRESET is enabled, so guard the reset_cpu with condition check here Signed-off-by: Peng Fan --- drivers/watchdog/ulp_wdog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/watchdog/ulp_wdog.c b/drivers/watchdog/ulp_wdog.c index