From: Marina Makienko Date: Tue, 27 Nov 2012 06:46:57 +0000 (+0400) Subject: mmc: vub300: add missing usb_put_dev X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=063f96c2230052356d8653381912e618a8ae951c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mmc: vub300: add missing usb_put_dev Add missing usb_put_dev on failure path in vub300_probe(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/host/vub300.c b/drivers/mmc/host/vub300.c index d5655a63eda4..cb9f361c03ab 100644 --- a/drivers/mmc/host/vub300.c +++ b/drivers/mmc/host/vub300.c @@ -2362,6 +2362,7 @@ error4: error1: usb_free_urb(command_out_urb); error0: + usb_put_dev(udev); return retval; }