diff options
author | Anton Vasilyev | 2017-08-01 15:25:59 +0200 |
---|---|---|
committer | Jiri Kosina | 2017-10-12 15:37:19 +0200 |
commit | f403f85f5334fb169d5c00deac106f140b62d3c9 (patch) | |
tree | 15600778f839c182c1dfd8bd4fa37f7cf0ff2d5b /init/Kconfig | |
parent | HID: logitech-hidpp: fix mistake in printk, "feeback" -> "feedback" (diff) | |
download | kernel-qcow2-linux-f403f85f5334fb169d5c00deac106f140b62d3c9.tar.gz kernel-qcow2-linux-f403f85f5334fb169d5c00deac106f140b62d3c9.tar.xz kernel-qcow2-linux-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