projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e5b2af
)
ati_pcigart: fix printk format warning
author
Randy Dunlap
<
[email protected]
>
Tue, 2 Feb 2010 22:40:33 +0000
(14:40 -0800)
committer
Dave Airlie
<
[email protected]
>
Fri, 5 Feb 2010 01:46:48 +0000
(11:46 +1000)
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 <
[email protected]
>
Cc: Zhenyu Wang <
[email protected]
>
Cc: Dave Airlie <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Dave Airlie <
[email protected]
>
drivers/gpu/drm/ati_pcigart.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/ati_pcigart.c
b/drivers/gpu/drm/ati_pcigart.c
index a1fce68e3bbe65aded6adf7bb05f3c465b3e5d92..17be051b7aa3109c4aef78b320823da2eecb5fc8 100644
(file)
--- a/
drivers/gpu/drm/ati_pcigart.c
+++ b/
drivers/gpu/drm/ati_pcigart.c
@@
-113,7
+113,7
@@
int drm_ati_pcigart_init(struct drm_device *dev, struct drm_ati_pcigart_info *ga
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;
}