diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2020-05-19 09:34:23 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-05-25 13:54:32 +0200 |
commit | bfe6240dfe4f16c20db94bc7c0ab9ffa316fb926 (patch) | |
tree | 7820ecb707a836addd017902d1e2bdadaade8484 /drivers/slimbus | |
parent | e70b081c6f376471d7a9fee69e12e8f05ac2925d (diff) |
iommu/vt-d: Fix pointer cast warnings on 32 bit
Pointers should be casted to unsigned long to avoid "cast from pointer
to integer of different size" warnings.
drivers/iommu/intel-pasid.c:818:6: warning:
cast from pointer to integer of different size [-Wpointer-to-int-cast]
drivers/iommu/intel-pasid.c:821:9: warning:
cast from pointer to integer of different size [-Wpointer-to-int-cast]
drivers/iommu/intel-pasid.c:824:23: warning:
cast from pointer to integer of different size [-Wpointer-to-int-cast]
drivers/iommu/intel-svm.c:343:45: warning:
cast to pointer from integer of different size [-Wint-to-pointer-cast]
Fixes: b0d1f8741b81 ("iommu/vt-d: Add nested translation helper function")
Fixes: 56722a4398a3 ("iommu/vt-d: Add bind guest PASID support")
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20200519013423.11971-1-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/slimbus')
0 files changed, 0 insertions, 0 deletions