Message ID | 20231216004156.26967-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-1910-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp9672867dys; Fri, 15 Dec 2023 16:42:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IFlJlz0sRCNZwb5iphwnw1YMwsBUOOM1T61cN98q47sIOqHUx0JWJrJaZjFIaeTLjJJWX2N X-Received: by 2002:a50:d0c8:0:b0:552:ca6e:7cbf with SMTP id g8-20020a50d0c8000000b00552ca6e7cbfmr832865edf.59.1702687337414; Fri, 15 Dec 2023 16:42:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702687337; cv=none; d=google.com; s=arc-20160816; b=FlOMfRslUFOF/Il8v3QSOU9Jz8hWrEMdYhjzp0uPO/OfjaStMU8rM1gcEQaSlnPMIJ UKHCVw+0uUWrrwkC6NXW/4QYQ+Z6kMTTNqlMC5VeAxoGgb01dRWREJYAt+QykYlw15F4 Vv4usZGjAvlNPHGhtDOoJAOK5jcG+WH+5+G/tmRJXQTpcQAEStdB6eSfJIA9YfWbeUxi DvAmCKduNeE0gcDBbLCIBepTQ9hpnOSwlFkSKKWx/dM8WX/8xxKcxHSEZigBN5iHj9rw VsZjfukmQOVq5HosppxfTu9TLH+hyBjwum6wT97Feq1MWjkwg2X7xjiP7nxRM8bWS9fM 12cg== 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=JGm64yDc8jR+dkgAioiLsX1CTnOIIQnPYRMG7T++vsY=; fh=XhfcCWvw+IK4wTzE9cFQEanIAm8FmfqPkRv3cZtXqWI=; b=RLK1Cd8VS2/utYXuz/H1QdWqD0V9uQUH2JKoMQGYGIKPkEVPU0sGI4u8OUbU1lzBX3 99H4GQ9O8k3FzFkBxxhvzIrfG/UB55vag6nI162xE6yan2Uvhq2UKplAKBto1OoJrRea N+NWBHfY4hBJudzYapvcVIt6CzfUhyq11ZtAYEahxzuWoqkQFeqWqYwceNRz9BOjIGof /QI5A5HYK/g0Jh4AaX7mDpahuyrfEn9otVu5QcQ1giZaeNKM3eNJXGUN+Bsx7a0n4X1C 8WfDiW4HKUrePjBSvgRl3ta9xm91gKsah5O08H6i5njq5boSvggngyduG8YHCSIsfA9H JUBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=VoB0Kly6; spf=pass (google.com: domain of linux-kernel+bounces-1910-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1910-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id w5-20020a05640234c500b00552c383e7fdsi987536edc.420.2023.12.15.16.42.17 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 16:42:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1910-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=VoB0Kly6; spf=pass (google.com: domain of linux-kernel+bounces-1910-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1910-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0C4691F2586C for <ouuuleilei@gmail.com>; Sat, 16 Dec 2023 00:42:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 03DC115BB; Sat, 16 Dec 2023 00:42:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="VoB0Kly6" 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 559037F2 for <linux-kernel@vger.kernel.org>; Sat, 16 Dec 2023 00:41:59 +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=JGm64yDc8jR+dkgAioiLsX1CTnOIIQnPYRMG7T++vsY=; b=VoB0Kly6iH+E06eL2Vwul1/5Uo fz03reJglm6VjG0LtDUI0/YG6R7mJpqxmWNZqZjR1wxCUshJ77K38EWZicp4b4/N1m8juMIBvcS5t IJ15dV7mxQnTD45ocRl1d6sWwC55NFahEb7YD0AJileQ5X1XjqL83NDbTIVzKIlBwIFXYkIiSsdML rY7kfEMFJdA2EiwY2eTuXQgF9L2SRzzrG7cv+LGppl9LkVijky1RvyjO1nTinR2dpQEc8dwmgtQqf ZxLWOxSISf9N34NrkyWTW3eAdvMVfIeWXPPkINetKg4jFKrI5MUBaiPAxaxQ2sQA4YtUPmcX1Demx Z9xiHrWw==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rEIkf-0052D0-0Y; Sat, 16 Dec 2023 00:41:57 +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>, Jassi Brar <jassisinghbrar@gmail.com>, Michal Simek <michal.simek@amd.com>, linux-arm-kernel@lists.infradead.org Subject: [PATCH] mailbox: zynqmp-ipi: fix an Excess struct member kernel-doc warning Date: Fri, 15 Dec 2023 16:41:56 -0800 Message-ID: <20231216004156.26967-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: 1785397077405019165 X-GMAIL-MSGID: 1785397077405019165 |
Series |
mailbox: zynqmp-ipi: fix an Excess struct member kernel-doc warning
|
|
Commit Message
Randy Dunlap
Dec. 16, 2023, 12:41 a.m. UTC
kernel test robot reports 2 Excess struct member warnings:
zynqmp-ipi-mailbox.c:92: warning: Excess struct member 'irq' description in 'zynqmp_ipi_mbox'
zynqmp-ipi-mailbox.c:112: warning: Excess struct member 'ipi_mboxes' description in 'zynqmp_ipi_pdata'
The second one is a false positive that is caused by the
__counted_by() attribute. Kees has posted a patch for that, so just
fix the first one.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202312150705.glrQ4ypv-lkp@intel.com/
Cc: Jassi Brar <jassisinghbrar@gmail.com>
Cc: Michal Simek <michal.simek@amd.com>
Cc: linux-arm-kernel@lists.infradead.org
---
drivers/mailbox/zynqmp-ipi-mailbox.c | 1 -
1 file changed, 1 deletion(-)
Comments
On 12/16/23 01:41, Randy Dunlap wrote: > kernel test robot reports 2 Excess struct member warnings: > > zynqmp-ipi-mailbox.c:92: warning: Excess struct member 'irq' description in 'zynqmp_ipi_mbox' > zynqmp-ipi-mailbox.c:112: warning: Excess struct member 'ipi_mboxes' description in 'zynqmp_ipi_pdata' > > The second one is a false positive that is caused by the > __counted_by() attribute. Kees has posted a patch for that, so just > fix the first one. > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Reported-by: kernel test robot <lkp@intel.com> > Closes: https://lore.kernel.org/oe-kbuild-all/202312150705.glrQ4ypv-lkp@intel.com/ > Cc: Jassi Brar <jassisinghbrar@gmail.com> > Cc: Michal Simek <michal.simek@amd.com> > Cc: linux-arm-kernel@lists.infradead.org > --- > drivers/mailbox/zynqmp-ipi-mailbox.c | 1 - > 1 file changed, 1 deletion(-) > > diff -- a/drivers/mailbox/zynqmp-ipi-mailbox.c b/drivers/mailbox/zynqmp-ipi-mailbox.c > --- a/drivers/mailbox/zynqmp-ipi-mailbox.c > +++ b/drivers/mailbox/zynqmp-ipi-mailbox.c > @@ -81,7 +81,6 @@ struct zynqmp_ipi_mchan { > * @remote_id: remote IPI agent ID > * @mbox: mailbox Controller > * @mchans: array for channels, tx channel and rx channel. > - * @irq: IPI agent interrupt ID > */ > struct zynqmp_ipi_mbox { > struct zynqmp_ipi_pdata *pdata; Reviewed-by: Michal Simek <michal.simek@amd.com> Thanks, Michal
diff -- a/drivers/mailbox/zynqmp-ipi-mailbox.c b/drivers/mailbox/zynqmp-ipi-mailbox.c --- a/drivers/mailbox/zynqmp-ipi-mailbox.c +++ b/drivers/mailbox/zynqmp-ipi-mailbox.c @@ -81,7 +81,6 @@ struct zynqmp_ipi_mchan { * @remote_id: remote IPI agent ID * @mbox: mailbox Controller * @mchans: array for channels, tx channel and rx channel. - * @irq: IPI agent interrupt ID */ struct zynqmp_ipi_mbox { struct zynqmp_ipi_pdata *pdata;