aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/snsc.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2013-02-07 01:00:34 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-08 12:21:19 -0800
commitd34138d057628211b1c835e13a64d0cc2423c969 (patch)
treedf6748f0f35437ceb4e3d0fdd49e8f6db2957cb4 /drivers/char/snsc.c
parentb95d788ac72b86515842a4eb92bb58a8da76a975 (diff)
downloadkernel_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