ntb.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH] PCI: endpoint: pci-epf-vntb: add kernel-doc for num_mws on epf_ntb_mw_bar_clear()
@ 2023-01-03  2:49 Yang Yingliang
  2023-01-18 20:15 ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Yingliang @ 2023-01-03  2:49 UTC (permalink / raw)
  To: linux-pci, linux-kernel, ntb
  Cc: jdmason, dave.jiang, allenbh, lpieralisi, kw, mani, kishon,
	bhelgaas, helgaas

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@huawei.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] PCI: endpoint: pci-epf-vntb: add kernel-doc for num_mws on epf_ntb_mw_bar_clear()
  2023-01-03  2:49 [PATCH] PCI: endpoint: pci-epf-vntb: add kernel-doc for num_mws on epf_ntb_mw_bar_clear() Yang Yingliang
@ 2023-01-18 20:15 ` Bjorn Helgaas
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2023-01-18 20:15 UTC (permalink / raw)
  To: Yang Yingliang
  Cc: linux-pci, linux-kernel, ntb, jdmason, dave.jiang, allenbh,
	lpieralisi, kw, mani, kishon, bhelgaas

On Tue, Jan 03, 2023 at 10:49:07AM +0800, Yang Yingliang wrote:
> 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@huawei.com>

Applied to pci/misc for v6.3, thanks!

> ---
>  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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-18 20:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-03  2:49 [PATCH] PCI: endpoint: pci-epf-vntb: add kernel-doc for num_mws on epf_ntb_mw_bar_clear() Yang Yingliang
2023-01-18 20:15 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).