Skip to content

Commit fd85840

Browse files
Yang Yingliangbjorn-helgaas
authored andcommitted
PCI: endpoint: pci-epf-vntb: Add epf_ntb_mw_bar_clear() num_mws kernel-doc
8e4bfbe ("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. Add kernel-doc for num_mws on epf_ntb_mw_bar_clear(). Fixes: 8e4bfbe ("PCI: endpoint: pci-epf-vntb: fix error handle in epf_ntb_mw_bar_init()") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Yang Yingliang <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
1 parent 1aa3f2b commit fd85840

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pci/endpoint/functions/pci-epf-vntb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,7 @@ static int epf_ntb_mw_bar_init(struct epf_ntb *ntb)
652652
/**
653653
* epf_ntb_mw_bar_clear() - Clear Memory window BARs
654654
* @ntb: NTB device that facilitates communication between HOST and VHOST
655+
* @num_mws: the number of Memory window BARs that to be cleared
655656
*/
656657
static void epf_ntb_mw_bar_clear(struct epf_ntb *ntb, int num_mws)
657658
{

0 commit comments

Comments
 (0)