kernel-fxtec-pro1x/drivers/memstick/host
Christophe JAILLET 5f19cbb3ab 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: 60fdd931d5 ("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>
2019-10-29 09:20:07 +01:00
..
jmb38x_ms.c memstick: jmb38x_ms: Fix an error handling path in 'jmb38x_ms_probe()' 2019-10-29 09:20:07 +01:00
Kconfig misc: rtsx: Move Realtek Card Reader Driver to misc 2017-11-29 10:16:44 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
r592.c drivers/memstick: Convert timers to use timer_setup() 2017-11-02 15:50:50 -07:00
r592.h Fix common misspellings 2011-03-31 11:26:23 -03:00
rtsx_pci_ms.c misc: rtsx: Move Realtek Card Reader Driver to misc 2017-11-29 10:16:44 +00:00
rtsx_usb_ms.c misc: rtsx: Move Realtek Card Reader Driver to misc 2017-11-29 10:16:44 +00:00
tifm_ms.c drivers/memstick: Convert timers to use timer_setup() 2017-11-02 15:50:50 -07:00