RE: [PATCH 13/21] iommu: tegra: print dma_addr_t using %lld

2013-04-25 Thread Sethi Varun-B16395
> Cc: linux-kernel@vger.kernel.org; Arnd Bergmann; Sethi Varun-B16395; > Joerg Roedel > Subject: [PATCH 13/21] iommu: tegra: print dma_addr_t using %lld > > The code was recently changed to work for builds with a 64 bit > dma_addr_t, but the printk unconditionally uses a format s

[PATCH 13/21] iommu: tegra: print dma_addr_t using %lld

2013-04-25 Thread Arnd Bergmann
The code was recently changed to work for builds with a 64 bit dma_addr_t, but the printk unconditionally uses a format string for an "long" variable, which is always wrong as the dma_add_t is now either 'unsigned int' or 'unsigned long long' depending on configuration. The easiest solution is to