From: Arnd Bergmann Date: Fri, 30 Jan 2015 21:55:55 +0000 (+0100) Subject: iommu/arm-smmu: Avoid build warning X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~107^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4188beee59763b3507939968677776561adbba5;p=pandora-kernel.git 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 Fixes: 859a732e4f713 ("iommu/arm-smmu: add support for iova_to_phys through ATS1PR") Acked-by: Will Deacon Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed