All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] watchdog: document watchdog_init_timeout() wdd parameter
@ 2017-12-13 19:41 Corentin Labbe
  2017-12-14 14:30 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Corentin Labbe @ 2017-12-13 19:41 UTC (permalink / raw)
  To: linux, wim; +Cc: linux-kernel, linux-watchdog, Corentin Labbe

All parameters of watchdog_init_timeout() are documented with exception
of wdd, thus generating a build warning.

This patch document it and so remove the following build warning:
drivers/watchdog/watchdog_core.c:113: warning: No description found for parameter 'wdd'

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
---
 drivers/watchdog/watchdog_core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/watchdog/watchdog_core.c b/drivers/watchdog/watchdog_core.c
index 8a8d952f8df9..eb8fa25f8eb2 100644
--- a/drivers/watchdog/watchdog_core.c
+++ b/drivers/watchdog/watchdog_core.c
@@ -97,6 +97,7 @@ static void watchdog_check_min_max_timeout(struct watchdog_device *wdd)
 
 /**
  * watchdog_init_timeout() - initialize the timeout field
+ * @wdd: watchdog device
  * @timeout_parm: timeout module parameter
  * @dev: Device that stores the timeout-sec property
  *
-- 
2.13.6

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

* Re: [PATCH] watchdog: document watchdog_init_timeout() wdd parameter
  2017-12-13 19:41 [PATCH] watchdog: document watchdog_init_timeout() wdd parameter Corentin Labbe
@ 2017-12-14 14:30 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2017-12-14 14:30 UTC (permalink / raw)
  To: Corentin Labbe, wim; +Cc: linux-kernel, linux-watchdog

On 12/13/2017 11:41 AM, Corentin Labbe wrote:
> All parameters of watchdog_init_timeout() are documented with exception
> of wdd, thus generating a build warning.
> 
> This patch document it and so remove the following build warning:
> drivers/watchdog/watchdog_core.c:113: warning: No description found for parameter 'wdd'
> 
> Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>

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

> ---
>   drivers/watchdog/watchdog_core.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/watchdog/watchdog_core.c b/drivers/watchdog/watchdog_core.c
> index 8a8d952f8df9..eb8fa25f8eb2 100644
> --- a/drivers/watchdog/watchdog_core.c
> +++ b/drivers/watchdog/watchdog_core.c
> @@ -97,6 +97,7 @@ static void watchdog_check_min_max_timeout(struct watchdog_device *wdd)
>   
>   /**
>    * watchdog_init_timeout() - initialize the timeout field
> + * @wdd: watchdog device
>    * @timeout_parm: timeout module parameter
>    * @dev: Device that stores the timeout-sec property
>    *
> 

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

end of thread, other threads:[~2017-12-14 14:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-13 19:41 [PATCH] watchdog: document watchdog_init_timeout() wdd parameter Corentin Labbe
2017-12-14 14:30 ` 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.