diff options
author | Fenghua Yu <[email protected]> | 2020-09-15 09:30:05 -0700 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-09-17 19:21:16 +0200 |
commit | c7b6bac9c72c5fcbd6e9e12545bd3022c7f21860 (patch) | |
tree | dd187df25c58ff75768a40b51b42422d949b233a /lib/pm-notifier-error-inject.c | |
parent | 856deb866d16e29bd65952e0289066f6078af773 (diff) |
drm, iommu: Change type of pasid to u32
PASID is defined as a few different types in iommu including "int",
"u32", and "unsigned int". To be consistent and to match with uapi
definitions, define PASID and its variations (e.g. max PASID) as "u32".
"u32" is also shorter and a little more explicit than "unsigned int".
No PASID type change in uapi although it defines PASID as __u64 in
some places.
Suggested-by: Thomas Gleixner <[email protected]>
Signed-off-by: Fenghua Yu <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Tony Luck <[email protected]>
Reviewed-by: Lu Baolu <[email protected]>
Acked-by: Felix Kuehling <[email protected]>
Acked-by: Joerg Roedel <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions