diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2013-02-07 01:00:34 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-08 12:21:19 -0800 |
commit | d34138d057628211b1c835e13a64d0cc2423c969 (patch) | |
tree | df6748f0f35437ceb4e3d0fdd49e8f6db2957cb4 /drivers/char/snsc.c | |
parent | b95d788ac72b86515842a4eb92bb58a8da76a975 (diff) | |
download | kernel_goldelico_gta04-d34138d057628211b1c835e13a64d0cc2423c969.zip kernel_goldelico_gta04-d34138d057628211b1c835e13a64d0cc2423c969.tar.gz kernel_goldelico_gta04-d34138d057628211b1c835e13a64d0cc2423c969.tar.bz2 |
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>
Diffstat (limited to 'drivers/char/snsc.c')
0 files changed, 0 insertions, 0 deletions