瀏覽代碼

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>
Anna-Maria Gleixner 7 年之前
父節點
當前提交
29a0c41541
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      drivers/iommu/amd_iommu.c

+ 4 - 4
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,
 static int __attach_device(struct iommu_dev_data *dev_data,
 			   struct protection_domain *domain)
 			   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,
 static int attach_device(struct device *dev,
 			 struct protection_domain *domain)
 			 struct protection_domain *domain)