[PATCH 0/2] iommu / vfio: Clean up iommu_map[_fast] interface
From: Suravee Suthikulpanit
Date: Tue Jan 30 2018 - 20:48:44 EST
Change iommu_unmap[_fast] interfaces return type to ssize_t since
it can also return error code.
Cc: Joerg Roedel <joro@xxxxxxxxxx>
Cc: Alex Williamson <alex.williamson@xxxxxxxxxx>
Suravee Suthikulpanit (2):
iommu: Fix iommu_unmap and iommu_unmap_fast return type
vfio/type1: Add iommu_unmap error check when vfio_unmap_unpin
drivers/iommu/amd_iommu.c | 6 +++---
drivers/iommu/intel-iommu.c | 4 ++--
drivers/iommu/iommu.c | 16 ++++++++--------
drivers/vfio/vfio_iommu_type1.c | 5 +++--
include/linux/iommu.h | 20 ++++++++++----------
5 files changed, 26 insertions(+), 25 deletions(-)
--
1.8.3.1