--- mempool.c.org Fri Feb 22 12:00:58 2002
+++ mempool.c Fri Feb 22 12:01:13 2002
@@ -35,7 +35,7 @@
int i;
pool = kmalloc(sizeof(*pool), GFP_KERNEL);
- if (!pool)
+ if (!pool || !alloc_fn || !free_fn)
return NULL;
memset(pool, 0, sizeof(*pool));
Enjoy,
Balbir
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
-
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/