Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

watchdog: Correct kerneldoc warnings

Correct kerneldoc syntax or drop kerneldoc entirely for function
comments not being kerneldoc to fix warnings like:

pretimeout_noop.c:19: warning: Function parameter or struct member 'wdd' not described in 'pretimeout_noop'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20250406203531.61322-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>

authored by

Krzysztof Kozlowski and committed by
Wim Van Sebroeck
60625ff9 b6f8a417

+6 -6
+3 -3
drivers/watchdog/pcwd_usb.c
··· 579 579 .notifier_call = usb_pcwd_notify_sys, 580 580 }; 581 581 582 - /** 582 + /* 583 583 * usb_pcwd_delete 584 584 */ 585 585 static inline void usb_pcwd_delete(struct usb_pcwd_private *usb_pcwd) ··· 590 590 kfree(usb_pcwd); 591 591 } 592 592 593 - /** 593 + /* 594 594 * usb_pcwd_probe 595 595 * 596 596 * Called by the usb core when a new device is connected that it thinks ··· 758 758 } 759 759 760 760 761 - /** 761 + /* 762 762 * usb_pcwd_disconnect 763 763 * 764 764 * Called by the usb core when the device is removed from the system.
+1 -1
drivers/watchdog/pretimeout_noop.c
··· 11 11 12 12 /** 13 13 * pretimeout_noop - No operation on watchdog pretimeout event 14 - * @wdd - watchdog_device 14 + * @wdd: watchdog_device 15 15 * 16 16 * This function prints a message about pretimeout to kernel log. 17 17 */
+1 -1
drivers/watchdog/pretimeout_panic.c
··· 11 11 12 12 /** 13 13 * pretimeout_panic - Panic on watchdog pretimeout event 14 - * @wdd - watchdog_device 14 + * @wdd: watchdog_device 15 15 * 16 16 * Panic, watchdog has not been fed till pretimeout event. 17 17 */
+1 -1
drivers/watchdog/wdt_pci.c
··· 264 264 return 0; 265 265 } 266 266 267 - /** 267 + /* 268 268 * wdtpci_get_temperature: 269 269 * 270 270 * Reports the temperature in degrees Fahrenheit. The API is in