All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] watchdog: wdat_wdt: Fix missing kerneldoc reported by W=1
@ 2020-11-11 17:22 vee.khee.wong
  2020-11-11 17:49 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: vee.khee.wong @ 2020-11-11 17:22 UTC (permalink / raw)
  To: Wim Van Sebroeck, Guenter Roeck
  Cc: linux-watchdog, linux-kernel, Wong Vee Khee

From: Wong Vee Khee <vee.khee.wong@intel.com>

Fix the following warning while compiling with W=1.

drivers/watchdog/wdat_wdt.c:48: warning: Function parameter or member 'instructions' not described in 'wdat_wdt'

Signed-off-by: Wong Vee Khee <vee.khee.wong@intel.com>
---
 drivers/watchdog/wdat_wdt.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/watchdog/wdat_wdt.c b/drivers/watchdog/wdat_wdt.c
index 3065dd670a18..cec7917790e5 100644
--- a/drivers/watchdog/wdat_wdt.c
+++ b/drivers/watchdog/wdat_wdt.c
@@ -34,9 +34,9 @@ struct wdat_instruction {
  * @period: How long is one watchdog period in ms
  * @stopped_in_sleep: Is this watchdog stopped by the firmware in S1-S5
  * @stopped: Was the watchdog stopped by the driver in suspend
- * @actions: An array of instruction lists indexed by an action number from
- *           the WDAT table. There can be %NULL entries for not implemented
- *           actions.
+ * @instructions: An array of instruction lists indexed by an action number from
+ *                the WDAT table. There can be %NULL entries for not implemented
+ *                actions.
  */
 struct wdat_wdt {
 	struct platform_device *pdev;
-- 
2.17.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] watchdog: wdat_wdt: Fix missing kerneldoc reported by W=1
  2020-11-11 17:22 [PATCH 1/1] watchdog: wdat_wdt: Fix missing kerneldoc reported by W=1 vee.khee.wong
@ 2020-11-11 17:49 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2020-11-11 17:49 UTC (permalink / raw)
  To: vee.khee.wong, Wim Van Sebroeck; +Cc: linux-watchdog, linux-kernel

On 11/11/20 9:22 AM, vee.khee.wong@intel.com wrote:
> From: Wong Vee Khee <vee.khee.wong@intel.com>
> 
> Fix the following warning while compiling with W=1.
> 
> drivers/watchdog/wdat_wdt.c:48: warning: Function parameter or member 'instructions' not described in 'wdat_wdt'
> 
> Signed-off-by: Wong Vee Khee <vee.khee.wong@intel.com>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>  drivers/watchdog/wdat_wdt.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/watchdog/wdat_wdt.c b/drivers/watchdog/wdat_wdt.c
> index 3065dd670a18..cec7917790e5 100644
> --- a/drivers/watchdog/wdat_wdt.c
> +++ b/drivers/watchdog/wdat_wdt.c
> @@ -34,9 +34,9 @@ struct wdat_instruction {
>   * @period: How long is one watchdog period in ms
>   * @stopped_in_sleep: Is this watchdog stopped by the firmware in S1-S5
>   * @stopped: Was the watchdog stopped by the driver in suspend
> - * @actions: An array of instruction lists indexed by an action number from
> - *           the WDAT table. There can be %NULL entries for not implemented
> - *           actions.
> + * @instructions: An array of instruction lists indexed by an action number from
> + *                the WDAT table. There can be %NULL entries for not implemented
> + *                actions.
>   */
>  struct wdat_wdt {
>  	struct platform_device *pdev;
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-11 17:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-11 17:22 [PATCH 1/1] watchdog: wdat_wdt: Fix missing kerneldoc reported by W=1 vee.khee.wong
2020-11-11 17:49 ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.