diff options
author | Anton Vasilyev <vasilyev@ispras.ru> | 2017-08-01 16:25:59 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-10-12 15:37:19 +0200 |
commit | f403f85f5334fb169d5c00deac106f140b62d3c9 (patch) | |
tree | 15600778f839c182c1dfd8bd4fa37f7cf0ff2d5b /init/Kconfig | |
parent | df47b246ed176b504b1d50ad63aa5a3bf7551f82 (diff) | |
download | lwn-f403f85f5334fb169d5c00deac106f140b62d3c9.tar.gz lwn-f403f85f5334fb169d5c00deac106f140b62d3c9.zip |
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 <vasilyev@ispras.ru>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'init/Kconfig')
0 files changed, 0 insertions, 0 deletions