]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/P2PDMA: Use correct calc_map_type_and_dist() return type
authorLogan Gunthorpe <logang@deltatee.com>
Thu, 10 Jun 2021 16:06:06 +0000 (10:06 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 10 Jun 2021 23:01:41 +0000 (18:01 -0500)
commitc9b3b922b3456a90e837ea6fb4f39935fa0e6e51
tree228cc5cc6829f40736b2033bf3bd01589b58f5ac
parent262d621af875cc3c3c926164d58560de2df02cd3
PCI/P2PDMA: Use correct calc_map_type_and_dist() return type

Instead of using an int for the return value of this function, use the
correct enum pci_p2pdma_map_type.

Link: https://lore.kernel.org/r/20210610160609.28447-4-logang@deltatee.com
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/p2pdma.c