Linux Watchdog driver development
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Fabio Estevam <fabio.estevam@freescale.com>, wim@iguana.be
Cc: olof@lixom.net, festevam@gmail.com, linux-watchdog@vger.kernel.org
Subject: Re: [PATCH] watchdog: orion_wdt: Use %pa to print 'phys_addr_t'
Date: Tue, 18 Feb 2014 08:32:19 -0800	[thread overview]
Message-ID: <53038B13.2000709@roeck-us.net> (raw)
In-Reply-To: <1392726234-16977-1-git-send-email-fabio.estevam@freescale.com>

On 02/18/2014 04:23 AM, 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@lixom.net>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>


  reply	other threads:[~2014-02-18 16:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-18 12:23 [PATCH] watchdog: orion_wdt: Use %pa to print 'phys_addr_t' Fabio Estevam
2014-02-18 16:32 ` Guenter Roeck [this message]
2014-02-18 17:47 ` Ezequiel Garcia
2014-02-19 16:59 ` Wim Van Sebroeck
2014-02-19 18:54   ` Ezequiel Garcia
2014-02-24 20:10     ` Wim Van Sebroeck
2014-02-24 20:33 ` Wim Van Sebroeck
2014-02-25 15:09   ` Ezequiel Garcia
2014-02-25 16:07     ` Jason Cooper
2014-02-25 16:10     ` Jason Cooper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53038B13.2000709@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=fabio.estevam@freescale.com \
    --cc=festevam@gmail.com \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=olof@lixom.net \
    --cc=wim@iguana.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox