summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/amd_iommu.c
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2018-04-09 22:07:20 +0200
committerJoerg Roedel <jroedel@suse.de>2018-05-03 16:30:28 +0200
commit130a2fdf0b9e2305fd4dfbf7e6fb58c31df0fe8e (patch)
tree742c4f6827eaf65253d97ec01cf469b0caa43391 /drivers/iommu/amd_iommu.c
parentiommu/tegra: gart: Add debugging facility (diff)
downloadlinux-130a2fdf0b9e2305fd4dfbf7e6fb58c31df0fe8e.tar.xz
linux-130a2fdf0b9e2305fd4dfbf7e6fb58c31df0fe8e.zip
iommu/tegra: gart: Fix gart_iommu_unmap()
It must return the number of unmapped bytes on success, returning 0 means that unmapping failed and in result only one page is unmapped. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu.c')
0 files changed, 0 insertions, 0 deletions