[AX.25]: Fix unchecked ax25_listen_register uses
authorRalf Baechle <ralf@linux-mips.org>
Thu, 14 Dec 2006 23:50:34 +0000 (15:50 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 18 Dec 2006 05:59:09 +0000 (21:59 -0800)
commit81dcd1690697efbdf8126e78fbbf7c76d359377f
treee4408697d6e40efed6f876b7bcd133fdc93c7eb5
parent8d5cf596d10d740b69b5f4bbdb54b85abf75810d
[AX.25]: Fix unchecked ax25_listen_register uses

Fix ax25_listen_register to return something that's a sane error code,
then all callers to use it.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ax25/ax25_iface.c
net/netrom/nr_dev.c
net/rose/af_rose.c