Re: [PATCH v3 01/13] iommu: Change type of pasid to unsigned int

From: Christoph Hellwig
Date: Thu Jun 18 2020 - 03:12:22 EST


On Wed, Jun 17, 2020 at 11:23:41AM -0700, Fenghua Yu wrote:
> PASID is defined as a few different types in iommu including "int",
> "u32", and "unsigned int". To be consistent and to match with ioasid's
> type, define PASID and its variations (e.g. max PASID) as "unsigned int".

Wouldn't u32 be a little more explicit (besides being shorter and
matching the uapi definitions)?