diff options
author | Anton Vasilyev <[email protected]> | 2017-08-01 16:25:59 +0300 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2017-10-12 15:37:19 +0200 |
commit | f403f85f5334fb169d5c00deac106f140b62d3c9 (patch) | |
tree | 15600778f839c182c1dfd8bd4fa37f7cf0ff2d5b /net/unix/sysctl_net_unix.c | |
parent | df47b246ed176b504b1d50ad63aa5a3bf7551f82 (diff) |
misc: ibmasm: Return error on error path
If ibmasm_event_buffer_init() or ibmasm_heartbeat_init() fails,
then ibmasm_init_one() release all resources and return 0 on error path.
The patch adds corresponding error for fails.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Anton Vasilyev <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions