aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAnna-Maria Gleixner <anna-maria@linutronix.de>2018-05-07 14:53:26 +0200
committerJoerg Roedel <jroedel@suse.de>2018-05-15 16:36:43 +0200
commit29a0c41541baa88a10d08db3b737e7e8a470cb0e (patch)
treec137ae0e97b0b3d29c40a798b1c5d2460b0c6a4f /drivers
parentiommu/amd: Update logging information for new event type (diff)
downloadlinux-dev-29a0c41541baa88a10d08db3b737e7e8a470cb0e.tar.xz
linux-dev-29a0c41541baa88a10d08db3b737e7e8a470cb0e.zip
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')
-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)
}
/*
- * If a device is not yet associated with a domain, this function does
- * assigns it visible for the hardware
+ * If a device is not yet associated with a domain, this function makes the
+ * device visible in the domain
*/
static int __attach_device(struct iommu_dev_data *dev_data,
struct protection_domain *domain)
@@ -2065,8 +2065,8 @@ static bool pci_pri_tlp_required(struct pci_dev *pdev)
}
/*
- * If a device is not yet associated with a domain, this function
- * assigns it visible for the hardware
+ * If a device is not yet associated with a domain, this function makes the
+ * device visible in the domain
*/
static int attach_device(struct device *dev,
struct protection_domain *domain)