From patchwork Wed Dec 13 19:41:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 121852 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5896913qgn; Wed, 13 Dec 2017 11:43:54 -0800 (PST) X-Google-Smtp-Source: ACJfBovZYEajgCEcix16znktihI1TbtO2g0ZMBmAS4F4xrW3VG3bg4hqupmQty8hTQNA4QjjbT2w X-Received: by 10.84.213.8 with SMTP id f8mr6751136pli.76.1513194234698; Wed, 13 Dec 2017 11:43:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513194234; cv=none; d=google.com; s=arc-20160816; b=EaJMDv69phdrlYrasOxJhikjkA5dTByCR6OY9mzbMRDRfzrnOUgkfj0c1DY+nM+/Ny 4QJE+U0/2GcIpUMfHMY75D3lEZDCwzBRJWFg2S9iIy2BKr+Jpdu6qvyPNi1MgpTX8Pj4 YliLSU9KPiuvpqQIdlRIcegk848rufjy2Z4/3y2Kasse9T9WEqVzSCXaUFKSQqL939tv GSIys7GXknnbleNdpAH3XntoWXyQ4Awgd+ilfmwq7gOHCJYRx4veuuxr62Erq5OLERGy 18o5ShOBTCX4fEvdZVcFiZbZfM+xKpyugzRw12ErnpPAh5h4yde82xIdd6K31RDGpkUS iOZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=rl61IpZ68wpzlxq2Q4v6F8uaGKbc27gbyiMZKMUs8FU=; b=Ru7UYWaIJ4br4yDlUJ77Uyka2sAeeJDeVFGkzqMREAuuUAYAjSXPjeWRn11juaXXYI 9o5BqTi3Cei8Vb0xBzDp3pooPt3a2n+kudkp1c22tT1JU0lIs9oHGX+TDZ+Acl4S5Aac 0TBarTwcV3ZccUc4aP6Fd98LPvHp6OCPf1aOd3qKW052Uj3KmvuTXTdcH72ChbcdJzvV t7aDvCkVhxV7kI6PoKtoikXxF99yVeYEXEZek0MS5GrDgAYdwp8udolBeRVFG7GiqRMu 0FrWlVXHoxQ6ipoHNJD7Jlypa5hBM8dps22rmxvqeC5saNdeELJCsGTaY5kWHHdpoeY1 JvmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=GL+MP6wt; spf=pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-watchdog-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 88si1264226pld.474.2017.12.13.11.43.54 for ; Wed, 13 Dec 2017 11:43:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=GL+MP6wt; spf=pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-watchdog-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753905AbdLMTny (ORCPT ); Wed, 13 Dec 2017 14:43:54 -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 Received: by mail-wm0-f68.google.com with SMTP id 9so7179194wme.4; Wed, 13 Dec 2017 11:43:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=iygtzMrR5ExNRIAr3SHttbV86nWMy3EQCi/hFqY/FCI=; b=GL+MP6wtkIkSHujKbEtnmOOSyWEVRW102fFCKunvnzWFrHiUsPVxtCLsNdwTRFV7BD 8SQDcKvBinagdzJo0ZM0BzMdktpSrzxn2KC/xCifiwAfMo4nAurbvKu4LkBNsL/udlTb El/xd2yhq6BCKCjTiV/PAfh6OIX1p58ZclriLbyFKvNre2DbZxNX3KIyPn6Bha157phN CEi9vTEc59m7AtDOO8Z60GL0f4yA2+63M65jgTqGFeU3HB8SKwXGk2Luw8uQQBjxAcKV KZWd204NFSrM2ztvxNhCoXxUN5NNK7m92MJFY9K2Q5wOFSHSDCR/2k3WCXw7cM/QPi9p Pg6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=iygtzMrR5ExNRIAr3SHttbV86nWMy3EQCi/hFqY/FCI=; b=rtt/vS+v8CAAL+apJ2Go4Ga3zePJS6bYuWgX3gdwuW9696KDek6dE5CxzQUXnokLeM t9vhc9z7RxABTh+5e6KX9Z3hd9iNMrHDo95Bt1sn/M6rUj1tdquwxkI81SSj0NMEa5fL A9GoE6hFvar4rMkRgC4JJ9pnsHACvVv7y+T6kctATsZt/pzvkzCmOqMsbYHV3A5i1HbR AoKoZg2oAd0wYStkxhlN1vPMDUm2kyN9GvRkOEUYBF8h/Wec+p0qjgDJzYoPVfHl7epD +OHYyvfs9jdbsPxli7uSJjv3pxUkZ6/7eYD77fdWlsaee9Un248aC3FPdElHWtKwEt+k nEdA== X-Gm-Message-State: AKGB3mJuEM3+qPehKqndSAR2AbOMnmmSutRaGlJhP/NqZvuVcdCL8Jru pr21GLZh3I0DYRPxJJ2Wbmk= X-Received: by 10.28.122.18 with SMTP id v18mr105312wmc.3.1513194230895; Wed, 13 Dec 2017 11:43:50 -0800 (PST) Received: from Red.local (LFbn-MAR-1-494-123.w2-15.abo.wanadoo.fr. [2.15.82.123]) by smtp.googlemail.com with ESMTPSA id b78sm2118177wmi.18.2017.12.13.11.43.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Dec 2017 11:43:50 -0800 (PST) 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-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org 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(+) -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Guenter Roeck 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 *