Skip to contentSkip to conversation

PCI/P2PDMA: Fix the comments on pci_p2pmem_find_many()

PATCH In review Cai Huoqing 2 participants 2 messages Mar 29, 2023 – Apr 6, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 PCI/P2PDMA: Fix the comments on pci_p2pmem_find_many()

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

---
v2->v3:
Update commit log-pci_p2pmem_dma() method is not existed.

v2 link:
https://lore.kernel.org/lkml/[email protected]/

 drivers/pci/p2pdma.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/pci/p2pdma.c +1 -2
index 9e8205572830..6cd98ffca198 100644
@@ -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
  *
Signature · 1 line
2.34.1
#1 lore raw
Quoted 5 lines · Cai Huoqing

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

Applied with following subject/commit log to pci/p2pdma for v6.4, thanks!

PCI/P2PDMA: Fix pci_p2pmem_find_many() kernel-doc

Remove reference to pci_p2pmem_dma(), which has never existed.

Quoted 27 lines

---
v2->v3:
Update commit log-pci_p2pmem_dma() method is not existed.

v2 link:
https://lore.kernel.org/lkml/[email protected]/

 drivers/pci/p2pdma.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/pci/p2pdma.c +1 -2
index 9e8205572830..6cd98ffca198 100644
@@ -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
  *
Signature · 1 line
2.34.1