Re: [PATCH] iommu/tegra: Print phys_addr_t using %pa

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 17, 2013 at 1:19 AM, Thierry Reding
<thierry.reding@xxxxxxxxx> wrote:
> When enabling LPAE on ARM, phys_addr_t becomes 64 bits wide and printing
> a variable of that type using a simple %x format specifier causes the
> compiler to complain. Change the format specifier to %pa, which is used
> specifically for variables of type phys_addr_t.
>
> Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>

Acked-by: Olof Johansson <olof@xxxxxxxxx>

> Olof has been sending patches to fix up similar issues, but I couldn't
> find one that fixes these warnings. If Olof sent a patch for this and I
> missed it, please ignore.

Nope, I hadn't seen these ones since I was only looking at
multi_v7_defconfig at the time, and these are only enabled with
tegra_defconfig at the moment.


-Olof
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux