Skip to contentSkip to conversation

iommu: Fix comment for iommu_ops.map_sg

PATCH Applied Jean-Philippe Brucker 2 participants 2 messages Sep 26, 2017 – Sep 27, 2017 1 message not in the archive IOMMU

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iommu: Fix comment for iommu_ops.map_sg

The definition of map_sg was split during a recent addition to iommu_ops. Put it back together.

Fixes add02cfdc9bc ("iommu: Introduce Interface for IOMMU TLB Flushing")
---
 include/linux/iommu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/iommu.h +1 -1
index 7d9546930713..4a7cc4ee9641 100644
@@ -270,11 +270,11 @@ struct iommu_resv_region {
  * @map: map a physically contiguous memory region to an iommu domain
  * @unmap: unmap a physically contiguous memory region from an iommu domain
  * @map_sg: map a scatter-gather list of physically contiguous memory chunks
+ *          to an iommu domain
  * @flush_tlb_all: Synchronously flush all hardware TLBs for this domain
  * @tlb_range_add: Add a given iova range to the flush queue for this domain
  * @tlb_sync: Flush all queued ranges from the hardware TLBs and empty flush
  *            queue
- * to an iommu domain
  * @iova_to_phys: translate iova to physical address
  * @add_device: add device to iommu grouping
  * @remove_device: remove device from iommu grouping
Signature · 1 line
2.13.3

A message that is not in the archive (sent off-list or not yet received): 20170926183252.24842-1-jean-philippe.brucker-5wv7dgnIgG8@public.gmane.org

Applied
#2 lore raw
Quoted 8 lines · Jean-Philippe Brucker

The definition of map_sg was split during a recent addition to iommu_ops. Put it back together.

Fixes add02cfdc9bc ("iommu: Introduce Interface for IOMMU TLB Flushing")
---
 include/linux/iommu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to iommu/fixes, thanks.