a34c72b348
Error handling code in gdm_usb_probe() deallocates all resources, but calls usb_get_dev(usbdev) and returns error code after that. The patch fixes it and, by the way, several other issues: - no need to use GFP_ATOMIC in probe(); - return -ENODEV instead of -1; - kmalloc+memset -> kzalloc 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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
TODO | ||
gdm_endian.c | ||
gdm_endian.h | ||
gdm_lte.c | ||
gdm_lte.h | ||
gdm_mux.c | ||
gdm_mux.h | ||
gdm_tty.c | ||
gdm_tty.h | ||
gdm_usb.c | ||
gdm_usb.h | ||
hci.h | ||
hci_packet.h | ||
netlink_k.c | ||
netlink_k.h |