commit | a4282717c102aef2bfab1d947c392de4d8abc0ec | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Thu Dec 14 15:51:23 2006 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Sun Dec 17 21:59:11 2006 -0800 |
tree | ef178b6eea8cd9a8790ae58a6c19ff2aa877bcc1 | |
parent | 58bc57471514be9206ebcda90b1076f6be41d1c7 [diff] |
[AX.25]: Fix unchecked ax25_linkfail_register uses 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 <ralf@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>