linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] PCI/P2PDMA: Fix the comments on pci_p2pmem_find_many()
@ 2023-03-29  2:47 Cai Huoqing
  2023-04-06 21:40 ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: Cai Huoqing @ 2023-03-29  2:47 UTC (permalink / raw)
  To: cai.huoqing; +Cc: Logan Gunthorpe, Bjorn Helgaas, linux-pci, linux-kernel

Remove pci_p2pmem_dma() reference,
because pci_p2pmem_dma() method is not existed.

Signed-off-by: Cai Huoqing <cai.huoqing@linux.dev>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
---
v2->v3:
  Update commit log-pci_p2pmem_dma() method is not existed.

v2 link:
  https://lore.kernel.org/lkml/20230328110610.3824-1-cai.huoqing@linux.dev/

 drivers/pci/p2pdma.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/pci/p2pdma.c b/drivers/pci/p2pdma.c
index 9e8205572830..6cd98ffca198 100644
--- a/drivers/pci/p2pdma.c
+++ b/drivers/pci/p2pdma.c
@@ -746,8 +746,7 @@ EXPORT_SYMBOL_GPL(pci_has_p2pmem);
 
 /**
  * pci_p2pmem_find_many - find a peer-to-peer DMA memory device compatible with
- *	the specified list of clients and shortest distance (as determined
- *	by pci_p2pmem_dma())
+ *	the specified list of clients and shortest distance
  * @clients: array of devices to check (NULL-terminated)
  * @num_clients: number of client devices in the list
  *
-- 
2.34.1


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

end of thread, other threads:[~2023-04-06 21:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-29  2:47 [PATCH v3] PCI/P2PDMA: Fix the comments on pci_p2pmem_find_many() Cai Huoqing
2023-04-06 21:40 ` 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).