[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101102202015.GJ4850@lucy>
Date: Tue, 2 Nov 2010 13:20:15 -0700
From: Vernon Mauery <vernux@...ibm.com>
To: Randy Dunlap <randy.dunlap@...cle.com>
Cc: Keith Mannthey <kmannth@...ibm.com>, linux-kernel@...r.kernel.org,
Matthew Garrett <mjg@...hat.com>,
platform-driver-x86@...r.kernel.org
Subject: Re: [PATCH -resend] ibm_rtl: fix printk format warning
On 02-Nov-2010 01:17 PM, Randy Dunlap wrote:
>From: Randy Dunlap <randy.dunlap@...cle.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@...cle.com>
>Cc: Keith Mannthey <kmannth@...ibm.com>
>Cc: Vernon Mauery <vernux@...ibm.com>
>Cc: platform-driver-x86@...r.kernel.org
>Cc: Matthew Garrett <mjg@...hat.com>
Acked-by: Vernon Mauery <vernux@...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);
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists