Re: [PATCH RESEND] watchdog: orion_wdt: Use %pa to print 'phys_addr_t'

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

 



Fabio,

Thanks for the resend.

On Tue, Feb 25, 2014 at 01:17:33PM -0300, Fabio Estevam wrote:
> When building an ARM multi_v7_defconfig with LPAE option selected we get the
> following build warning:
> 
> drivers/watchdog/orion_wdt.c:272:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'phys_addr_t' [-Wformat=]
> 
> Fix it by using %pa to print 'phys_addr_t'.
> 
> Reported-by: Olof's autobuilder <build@xxxxxxxxx>
> Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> Acked-by: Ezequiel Garcia <ezequiel.garcia@xxxxxxxxxxxxxxxxxx>
> Acked-by: Wim Van Sebroeck <wim@xxxxxxxxx>
> Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
> ---
>  drivers/watchdog/orion_wdt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to mvebu/watchdog.

thx,

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux