]> 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)
commit6cb9db786287870ab2cdd1576edb0913bdef8e9c
tree335141185d92d7c56eed6cff659ac883a75d6981
parent49250288820449e26abffc1305ba221bd05ce90d
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: 6e1cfc68d918 ("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