Skip to content

Commit

Permalink
iommu/amd: Fix grammar of comments
Browse files Browse the repository at this point in the history
Suggested-by: Gary R Hook <[email protected]>
Signed-off-by: Anna-Maria Gleixner <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
  • Loading branch information
anna-marialx authored and joergroedel committed May 15, 2018
1 parent e7f63ff commit 29a0c41
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/iommu/amd_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 29a0c41

Please sign in to comment.