projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06960a1
)
mmc: vub300: add missing usb_put_dev
author
Marina Makienko
<makienko@ispras.ru>
Tue, 27 Nov 2012 06:46:57 +0000
(10:46 +0400)
committer
Chris Ball
<cjb@laptop.org>
Thu, 6 Dec 2012 18:55:03 +0000
(13:55 -0500)
Add missing usb_put_dev on failure path in vub300_probe().
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Marina Makienko <makienko@ispras.ru>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/vub300.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/vub300.c
b/drivers/mmc/host/vub300.c
index d5655a63eda4909f647185621cfe8837c380398d..cb9f361c03ab2d6f45edcb261b3907bb5bcdb7ec 100644
(file)
--- 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;
}