[PATCH] 1: 2.5.30-partitions

From: Russell King (rmk@arm.linux.org.uk)
Date: Sun Aug 04 2002 - 14:14:42 EST


This patch has been verified to apply cleanly to 2.5.30

This patch prevents the following build warning:

check.c: In function `check_partition':
check.c:356: warning: implicit declaration of function `kmalloc'
check.c:356: warning: assignment makes pointer from integer without a cast

 fs/partitions/check.c | 1 +
 1 files changed, 1 insertion

--- orig/fs/partitions/check.c Fri Aug 2 21:13:36 2002
+++ linux/fs/partitions/check.c Sun Aug 4 13:08:42 2002
@@ -18,6 +18,7 @@
 #include <linux/blk.h>
 #include <linux/buffer_head.h> /* for invalidate_bdev() */
 #include <linux/kmod.h>
+#include <linux/slab.h>
 
 #include "check.h"
 
-
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/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:25 EST