[PATCH] sparse annotations for page_alloc

From: davej
Date: Mon Aug 11 2003 - 12:04:42 EST


Again, more work to do here..

diff -urpN --exclude-from=/home/davej/.exclude bk-linus/mm/page_alloc.c linux-2.5/mm/page_alloc.c
--- bk-linus/mm/page_alloc.c 2003-08-07 21:57:58.000000000 +0100
+++ linux-2.5/mm/page_alloc.c 2003-08-07 22:20:17.000000000 +0100
@@ -1610,7 +1610,7 @@ void setup_per_zone_pages_min(void)
* changes.
*/
int min_free_kbytes_sysctl_handler(ctl_table *table, int write,
- struct file *file, void *buffer, size_t *length)
+ struct file *file, void __user *buffer, size_t *length)
{
proc_dointvec(table, write, file, buffer, length);
setup_per_zone_pages_min();
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/