提交 063f96c2 编写于 作者: M Marina Makienko 提交者: Chris Ball

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: NMarina Makienko <makienko@ispras.ru>
Signed-off-by: NChris Ball <cjb@laptop.org>
上级 06960a1b
......@@ -2362,6 +2362,7 @@ static int vub300_probe(struct usb_interface *interface,
error1:
usb_free_urb(command_out_urb);
error0:
usb_put_dev(udev);
return retval;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册