projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7207d8f
)
iommu/vt-d: Remove to_pci_dev() in intel_map_page()
author
David Woodhouse
<David.Woodhouse@intel.com>
Tue, 11 Mar 2014 03:01:21 +0000
(20:01 -0700)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 24 Mar 2014 14:08:07 +0000
(14:08 +0000)
It might not be...
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/iommu/intel-iommu.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/intel-iommu.c
b/drivers/iommu/intel-iommu.c
index 37ce54b188f3d04d151c82298f04a327a66fd12a..0a8e166a57b0286824f97fd1eae960ae901f02d4 100644
(file)
--- a/
drivers/iommu/intel-iommu.c
+++ b/
drivers/iommu/intel-iommu.c
@@
-3023,7
+3023,7
@@
static dma_addr_t intel_map_page(struct device *dev, struct page *page,
struct dma_attrs *attrs)
{
return __intel_map_single(dev, page_to_phys(page) + offset, size,
- dir,
to_pci_dev(dev)
->dma_mask);
+ dir,
*dev
->dma_mask);
}
static void flush_unmaps(void)