diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-12-14 18:51:23 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-18 00:59:11 -0500 |
commit | a4282717c102aef2bfab1d947c392de4d8abc0ec (patch) | |
tree | ef178b6eea8cd9a8790ae58a6c19ff2aa877bcc1 /net/rose/rose_dev.c | |
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>
Diffstat (limited to 'net/rose/rose_dev.c')
0 files changed, 0 insertions, 0 deletions