[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230103024907.293853-1-yangyingliang@huawei.com>
Date: Tue, 3 Jan 2023 10:49:07 +0800
From: Yang Yingliang <yangyingliang@...wei.com>
To: <linux-pci@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<ntb@...ts.linux.dev>
CC: <jdmason@...zu.us>, <dave.jiang@...el.com>, <allenbh@...il.com>,
<lpieralisi@...nel.org>, <kw@...ux.com>, <mani@...nel.org>,
<kishon@...nel.org>, <bhelgaas@...gle.com>, <helgaas@...nel.org>
Subject: [PATCH] PCI: endpoint: pci-epf-vntb: add kernel-doc for num_mws on epf_ntb_mw_bar_clear()
Commit 8e4bfbe644a6 ("PCI: endpoint: pci-epf-vntb: fix error handle
in epf_ntb_mw_bar_init()") added a "num_mws" parameter to
epf_ntb_mw_bar_clear() but failed to add kernel-doc for num_mws.
This patch adds kernel-doc for num_mws on epf_ntb_mw_bar_clear().
Fixes: 8e4bfbe644a6 ("PCI: endpoint: pci-epf-vntb: fix error handle in epf_ntb_mw_bar_init()")
Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
---
drivers/pci/endpoint/functions/pci-epf-vntb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pci/endpoint/functions/pci-epf-vntb.c b/drivers/pci/endpoint/functions/pci-epf-vntb.c
index 04698e7995a5..b7c7a8af99f4 100644
--- a/drivers/pci/endpoint/functions/pci-epf-vntb.c
+++ b/drivers/pci/endpoint/functions/pci-epf-vntb.c
@@ -652,6 +652,7 @@ static int epf_ntb_mw_bar_init(struct epf_ntb *ntb)
/**
* epf_ntb_mw_bar_clear() - Clear Memory window BARs
* @ntb: NTB device that facilitates communication between HOST and VHOST
+ * @num_mws: the number of Memory window BARs that to be cleared
*/
static void epf_ntb_mw_bar_clear(struct epf_ntb *ntb, int num_mws)
{
--
2.25.1
Powered by blists - more mailing lists