From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH -next] ibm_rtl: fix printk format warning Date: Fri, 22 Oct 2010 16:18:47 -0700 Message-ID: <20101022161847.e70bf995.randy.dunlap@oracle.com> References: <20101022152350.fc79e2b9.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20101022152350.fc79e2b9.sfr@canb.auug.org.au> Sender: platform-driver-x86-owner@vger.kernel.org To: Stephen Rothwell , Keith Mannthey , Vernon Mauery , akpm Cc: linux-next@vger.kernel.org, LKML , platform-driver-x86@vger.kernel.org, Matthew Garrett List-Id: linux-next.vger.kernel.org From: Randy Dunlap 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 Cc: Keith Mannthey Cc: Vernon Mauery Cc: platform-driver-x86@vger.kernel.org Cc: Matthew Garrett --- 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);