Re: [AX.25 5/7] Fix unchecked ax25_linkfail_register uses

2006-12-14 Thread David Miller
From: Ralf Baechle <[EMAIL PROTECTED]> Date: Thu, 14 Dec 2006 23:42:11 +0100 > ax25_linkfail_register uses kmalloc and the callers were ignoring the > error value. Rewrite to let the caller deal with the allocation. This > allows the use of static allocation of kmalloc use entirely. > > Signed-

[AX.25 5/7] Fix unchecked ax25_linkfail_register uses

2006-12-14 Thread Ralf Baechle
ax25_linkfail_register uses kmalloc and the callers were ignoring the error value. Rewrite to let the caller deal with the allocation. This allows the use of static allocation of kmalloc use entirely. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> include/net/ax25.h | 10 +++- net/a