]> Pileus Git - ~andy/linux/commit
iommu/tegra: Fix printk formats for dma_addr_t
authorVarun Sethi <Varun.Sethi@freescale.com>
Thu, 11 Apr 2013 03:49:44 +0000 (09:19 +0530)
committerJoerg Roedel <joro@8bytes.org>
Thu, 2 May 2013 10:09:42 +0000 (12:09 +0200)
commit72ca55dbae815745403364ad915d912e92da5b9a
treede263ee35615c9cf2655827ba60131090377aaa6
parentc1be5a5b1b355d40e6cf79cc979eb66dafa24ad1
iommu/tegra: Fix printk formats for dma_addr_t

Fix printk formats for dma_addr_t:

   drivers/iommu/tegra-smmu.c: In function 'smmu_iommu_iova_to_phys':
>> drivers/iommu/tegra-smmu.c:774:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'dma_addr_t' [-Wformat]
--
   drivers/iommu/tegra-gart.c: In function 'gart_iommu_iova_to_phys':
>> drivers/iommu/tegra-gart.c:298:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'dma_addr_t' [-Wformat]

Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/tegra-gart.c
drivers/iommu/tegra-smmu.c