diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-01-30 21:55:55 (GMT) |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-02-03 17:53:27 (GMT) |
commit | a4188beee59763b3507939968677776561adbba5 (patch) | |
tree | 1050db4e7ed8898fa6b23fd9e0ee01834201377e /drivers/iommu/Makefile | |
parent | 16753322983bcca0eca6d81f20d23277df0d6cf7 (diff) | |
download | linux-a4188beee59763b3507939968677776561adbba5.tar.xz |
iommu/arm-smmu: Avoid build warning
ARM allmodconfig gained a new warning when dma_addr_t is 32-bit wide:
drivers/iommu/arm-smmu.c: In function 'arm_smmu_iova_to_phys_hard':
drivers/iommu/arm-smmu.c:1255:3: warning: right shift count >= width of type
This changes the calculation so that the effective type is always
64-bit.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 859a732e4f713 ("iommu/arm-smmu: add support for iova_to_phys through ATS1PR")
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/Makefile')
0 files changed, 0 insertions, 0 deletions