diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2019-10-05 13:21:01 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-29 09:22:45 +0100 |
commit | 80f59f36cb2caea3a5342c3361eb1782e7c24b23 (patch) | |
tree | 1c492c5d00cb1c8d9febfd4b0444fea5e5aa2422 /drivers/net/xen-netback/interface.c | |
parent | 21b3ad2f5726eddde4176b6240f5cc8081189cfe (diff) |
memstick: jmb38x_ms: Fix an error handling path in 'jmb38x_ms_probe()'
commit 28c9fac09ab0147158db0baeec630407a5e9b892 upstream.
If 'jmb38x_ms_count_slots()' returns 0, we must undo the previous
'pci_request_regions()' call.
Goto 'err_out_int' to fix it.
Fixes: 60fdd931d577 ("memstick: add support for JMicron jmb38x MemoryStick host controller")
Cc: stable@vger.kernel.org
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions