* [PATCH 2.4.21-bk1] AGPGART module compile warning fix
@ 2003-07-05 18:42 Michael Buesch
0 siblings, 0 replies; only message in thread
From: Michael Buesch @ 2003-07-05 18:42 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: linux kernel mailing list
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi.
fixes "Warning: assignment from incompatible pointer type"
compiletime warning.
- --- drivers/char/agp/agpgart_be.c.orig 2003-06-13 20:52:36.000000000 +0200
+++ drivers/char/agp/agpgart_be.c 2003-07-05 20:39:10.000000000 +0200
@@ -577,7 +577,7 @@
for (page = virt_to_page(table); page <= virt_to_page(table_end); page++)
SetPageReserved(page);
- - agp_bridge.gatt_table_real = (unsigned long *) table;
+ agp_bridge.gatt_table_real = (u32*) table;
agp_gatt_table = (void *)table;
#ifdef CONFIG_X86
err = change_page_attr(virt_to_page(table), 1<<page_order, PAGE_KERNEL_NOCACHE);
- --
Regards Michael Buesch
http://www.8ung.at/tuxsoft
20:40:37 up 1:43, 3 users, load average: 0.04, 0.46, 0.80
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/BxwSoxoigfggmSgRAi2iAJwNsdRGaSwRhadCiwl1sMLbS7nGSwCgg0Gz
RVO5wKcLflF9Ivz9nJc2MqA=
=MM8W
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-05 19:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-05 18:42 [PATCH 2.4.21-bk1] AGPGART module compile warning fix Michael Buesch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox