[IRLAN]: handle out of memory errors
commit719647e2131585ea0a82b05d3745b36be32975d8
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 7 Feb 2007 08:12:13 +0000 (7 00:12 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 8 Feb 2007 20:39:08 +0000 (8 12:39 -0800)
tree0f1670ed16de236e71d8e12803e7bdca5e3c569b
parentbb5aa42734e72b3f02fc0b3cdd6105083f9880f1
[IRLAN]: handle out of memory errors

This patch checks return values:

- irlmp_register_client()
- irlmp_register_service()
- irlan_open()

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/irlan/irlan_common.c