iommu/vt-d: Define counter explicitly as unsigned int
authorParav Pandit <parav@nvidia.com>
Thu, 10 Jun 2021 02:01:14 +0000 (10:01 +0800)
committerJoerg Roedel <jroedel@suse.de>
Thu, 10 Jun 2021 07:06:14 +0000 (09:06 +0200)
commit9739ba327c01e26f672661ea751132c29a54d3d9
treeb967b5885cbec964b920f513293497ad85188269
parentcee57d4fe74e82e784f6566bad3e3bb1ca51a211
iommu/vt-d: Define counter explicitly as unsigned int

Avoid below checkpatch warning.

WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
+       unsigned        iommu_refcnt[DMAR_UNITS_SUPPORTED];

Fixes: 29a27719abaa ("iommu/vt-d: Replace iommu_bmp with a refcount")
Signed-off-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20210530075053.264218-1-parav@nvidia.com
Link: https://lore.kernel.org/r/20210610020115.1637656-23-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
include/linux/intel-iommu.h