linux/drivers/iommu
Joerg Roedel 05df1f3c2a iommu/msm: Fix error handling in msm_iommu_unmap()
Error handling in msm_iommu_unmap() is broken. On some error
conditions retval is set to a non-zero value which causes
the function to return 'len' at the end. This hides the
error from the user. Zero should be returned in those error
cases.

Cc: David Brown <davidb@codeaurora.org>
Cc: Stepan Moskovchenko <stepanm@codeaurora.org>
Cc: stable@vger.kernel.org # >= 3.1
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Acked-by: David Brown <davidb@codeaurora.org>
2012-01-30 12:53:14 +01:00
..
amd_iommu_init.c iommu/amd: Set IOTLB invalidation timeout 2011-12-22 14:56:56 +01:00
amd_iommu_proto.h iommu/amd: Add function to get IOMMUv2 domain for pdev 2011-12-12 15:19:05 +01:00
amd_iommu_types.h iommu/amd: Set IOTLB invalidation timeout 2011-12-22 14:56:56 +01:00
amd_iommu_v2.c iommu/amd: Add invalidate-context call-back 2011-12-15 11:15:39 +01:00
amd_iommu.c iommu/amd: Work around broken IVRS tables 2012-01-23 14:05:23 +01:00
dmar.c
intel-iommu.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu 2012-01-10 11:08:21 -08:00
intr_remapping.c intr_remapping: Fix section mismatch in ir_dev_scope_init() 2011-12-05 18:22:53 +01:00
intr_remapping.h
iommu.c Merge branches 'iommu/page-sizes' and 'iommu/group-id' into next 2012-01-09 13:06:28 +01:00
iova.c
Kconfig iommu/amd: Implement notifiers for IOMMUv2 2011-12-14 12:09:17 +01:00
Makefile iommu/amd: Add driver stub for AMD IOMMUv2 support 2011-12-12 15:19:07 +01:00
msm_iommu_dev.c
msm_iommu.c iommu/msm: Fix error handling in msm_iommu_unmap() 2012-01-30 12:53:14 +01:00
omap-iommu-debug.c
omap-iommu.c Merge branches 'iommu/fixes', 'arm/omap' and 'x86/amd' into next 2012-01-09 13:04:05 +01:00
omap-iovmm.c Merge branches 'iommu/fixes', 'arm/omap' and 'x86/amd' into next 2012-01-09 13:04:05 +01:00