Re: [PATCH] gpio: gpio-pl061: Use %pa to print 'resource_size_t'

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

 



On Wed, Feb 26, 2014 at 7:12 PM, Fabio Estevam <festevam@xxxxxxxxx> wrote:

> From: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
>
> The following build warning is generated when building multi_v7_defconfig with
> LPAE option selected:
>
> drivers/gpio/gpio-pl061.c:358:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'resource_size_t' [-Wformat=]
>
> Fix it by using %pa to print 'resource_size_t'.
>
> Reported-by: Olof's autobuilder <build@xxxxxxxxx>

I love this guy.

> Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>

Patch applied.

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




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux