[PATCH 1/1] iommu/io-pgtable: use size_t return type for all foo_unmap
Joerg Roedel
joro at 8bytes.org
Tue Feb 13 10:33:30 PST 2018
On Mon, Feb 05, 2018 at 11:29:19PM +0530, Vivek Gautam wrote:
> Unmap returns a size_t all throughout the IOMMU framework.
> Make io-pgtable match this convention.
> Moreover, there isn't a need to have a signed int return type
> as we return 0 in case of failures.
>
> Signed-off-by: Vivek Gautam <vivek.gautam at codeaurora.org>
> ---
> drivers/iommu/io-pgtable-arm-v7s.c | 21 +++++++++++----------
> drivers/iommu/io-pgtable-arm.c | 24 ++++++++++++------------
> drivers/iommu/io-pgtable.h | 4 ++--
> 3 files changed, 25 insertions(+), 24 deletions(-)
Applied, thanks.
More information about the linux-arm-kernel
mailing list