[PATCH 2/2] watchdog: booke_wdt: Document unused parameter of __booke_wdt_disable()
Babanpreet Singh <[email protected]> Thu, 30 Jul 2026 06:06:17 +0000
| Newsgroups | org.kernel.vger.linux-watchdog,org.kernel.vger.linux-kernel,org.ozlabs.lists.linuxppc-dev |
|---|---|
| Message-ID | <[email protected]> |
scripts/kernel-doc -none reports: Warning: drivers/watchdog/booke_wdt.c:158 function parameter 'data' not described in '__booke_wdt_disable' __booke_wdt_disable() is invoked through on_each_cpu(), so it takes a void * argument that it does not use. Its kernel-doc comment does not describe the parameter at all. Document it as unused. Assisted-by: Claude:claude-opus-5 Signed-off-by: Babanpreet Singh <[email protected]> --- drivers/watchdog/booke_wdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/booke_wdt.c b/drivers/watchdog/booke_wdt.c index 932a03f4436a3..1b1fb389b89ba 100644 --- a/drivers/watchdog/booke_wdt.c +++ b/drivers/watchdog/booke_wdt.c @@ -149,6 +149,7 @@ static void __booke_wdt_enable(void *data) /** * __booke_wdt_disable - disable the watchdog on the given CPU + * @data: unused * * This function is called on each CPU. It disables the watchdog on that CPU. * -- 2.43.0