Re: [PATCH v5 01/12] iommu: Change type of pasid to u32

From: Fenghua Yu
Date: Thu Jul 02 2020 - 15:34:38 EST


Hi, Felix, Thomas, Joerg and maintainers,

On Tue, Jun 30, 2020 at 10:12:38PM -0400, Felix Kuehling wrote:
> Am 2020-06-30 um 7:44 p.m. schrieb Fenghua Yu:
> You didn't change the return types of amdgpu_pasid_alloc and
> kfd_pasid_alloc. amdgpu_pasid_alloc returns int, because it can return
> negative error codes. But kfd_pasid_alloc could be updated, because it
> returns 0 for errors.

I fixed return type as "u32" for kfd_pasid_alloc().

The fix is minor and only limited in patch 1. So instead of sending the
whole series, I only send the updated patch 1 here. If you want me to
send the whole series with the fix, I can do that too.

Thanks.

-Fenghua