Re: [PATCH] watchdog: Fix build error when CONFIG_SOFTLOCKUP_DETECTOR is not set

2022-07-27 Thread Michael Ellerman
Laurent Dufour writes: > Le 27/07/2022 à 13:38, Michael Ellerman a écrit : >> Laurent Dufour writes: >>> Sachin reported the following build error when CONFIG_SOFTLOCKUP_DETECTOR >>> is not set: >>> >>> kernel/watchdog.c:597:20: error: static declaration of >>> 'lockup_detector_reconfigure' foll

Re: [PATCH] watchdog: Fix build error when CONFIG_SOFTLOCKUP_DETECTOR is not set

2022-07-27 Thread Laurent Dufour
Le 27/07/2022 à 13:38, Michael Ellerman a écrit : > Laurent Dufour writes: >> Sachin reported the following build error when CONFIG_SOFTLOCKUP_DETECTOR >> is not set: >> >> kernel/watchdog.c:597:20: error: static declaration of >> 'lockup_detector_reconfigure' follows non-static declaration >> s

Re: [PATCH] watchdog: Fix build error when CONFIG_SOFTLOCKUP_DETECTOR is not set

2022-07-27 Thread Michael Ellerman
Laurent Dufour writes: > Sachin reported the following build error when CONFIG_SOFTLOCKUP_DETECTOR > is not set: > > kernel/watchdog.c:597:20: error: static declaration of > 'lockup_detector_reconfigure' follows non-static declaration > static inline void lockup_detector_reconfigure(void) >

Re: [PATCH] watchdog: Fix build error when CONFIG_SOFTLOCKUP_DETECTOR is not set

2022-07-27 Thread Sachin Sant
> The definition of lockup_detector_reconfigure should be exported even in > that case, and __lockup_detector_reconfigure should remain static. > > Fixes: 24a1260705b7 ("watchdog: export lockup_detector_reconfigure") > Reported-by: Sachin Sant > Signed-off-by: Laurent Dufour > --- > kernel/wat

[PATCH] watchdog: Fix build error when CONFIG_SOFTLOCKUP_DETECTOR is not set

2022-07-27 Thread Laurent Dufour
Sachin reported the following build error when CONFIG_SOFTLOCKUP_DETECTOR is not set: kernel/watchdog.c:597:20: error: static declaration of 'lockup_detector_reconfigure' follows non-static declaration static inline void lockup_detector_reconfigure(void) ^