Skip to content
Commit 809e905c authored by Akinobu Mita's avatar Akinobu Mita Committed by Stefan Richter
Browse files

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: default avatarAkinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (whitespace)
parent fdc0092b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment