Skip to content

Commit

Permalink
iommu/amd: Fix 2 typos in comments
Browse files Browse the repository at this point in the history
amd_iommu_pasid_bind -> amd_iommu_bind_pasid

Signed-off-by: Joerg Roedel <jroedel@suse.de>
  • Loading branch information
Joerg Roedel committed Jul 30, 2014
1 parent 75058a3 commit daff2f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/iommu/amd_iommu_v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ static void free_pasid_states(struct device_state *dev_state)
mmu_notifier_unregister(&pasid_state->mn, pasid_state->mm);

put_pasid_state_wait(pasid_state); /* Reference taken in
amd_iommu_pasid_bind */
amd_iommu_bind_pasid */

/* Drop reference taken in amd_iommu_bind_pasid */
put_device_state(dev_state);
Expand Down Expand Up @@ -749,7 +749,7 @@ void amd_iommu_unbind_pasid(struct pci_dev *pdev, int pasid)
mmu_notifier_unregister(&pasid_state->mn, pasid_state->mm);

put_pasid_state_wait(pasid_state); /* Reference taken in
amd_iommu_pasid_bind */
amd_iommu_bind_pasid */
out:
/* Drop reference taken in this function */
put_device_state(dev_state);
Expand Down

0 comments on commit daff2f9

Please sign in to comment.