Messages in this thread | | | Date | Thu, 18 Jun 2020 00:12:06 -0700 | From | Christoph Hellwig <> | Subject | Re: [PATCH v3 01/13] iommu: Change type of pasid to unsigned int |
| |
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)?
| |