X86 platform drivers
 help / color / mirror / Atom feed
* [PATCH -next] ibm_rtl: fix printk format warning
       [not found] <20101022152350.fc79e2b9.sfr@canb.auug.org.au>
@ 2010-10-22 23:18 ` Randy Dunlap
  2010-11-24 16:48   ` Matthew Garrett
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2010-10-22 23:18 UTC (permalink / raw)
  To: Stephen Rothwell, Keith Mannthey, Vernon Mauery, akpm
  Cc: linux-next, LKML, platform-driver-x86, Matthew Garrett

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>
---
 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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] ibm_rtl: fix printk format warning
  2010-10-22 23:18 ` [PATCH -next] ibm_rtl: fix printk format warning Randy Dunlap
@ 2010-11-24 16:48   ` Matthew Garrett
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Garrett @ 2010-11-24 16:48 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Stephen Rothwell, Keith Mannthey, Vernon Mauery, akpm, linux-next,
	LKML, platform-driver-x86

Applied, thanks.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-24 16:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20101022152350.fc79e2b9.sfr@canb.auug.org.au>
2010-10-22 23:18 ` [PATCH -next] ibm_rtl: fix printk format warning Randy Dunlap
2010-11-24 16:48   ` Matthew Garrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox