Re: [PATCH] net/wanrouter/wanmain.c: check kmalloc() return value.

From: David Miller
Date: Fri Mar 09 2007 - 02:31:48 EST


From: Amit Choudhary <amit2030@xxxxxxxxx>
Date: Thu, 8 Mar 2007 23:26:54 -0800

> Description: Check the return value of kmalloc() in function dbg_kmalloc(), in file net/wanrouter/wanmain.c.
>
> Signed-off-by: Amit Choudhary <amit2030@xxxxxxxxx>

There is no reason for any subsystem to implement it's
own debugging allocator when we have one that works
perfectly fine already in SLAB.

So to fix this we should simply remove all of the
allocation debugging code here.
-
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/