diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2013-02-07 04:00:34 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-09 00:21:19 +0400 |
commit | d34138d057628211b1c835e13a64d0cc2423c969 (patch) | |
tree | df6748f0f35437ceb4e3d0fdd49e8f6db2957cb4 /drivers/scsi/aic7xxx/aic7770.c | |
parent | b95d788ac72b86515842a4eb92bb58a8da76a975 (diff) | |
download | linux-d34138d057628211b1c835e13a64d0cc2423c969.tar.xz |
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/scsi/aic7xxx/aic7770.c')
0 files changed, 0 insertions, 0 deletions