From: "Németh Márton" <nm127@freemail.hu>
To: Jean-Francois Moine <moinejf@free.fr>,
V4L Mailing List <linux-media@vger.kernel.org>
Subject: [PATCH] gspca pac7302: handle return values in sd_start()
Date: Sun, 08 Nov 2009 06:54:21 +0100 [thread overview]
Message-ID: <4AF65D0D.4090707@freemail.hu> (raw)
From: Márton Németh <nm127@freemail.hu>
Add some missing return value evaluations.
Signed-off-by: Márton Németh <nm127@freemail.hu>
---
diff -upr a/linux/drivers/media/video/gspca/pac7302.c b/linux/drivers/media/video/gspca/pac7302.c
--- a/linux/drivers/media/video/gspca/pac7302.c 2009-11-08 05:33:10.000000000 +0100
+++ b/linux/drivers/media/video/gspca/pac7302.c 2009-11-08 06:35:16.000000000 +0100
@@ -886,11 +886,11 @@ static int sd_start(struct gspca_dev *gs
if (0 <= ret)
ret = setbluebalance(gspca_dev);
if (0 <= ret)
- setgain(gspca_dev);
+ ret = setgain(gspca_dev);
if (0 <= ret)
- setexposure(gspca_dev);
+ ret = setexposure(gspca_dev);
if (0 <= ret)
- sethvflip(gspca_dev);
+ ret = sethvflip(gspca_dev);
if (0 <= ret)
ret = setedgedetect(gspca_dev);
if (0 <= ret)
reply other threads:[~2009-11-08 5:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4AF65D0D.4090707@freemail.hu \
--to=nm127@freemail.hu \
--cc=linux-media@vger.kernel.org \
--cc=moinejf@free.fr \
/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