* [PATCH -next resend] ati_pcigart: fix printk format warning
@ 2010-02-01 15:54 Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2010-02-01 15:54 UTC (permalink / raw)
To: Stephen Rothwell, David Airlie; +Cc: lkml, linux-next, akpm
This patch is still needed in linux-next 20100201.
Begin forwarded message:
Date: Sun, 17 Jan 2010 15:15:40 -0800
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>, David Airlie <airlied@linux.ie>
Cc: linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH -next] ati_pcigart: fix printk format warning
From: Randy Dunlap <randy.dunlap@oracle.com>
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 <randy.dunlap@oracle.com>
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-01 15:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-01 15:54 [PATCH -next resend] ati_pcigart: fix printk format warning Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).