summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/amd_iommu_v2.c
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2014-07-30 16:04:40 +0200
committerJoerg Roedel <jroedel@suse.de>2014-07-30 16:07:50 +0200
commitdaff2f9c9a43f4180255dab7fdf13c7b44cc6abb (patch)
tree8144c7049a88dd7508c51722df820fe8b508de43 /drivers/iommu/amd_iommu_v2.c
parentiommu/amd: Fix device_state reference counting (diff)
downloadlinux-daff2f9c9a43f4180255dab7fdf13c7b44cc6abb.tar.xz
linux-daff2f9c9a43f4180255dab7fdf13c7b44cc6abb.zip
iommu/amd: Fix 2 typos in comments
amd_iommu_pasid_bind -> amd_iommu_bind_pasid Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu_v2.c')
-rw-r--r--drivers/iommu/amd_iommu_v2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iommu/amd_iommu_v2.c b/drivers/iommu/amd_iommu_v2.c
index 2de13be17268..5f578e850fc5 100644
--- a/drivers/iommu/amd_iommu_v2.c
+++ b/drivers/iommu/amd_iommu_v2.c
@@ -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);
@@ -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);