mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 14:04:27 -04:00
watchdog: booke_wdt: Document unused parameter of __booke_wdt_disable()
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 <bbnpreetsingh@gmail.com> Link: https://lore.kernel.org/r/20260730060617.7-3-bbnpreetsingh@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
committed by
Guenter Roeck
parent
0ab46a83fa
commit
b583ce8541
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user