lkml.org 
[lkml]   [2017]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] watchdog: document watchdog_init_timeout() wdd parameter
From
Date
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
> *
>

\
 
 \ /
  Last update: 2017-12-14 15:30    [W:0.029 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site