diff options
| author | Logan Gunthorpe <[email protected]> | 2021-06-10 10:06:08 -0600 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2021-06-10 18:01:41 -0500 |
| commit | 7e2faa1710c408712185bb6463eaa0ee4776350f (patch) | |
| tree | fc9785d7c11cf9832e64512c1376bad0bc4f5c53 /lib/mpi/mpiutil.c | |
| parent | cf201bfe8cdc9ba11c4f312945b908ed24c7b7b5 (diff) | |
PCI/P2PDMA: Refactor pci_p2pdma_map_type()
All callers of pci_p2pdma_map_type() have a struct dev_pgmap and a struct
device (of the client doing the DMA transfer). Thus move the conversion to
struct pci_devs for the provider and client into this function.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Logan Gunthorpe <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions