projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
146a209
)
[AGPGART] Fix up warning in efficeon driver.
author
Dave Jones
<davej@redhat.com>
Sun, 6 Nov 2005 04:32:26 +0000
(20:32 -0800)
committer
Dave Jones
<davej@redhat.com>
Sun, 6 Nov 2005 04:32:26 +0000
(20:32 -0800)
efficeon-agp.c:222: warning: passing arg 1 of `virt_to_phys' makes pointer from integer without a cast
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/efficeon-agp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/agp/efficeon-agp.c
b/drivers/char/agp/efficeon-agp.c
index b64028abc1ff42315593bd8c34095fe0dc5d7b07..d41e0a62e32efe77017abf86570d2f4147b75e7b 100644
(file)
--- a/
drivers/char/agp/efficeon-agp.c
+++ b/
drivers/char/agp/efficeon-agp.c
@@
-219,7
+219,7
@@
static int efficeon_create_gatt_table(struct agp_bridge_data *bridge)
efficeon_private.l1_table[index] = page;
- value = virt_to_gart(page) | pati | present | index;
+ value = virt_to_gart(
(unsigned long *)
page) | pati | present | index;
pci_write_config_dword(agp_bridge->dev,
EFFICEON_ATTPAGE, value);