From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754991Ab0BAPzg (ORCPT ); Mon, 1 Feb 2010 10:55:36 -0500 Received: from rcsinet11.oracle.com ([148.87.113.123]:48060 "EHLO rcsinet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753157Ab0BAPze (ORCPT ); Mon, 1 Feb 2010 10:55:34 -0500 Date: Mon, 1 Feb 2010 07:54:53 -0800 From: Randy Dunlap To: Stephen Rothwell , David Airlie Cc: lkml , linux-next@vger.kernel.org, akpm Subject: [PATCH -next resend] ati_pcigart: fix printk format warning Message-Id: <20100201075453.ee715fad.randy.dunlap@oracle.com> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.6.0 (GTK+ 2.16.6; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Source-IP: acsmt355.oracle.com [141.146.40.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4B66F964.016E:SCFMA4539814,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch is still needed in linux-next 20100201. Begin forwarded message: Date: Sun, 17 Jan 2010 15:15:40 -0800 From: Randy Dunlap To: Stephen Rothwell , David Airlie Cc: linux-next@vger.kernel.org, LKML Subject: [PATCH -next] ati_pcigart: fix printk format warning From: Randy Dunlap Fix ati_pcigart printk format warning: drivers/gpu/drm/ati_pcigart.c:115: warning: format '%Lx' expects type 'long long unsigned int', but argument 3 has type 'dma_addr_t' Signed-off-by: Randy Dunlap --- drivers/gpu/drm/ati_pcigart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20100111.orig/drivers/gpu/drm/ati_pcigart.c +++ linux-next-20100111/drivers/gpu/drm/ati_pcigart.c @@ -113,7 +113,7 @@ int drm_ati_pcigart_init(struct drm_devi if (pci_set_dma_mask(dev->pdev, gart_info->table_mask)) { DRM_ERROR("fail to set dma mask to 0x%Lx\n", - gart_info->table_mask); + (unsigned long long)gart_info->table_mask); ret = 1; goto done; } --- ~Randy