[PATCH 2.4.21-bk1] AGPGART module compile warning fix

Michael Buesch (fsdeveloper@yahoo.de)
Sat, 5 Jul 2003 20:42:25 +0200


-----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-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/