mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 19:41:54 +00:00
773fe724ab
ft1000dev->tx_urb and ft1000dev->rx_urb are not deallocated if something goes wrong in ft1000_probe(). Also there is no check for success of urb allocation. The patch fixes the both issues. By the way, there is no sense in GFP_ATOMIC for urb allocation here, so it is changed to GFP_KERNEL. 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> |
||
---|---|---|
.. | ||
ft1000-pcmcia | ||
ft1000-usb | ||
ft1000.h | ||
Kconfig | ||
Makefile | ||
TODO |