linux/drivers/char/pcmcia
Alexey Khoroshilov d34138d057 pcmcia: synclink_cs: fix error handling in mgslpc_probe()
mgslpc_probe() ignores errors in mgslpc_add_device() and
does not release all resource if mgslpc_config() failed.

The patch adds returned code to mgslpc_add_device()
and fixes the both issues.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-08 12:21:19 -08:00
..
cm4000_cs.c pcmcia: Convert pcmcia_device_id declarations to const 2011-05-06 07:46:22 +02:00
cm4040_cs.c pcmcia: Convert pcmcia_device_id declarations to const 2011-05-06 07:46:22 +02:00
cm4040_cs.h [PATCH] New Omnikey Cardman 4040 driver 2005-11-13 18:14:10 -08:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile tty: forgot to remove ipwireless from drivers/char/pcmcia/Makefile 2011-02-25 09:53:41 -08:00
synclink_cs.c pcmcia: synclink_cs: fix error handling in mgslpc_probe() 2013-02-08 12:21:19 -08:00