aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/amd_iommu.c
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2018-03-29 12:24:52 +0100
committerJoerg Roedel <jroedel@suse.de>2018-03-29 15:19:10 +0200
commit7868805969942a424118b7da5233946e53ce69be (patch)
tree853ed7cdbd3ed4b9bcd2764d710c63ea7b92adc3 /drivers/iommu/amd_iommu.c
parentMerge branch 'for-joerg/arm-smmu/updates' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into arm/smmu (diff)
downloadlinux-dev-7868805969942a424118b7da5233946e53ce69be.tar.xz
linux-dev-7868805969942a424118b7da5233946e53ce69be.zip
iommu/io-pgtable-arm: Avoid warning with 32-bit phys_addr_t
It's not entirely unreasonable for io-pgtable-arm to be built for configurations with 32-bit phys_addr_t, where the compiler rightly raises a warning about the 36-bit shift. That particular code path should never actually *run* on those systems, but we still want it to compile cleanly, which is easily done by using an unambiguous u64 as the intermediate type instead. Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu.c')
0 files changed, 0 insertions, 0 deletions