summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorAnna-Maria Gleixner <anna-maria@linutronix.de>2018-05-07 08:53:26 -0400
committerJoerg Roedel <jroedel@suse.de>2018-05-15 10:36:43 -0400
commit29a0c41541baa88a10d08db3b737e7e8a470cb0e (patch)
treec137ae0e97b0b3d29c40a798b1c5d2460b0c6a4f /drivers/iommu
parente7f63ffc1bf19c607a1ad7b89c1389004ee6e9c4 (diff)
iommu/amd: Fix grammar of comments
Suggested-by: Gary R Hook <gary.hook@amd.com> Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/amd_iommu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c
index 5fef2466da15..ec5faf6db570 100644
--- a/drivers/iommu/amd_iommu.c
+++ b/drivers/iommu/amd_iommu.c
@@ -1943,8 +1943,8 @@ static void do_detach(struct iommu_dev_data *dev_data)
1943} 1943}
1944 1944
1945/* 1945/*
1946 * If a device is not yet associated with a domain, this function does 1946 * If a device is not yet associated with a domain, this function makes the
1947 * assigns it visible for the hardware 1947 * device visible in the domain
1948 */ 1948 */
1949static int __attach_device(struct iommu_dev_data *dev_data, 1949static int __attach_device(struct iommu_dev_data *dev_data,
1950 struct protection_domain *domain) 1950 struct protection_domain *domain)
@@ -2065,8 +2065,8 @@ static bool pci_pri_tlp_required(struct pci_dev *pdev)
2065} 2065}
2066 2066
2067/* 2067/*
2068 * If a device is not yet associated with a domain, this function 2068 * If a device is not yet associated with a domain, this function makes the
2069 * assigns it visible for the hardware 2069 * device visible in the domain
2070 */ 2070 */
2071static int attach_device(struct device *dev, 2071static int attach_device(struct device *dev,
2072 struct protection_domain *domain) 2072 struct protection_domain *domain)