Skip to content

Commit 60625ff

Browse files
krzkWim Van Sebroeck
authored andcommitted
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 <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent b6f8a41 commit 60625ff

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

drivers/watchdog/pcwd_usb.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ static struct notifier_block usb_pcwd_notifier = {
579579
.notifier_call = usb_pcwd_notify_sys,
580580
};
581581

582-
/**
582+
/*
583583
* usb_pcwd_delete
584584
*/
585585
static inline void usb_pcwd_delete(struct usb_pcwd_private *usb_pcwd)
@@ -590,7 +590,7 @@ static inline void usb_pcwd_delete(struct usb_pcwd_private *usb_pcwd)
590590
kfree(usb_pcwd);
591591
}
592592

593-
/**
593+
/*
594594
* usb_pcwd_probe
595595
*
596596
* Called by the usb core when a new device is connected that it thinks
@@ -758,7 +758,7 @@ static int usb_pcwd_probe(struct usb_interface *interface,
758758
}
759759

760760

761-
/**
761+
/*
762762
* usb_pcwd_disconnect
763763
*
764764
* Called by the usb core when the device is removed from the system.

drivers/watchdog/pretimeout_noop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
/**
1313
* pretimeout_noop - No operation on watchdog pretimeout event
14-
* @wdd - watchdog_device
14+
* @wdd: watchdog_device
1515
*
1616
* This function prints a message about pretimeout to kernel log.
1717
*/

drivers/watchdog/pretimeout_panic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
/**
1313
* pretimeout_panic - Panic on watchdog pretimeout event
14-
* @wdd - watchdog_device
14+
* @wdd: watchdog_device
1515
*
1616
* Panic, watchdog has not been fed till pretimeout event.
1717
*/

drivers/watchdog/wdt_pci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ static int wdtpci_get_status(int *status)
264264
return 0;
265265
}
266266

267-
/**
267+
/*
268268
* wdtpci_get_temperature:
269269
*
270270
* Reports the temperature in degrees Fahrenheit. The API is in

0 commit comments

Comments
 (0)