Re: [PATCH] NFC: port100: fix leak of usb_device

2014-01-04 Thread Samuel Ortiz
Hi Alexey, On Sun, Jan 05, 2014 at 12:08:05AM +0400, Alexey Khoroshilov wrote: > port100_probe() calls usb_get_dev(), but there is no usb_put_dev() > in port100_disconnect(). The patch adds one. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshi

[PATCH] NFC: port100: fix leak of usb_device

2014-01-04 Thread Alexey Khoroshilov
port100_probe() calls usb_get_dev(), but there is no usb_put_dev() in port100_disconnect(). The patch adds one. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/nfc/port100.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/