Star64_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
dot_command.c
dot_command.h
event.c misc: ibmasm: Return error on error path 2017-10-12 15:37:19 +02:00
heartbeat.c
i2o.h
ibmasm.h
ibmasmfs.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
lowlevel.c
lowlevel.h
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
remote.h
uart.c