From: Alexey Klimov <klimov.linux@gmail.com>
To: Laurent Pinchart <laurent.pinchart@skynet.be>,
Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: linux-media@vger.kernel.org, Hans Verkuil <hverkuil@xs4all.nl>
Subject: [patch review] uvc_driver: fix compile warning
Date: Mon, 20 Apr 2009 00:03:09 +0400 [thread overview]
Message-ID: <1240171389.12537.3.camel@tux.localhost> (raw)
Hello, all
I saw warnings in v4l-dvb daily build.
May this patch be helpful?
Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
--
diff -r cda79523a93c linux/drivers/media/video/uvc/uvc_driver.c
--- a/linux/drivers/media/video/uvc/uvc_driver.c Thu Apr 16 18:30:38 2009 +0200
+++ b/linux/drivers/media/video/uvc/uvc_driver.c Sun Apr 19 23:58:02 2009 +0400
@@ -1726,7 +1726,7 @@
static int __uvc_resume(struct usb_interface *intf, int reset)
{
struct uvc_device *dev = usb_get_intfdata(intf);
- int ret;
+ int ret = 0;
uvc_trace(UVC_TRACE_SUSPEND, "Resuming interface %u\n",
intf->cur_altsetting->desc.bInterfaceNumber);
--
Best regards, Klimov Alexey
next reply other threads:[~2009-04-19 20:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-19 20:03 Alexey Klimov [this message]
2009-04-20 17:25 ` [patch review] uvc_driver: fix compile warning Laurent Pinchart
2009-04-20 17:50 ` Mauro Carvalho Chehab
2009-04-20 20:12 ` Laurent Pinchart
2009-04-20 20:47 ` Mauro Carvalho Chehab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1240171389.12537.3.camel@tux.localhost \
--to=klimov.linux@gmail.com \
--cc=hverkuil@xs4all.nl \
--cc=laurent.pinchart@skynet.be \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox