Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753920AbdLMTn4 (ORCPT ); Wed, 13 Dec 2017 14:43:56 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:45332 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753879AbdLMTnw (ORCPT ); Wed, 13 Dec 2017 14:43:52 -0500 X-Google-Smtp-Source: ACJfBoutHY0bQ70gO0qJk224IJe8p64VHs8lxRi+LZU/5VOCsiLIiNPvvlDoMloEgUyUvsViaT4ajA== From: Corentin Labbe To: linux@roeck-us.net, wim@iguana.be Cc: linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, Corentin Labbe Subject: [PATCH] watchdog: document watchdog_init_timeout() wdd parameter Date: Wed, 13 Dec 2017 20:41:40 +0100 Message-Id: <20171213194140.1717-1-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.13.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 898 Lines: 25 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 --- 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