Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752725Ab0KBUS1 (ORCPT ); Tue, 2 Nov 2010 16:18:27 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:62180 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751758Ab0KBUSZ (ORCPT ); Tue, 2 Nov 2010 16:18:25 -0400 Date: Tue, 2 Nov 2010 13:17:42 -0700 From: Randy Dunlap To: Vernon Mauery , Keith Mannthey Cc: linux-kernel@vger.kernel.org, Matthew Garrett , platform-driver-x86@vger.kernel.org Subject: [PATCH -resend] ibm_rtl: fix printk format warning Message-Id: <20101102131742.313f7fbf.randy.dunlap@oracle.com> In-Reply-To: <1288728491-2216-1-git-send-email-vernux@us.ibm.com> References: <1288728491-2216-1-git-send-email-vernux@us.ibm.com> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1323 Lines: 31 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); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/