lkml.org 
[lkml]   [2018]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] iommu/io-pgtable: use size_t return type for all foo_unmap
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@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.

\
 
 \ /
  Last update: 2018-02-13 19:34    [W:0.056 / U:0.032 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site