From: Uri Shkolnik <urishk@yahoo.com>
To: LinuxML <linux-media@vger.kernel.org>
Subject: [PATCH] [0905_29] Siano: smscore - bug fix at get_device_mode
Date: Sun, 17 May 2009 02:02:46 -0700 (PDT) [thread overview]
Message-ID: <16292.18803.qm@web110815.mail.gq1.yahoo.com> (raw)
# HG changeset patch
# User Uri Shkolnik <uris@siano-ms.com>
# Date 1242332841 -10800
# Node ID 211989f20f803bc5a719c6fda4640888e379d6fc
# Parent 7e56c108996ef016c4b2117090e2577aea9ed56c
[0905_29] Siano: smscore - bug fix at get_device_mode
From: Uri Shkolnik <uris@siano-ms.com>
Fix bug that cause error log to echo also if success
Priority: normal
Signed-off-by: Uri Shkolnik <uris@siano-ms.com>
diff -r 7e56c108996e -r 211989f20f80 linux/drivers/media/dvb/siano/smscoreapi.c
--- a/linux/drivers/media/dvb/siano/smscoreapi.c Thu May 14 23:24:44 2009 +0300
+++ b/linux/drivers/media/dvb/siano/smscoreapi.c Thu May 14 23:27:21 2009 +0300
@@ -938,7 +938,7 @@ int smscore_set_device_mode(struct smsco
coredev->device_flags &= ~SMS_DEVICE_NOT_READY;
}
- if (rc != 0)
+ if (rc < 0)
sms_err("return error code %d.", rc);
return rc;
}
reply other threads:[~2009-05-17 9:02 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=16292.18803.qm@web110815.mail.gq1.yahoo.com \
--to=urishk@yahoo.com \
--cc=linux-media@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.