Re: [PATCH] IPv6: Cleanups for net/ipv6/addrconf.c (kzalloc, early exit) v2

2006-03-16 Thread David S. Miller
From: Ingo Oeser [EMAIL PROTECTED] Date: Fri, 10 Mar 2006 23:34:26 +0100 Here are some possible (and trivial) cleanups. - use kzalloc() where possible - invert allocation failure test like if (object) { /* Rest of function here */ } to if (object == NULL) return

Re: [PATCH] IPv6: Cleanups for net/ipv6/addrconf.c (kzalloc, early exit) v2

2006-03-10 Thread David S. Miller
From: YOSHIFUJI Hideaki [EMAIL PROTECTED] Date: Sun, 12 Feb 2006 02:11:03 +0900 (JST) In article [EMAIL PROTECTED] (at Sat, 11 Feb 2006 17:37:18 +0100), Ingo Oeser [EMAIL PROTECTED] says: From: Ingo Oeser [EMAIL PROTECTED] Here are some possible (and trivial) cleanups. - use

Re: [PATCH] IPv6: Cleanups for net/ipv6/addrconf.c (kzalloc, early exit) v2

2006-03-10 Thread Ingo Oeser
From: Ingo Oeser [EMAIL PROTECTED] Here are some possible (and trivial) cleanups. - use kzalloc() where possible - invert allocation failure test like if (object) { /* Rest of function here */ } to if (object == NULL) return NULL; /* Rest of function here */