summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-ti-ssp.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2013-09-17 20:57:59 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2013-09-26 18:02:29 (GMT)
commite78641c19de7a3b77b5d840aff239c6648983099 (patch)
treeac06b89052d53014b0d6768641f9f4cd5904fa89 /drivers/spi/spi-ti-ssp.c
parent20e6e55aaaa6745fbc815845e2e5e20dc35d62e5 (diff)
downloadlinux-fsl-qoriq-e78641c19de7a3b77b5d840aff239c6648983099.tar.xz
p54usb: fix leak at failure path in p54u_load_firmware()
If request_firmware_nowait() fails in p54u_load_firmware(), p54u_load_firmware_cb is not called and no one decrements usb_dev refcnt. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/spi/spi-ti-ssp.c')
0 files changed, 0 insertions, 0 deletions