public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Vernon Mauery <vernux@us.ibm.com>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Keith Mannthey <kmannth@us.ibm.com>,
	linux-kernel@vger.kernel.org, Matthew Garrett <mjg@redhat.com>,
	platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH -resend] ibm_rtl: fix printk format warning
Date: Tue, 2 Nov 2010 13:20:15 -0700	[thread overview]
Message-ID: <20101102202015.GJ4850@lucy> (raw)
In-Reply-To: <20101102131742.313f7fbf.randy.dunlap@oracle.com>

On 02-Nov-2010 01:17 PM, Randy Dunlap wrote:
>From: Randy Dunlap <randy.dunlap@oracle.com>
>
>Fix printk format warning:
>
>drivers/platform/x86/ibm_rtl.c:305:warning: format '%#llx' expects type 'long long unsigned int', but argument 2 has type 'phys_addr_t'
>
>Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
>Cc: Keith Mannthey <kmannth@us.ibm.com>
>Cc: Vernon Mauery <vernux@us.ibm.com>
>Cc: platform-driver-x86@vger.kernel.org
>Cc: Matthew Garrett <mjg@redhat.com>

Acked-by: Vernon Mauery <vernux@us.ibm.com>

--Vernon

>---
> drivers/platform/x86/ibm_rtl.c |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>--- linux-next-20101022.orig/drivers/platform/x86/ibm_rtl.c
>+++ linux-next-20101022/drivers/platform/x86/ibm_rtl.c
>@@ -302,7 +302,7 @@ static int __init ibm_rtl_init(void) {
> 			RTL_DEBUG("rtl_cmd_width = %u, rtl_cmd_type = %u\n",
> 			      rtl_cmd_width, rtl_cmd_type);
> 			addr = ioread32(&rtl_table->cmd_port_address);
>-			RTL_DEBUG("addr = %#llx\n", addr);
>+			RTL_DEBUG("addr = %#llx\n", (unsigned long long)addr);
> 			plen = rtl_cmd_width/sizeof(char);
> 			rtl_cmd_addr = rtl_port_map(addr, plen);
> 			RTL_DEBUG("rtl_cmd_addr = %#llx\n", (u64)rtl_cmd_addr);
>

      reply	other threads:[~2010-11-02 20:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-02 20:08 [PATCH 0/2] ibm_rtl fixes Vernon Mauery
2010-11-02 20:08 ` [PATCH 1/2] ibm_rtl: Loosen the DMI criteria to all IBM machines Vernon Mauery
2010-11-24 16:51   ` Matthew Garrett
2010-11-02 20:08 ` [PATCH 2/2] ibm_rtl: _RTL_ is not available in UEFI mode Vernon Mauery
2010-11-02 20:12 ` [PATCH 0/2] ibm_rtl fixes Matthew Garrett
2010-11-02 20:17 ` [PATCH -resend] ibm_rtl: fix printk format warning Randy Dunlap
2010-11-02 20:20   ` Vernon Mauery [this message]

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=20101102202015.GJ4850@lucy \
    --to=vernux@us.ibm.com \
    --cc=kmannth@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjg@redhat.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=randy.dunlap@oracle.com \
    /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