]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/P2PDMA: Fix missing check for dma_virt_ops
authorLogan Gunthorpe <logang@deltatee.com>
Tue, 2 Jul 2019 17:35:44 +0000 (11:35 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 2 Jul 2019 23:35:15 +0000 (18:35 -0500)
commit1873d64465a25ef5fd765b4cedd25d7b4009cc9b
tree335141185d92d7c56eed6cff659ac883a75d6981
parentb48e0d7fe5b5eb1732dfe0b8057a6c721c42f2d4
PCI/P2PDMA: Fix missing check for dma_virt_ops

Drivers that use dma_virt_ops were meant to be rejected when testing
compatibility for P2PDMA.

This check got inadvertently dropped in one of the later versions of the
original patchset, so add it back.

Fixes: f71bbfeb3601 ("PCI/P2PDMA: Support peer-to-peer memory")
Link: https://lore.kernel.org/r/20190702173544.21950-1-logang@deltatee.com
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/p2pdma.c