Message ID | 20231218062659.26916-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-3041-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp1060232dyi; Sun, 17 Dec 2023 22:28:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IGPY8aN0OgOTBKz7kd9zksfwtnLy+z22nb1DusFiD8wwwljozkjbS+Rt+n+wtFqLYvPXP8M X-Received: by 2002:a17:902:f7d5:b0:1d3:ac23:b50f with SMTP id h21-20020a170902f7d500b001d3ac23b50fmr338833plw.96.1702880893626; Sun, 17 Dec 2023 22:28:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702880893; cv=none; d=google.com; s=arc-20160816; b=UjJIxFPOoX52UqVqUH/zcV1FvBXSLOUOLSmXbXfrK+aMEYOy08iF2RxSmmPxLJ6CYC 5C/1w/yJ7egVbwI3wzp8Qmh/+Lo3w4TOPdwojNOiboY/mNmWvZcOG4kxiudBuJH9Uv9I L60WWRPDovfOKXF4tgKeWhfCrg1aIMiv76rZtA2ftKnJTuvWYl1NfMiOI2/OUNrSpKLl VRhHGw7tSJLTN+cpBYSIdIg3kllZXlSa7mAf6SgUm39U9WSOfOV7x7viXMrctinSv6ZL cNdrqaDQRun8DmiuLKKOORQAufHEKD9MZJdnt52elK8fbKYXAic9pMF4eZSZ44p9BbmB Dttw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=yd59uGEg1d9Q50uiK6BFpTRDUTndrVdBp8wWSlMKviQ=; fh=rpWf/iGgd5qdfYG8ZypC0fzopWoZIf/LHBkbyl6VYh8=; b=PV4zPE9UOeBswSTmwEqTiiw20fPLQe/cbv/Zj3k36qoPdjreDO1mnoZG970yC3vYcY g+pMl0TIb+lrVRxDxi6p89mQ8hUBi0Q5gBeA3W2/kXYW2KLpx1zUsR8k0lAWIqWbhIpp ymMhJkMASG8jB9y1L0Npm/w4a37cfTA415Ja93fmEQJBEucpOpjW2gu/heZhWuapN+oT lfmlEPk+Bbyucm1ciuIHBJoxx8jHiaCIlYwBfYOfbeQDjiPaEsRJuRT4U48M/1600bX4 5FbPYkOxbVmCe/isZwTKWSFz0mSxj5r8OUtC770QFCdAyvP4x3LkpxgdQ4W2jbHH8qOs 6m3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=5AOlFKkU; spf=pass (google.com: domain of linux-kernel+bounces-3041-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3041-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id m8-20020a1709026bc800b001cfce833b63si17009441plt.83.2023.12.17.22.28.13 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 22:28:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3041-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=5AOlFKkU; spf=pass (google.com: domain of linux-kernel+bounces-3041-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3041-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 95B8AB21287 for <ouuuleilei@gmail.com>; Mon, 18 Dec 2023 06:28:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 27F9CF516; Mon, 18 Dec 2023 06:27:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="5AOlFKkU" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D89EEC8F3; Mon, 18 Dec 2023 06:27:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=yd59uGEg1d9Q50uiK6BFpTRDUTndrVdBp8wWSlMKviQ=; b=5AOlFKkUY8zEhGiMEqCk5zyVrm r3BRHXeoTHeGuUqiY/9fn1/ofA4PB7aaMiJD1lDdoTtZA4sRZZDv3RnK9l97Ale3paO2uJhW7PmK7 dK1UXiKyaCiOaJSK3SP1aslqPZU6RKTpanulUKu0Ib6Vs6beQSdN4QgPpT5GZUr4v5AfgTfqDgcTT j59jUnKfw/B/VCda1hLjKd8nxoOR/Q0gSzJrZ+JWdTXsfBKhZpnL+TnK6hKcMqmHdpsjS38BZDLZe cDrzB02JiSSHOw+xGEHrp1mJDKBs2pmi/lzkLapvQMbK7qRJB2LnA7uqijm+O7SSVkT/gbwoSpo6N xrdVOZ0w==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rF75g-009DcO-0k; Mon, 18 Dec 2023 06:27:00 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, kernel test robot <lkp@intel.com>, Michael Shych <michaelsh@nvidia.com>, Wim Van Sebroeck <wim@linux-watchdog.org>, Guenter Roeck <linux@roeck-us.net>, linux-watchdog@vger.kernel.org Subject: [PATCH] watchdog: mlx_wdt: fix all kernel-doc warnings Date: Sun, 17 Dec 2023 22:26:59 -0800 Message-ID: <20231218062659.26916-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785600035831647254 X-GMAIL-MSGID: 1785600035831647254 |
Series |
watchdog: mlx_wdt: fix all kernel-doc warnings
|
|
Commit Message
Randy Dunlap
Dec. 18, 2023, 6:26 a.m. UTC
Correct kernel-doc warnings as reported by kernel test robot:
mlx_wdt.c:56: warning: Function parameter or member 'wdt_type' not described in 'mlxreg_wdt'
mlx_wdt.c:56: warning: Excess struct member 'device' description in 'mlxreg_wdt'
mlx_wdt.c:56: warning: Excess struct member 'timeout' description in 'mlxreg_wdt'
mlx_wdt.c:56: warning: Excess struct member 'wd_type' description in 'mlxreg_wdt'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202312171701.xNkzdgdi-lkp@intel.com/
Cc: Michael Shych <michaelsh@nvidia.com>
Cc: Wim Van Sebroeck <wim@linux-watchdog.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: linux-watchdog@vger.kernel.org
---
drivers/watchdog/mlx_wdt.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Comments
On 12/17/23 22:26, Randy Dunlap wrote: > Correct kernel-doc warnings as reported by kernel test robot: > > mlx_wdt.c:56: warning: Function parameter or member 'wdt_type' not described in 'mlxreg_wdt' > mlx_wdt.c:56: warning: Excess struct member 'device' description in 'mlxreg_wdt' > mlx_wdt.c:56: warning: Excess struct member 'timeout' description in 'mlxreg_wdt' > mlx_wdt.c:56: warning: Excess struct member 'wd_type' description in 'mlxreg_wdt' > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Reported-by: kernel test robot <lkp@intel.com> > Closes: https://lore.kernel.org/oe-kbuild-all/202312171701.xNkzdgdi-lkp@intel.com/ > Cc: Michael Shych <michaelsh@nvidia.com> > Cc: Wim Van Sebroeck <wim@linux-watchdog.org> > Cc: Guenter Roeck <linux@roeck-us.net> > Cc: linux-watchdog@vger.kernel.org Reviewed-by: Guenter Roeck <linux@roeck-us.net> > --- > drivers/watchdog/mlx_wdt.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff -- a/drivers/watchdog/mlx_wdt.c b/drivers/watchdog/mlx_wdt.c > --- a/drivers/watchdog/mlx_wdt.c > +++ b/drivers/watchdog/mlx_wdt.c > @@ -30,17 +30,15 @@ > * struct mlxreg_wdt - wd private data: > * > * @wdd: watchdog device; > - * @device: basic device; > * @pdata: data received from platform driver; > * @regmap: register map of parent device; > - * @timeout: defined timeout in sec.; > * @action_idx: index for direct access to action register; > * @timeout_idx:index for direct access to TO register; > * @tleft_idx: index for direct access to time left register; > * @ping_idx: index for direct access to ping register; > * @reset_idx: index for direct access to reset cause register; > * @regmap_val_sz: size of value in register map; > - * @wd_type: watchdog HW type; > + * @wdt_type: watchdog HW type; > */ > struct mlxreg_wdt { > struct watchdog_device wdd; >
diff -- a/drivers/watchdog/mlx_wdt.c b/drivers/watchdog/mlx_wdt.c --- a/drivers/watchdog/mlx_wdt.c +++ b/drivers/watchdog/mlx_wdt.c @@ -30,17 +30,15 @@ * struct mlxreg_wdt - wd private data: * * @wdd: watchdog device; - * @device: basic device; * @pdata: data received from platform driver; * @regmap: register map of parent device; - * @timeout: defined timeout in sec.; * @action_idx: index for direct access to action register; * @timeout_idx:index for direct access to TO register; * @tleft_idx: index for direct access to time left register; * @ping_idx: index for direct access to ping register; * @reset_idx: index for direct access to reset cause register; * @regmap_val_sz: size of value in register map; - * @wd_type: watchdog HW type; + * @wdt_type: watchdog HW type; */ struct mlxreg_wdt { struct watchdog_device wdd;