commit | 28c9fac09ab0147158db0baeec630407a5e9b892 | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Sat Oct 05 13:21:01 2019 +0200 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Wed Oct 09 11:08:03 2019 +0200 |
tree | ff7c75a59df16d882fa87db3f06c2e02c73305d3 | |
parent | 19ec6bb80290e496021488084944b77f03a87dd7 [diff] |
memstick: jmb38x_ms: Fix an error handling path in 'jmb38x_ms_probe()' 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>