linux/drivers/misc/ibmasm
Anton Vasilyev f403f85f53 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>
2017-10-12 15:37:19 +02:00
..
command.c misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
dot_command.c misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
dot_command.h misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
event.c misc: ibmasm: Return error on error path 2017-10-12 15:37:19 +02:00
heartbeat.c misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
i2o.h misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
ibmasm.h misc: ibmasm: Replace timeval with timespec64 2016-02-11 20:06:46 -08:00
ibmasmfs.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
lowlevel.c misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
lowlevel.h misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
Makefile
module.c misc: ibmasm: Return error on error path 2017-10-12 15:37:19 +02:00
r_heartbeat.c sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
remote.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
remote.h misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
uart.c 8250: three way resolve of the 8250 diffs 2012-07-17 09:11:50 -07:00