]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ieee1394: eth1394: fix error path in module_init
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 21 Apr 2007 09:36:26 +0000 (18:36 +0900)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 29 Apr 2007 22:00:32 +0000 (00:00 +0200)
commit809e905ce73eaa13972c2617959f8ec16e7d0d6f
tree7aa0bf419a76c0c80802c599f8506dc1ae17d9fc
parentfdc0092bfd68cedfb9929256957f64c2c2760b5c
ieee1394: eth1394: fix error path in module_init

This patch fixes some error handlings in eth1394:

- check return value of kmem_cache_create()
- cleanup resources if hpsb_register_protocol() fails

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (whitespace)
drivers/ieee1394/eth1394.c