From: Sylwester Nawrocki <s.nawrocki@samsung.com>
To: Thomas Jarosch <thomas.jarosch@intra2net.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>,
linux-media@vger.kernel.org,
"HeungJun Kim/Mobile S/W Platform Lab(DMC)/E3"
<riverful.kim@samsung.com>
Subject: Re: [PATCH resent] Fix logic in sanity check
Date: Fri, 04 Nov 2011 10:16:56 +0100 [thread overview]
Message-ID: <4EB3AD88.1090702@samsung.com> (raw)
In-Reply-To: <4E99FD60.5090606@intra2net.com>
Hi Thomas,
On 10/15/2011 11:38 PM, Thomas Jarosch wrote:
> Detected by "cppcheck".
>
> This time with "Signed-off-by" line.
>
> Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
> ---
> drivers/media/video/m5mols/m5mols_core.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/media/video/m5mols/m5mols_core.c b/drivers/media/video/m5mols/m5mols_core.c
> index fb8e4a7..e485e9e 100644
> --- a/drivers/media/video/m5mols/m5mols_core.c
> +++ b/drivers/media/video/m5mols/m5mols_core.c
> @@ -333,7 +333,7 @@ int m5mols_mode(struct m5mols_info *info, u8 mode)
> int ret = -EINVAL;
> u8 reg;
>
> - if (mode < REG_PARAMETER && mode > REG_CAPTURE)
> + if (mode < REG_PARAMETER || mode > REG_CAPTURE)
> return ret;
>
> ret = m5mols_read_u8(sd, SYSTEM_SYSMODE, ®);
--
Regards,
Sylwester
next prev parent reply other threads:[~2011-11-04 9:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-15 21:38 [PATCH resent] Fix logic in sanity check Thomas Jarosch
2011-11-04 9:16 ` Sylwester Nawrocki [this message]
2011-11-20 17:26 ` Sylwester Nawrocki
2011-11-29 12:26 ` Thomas Jarosch
2011-11-29 16:56 ` Sylwester Nawrocki
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=4EB3AD88.1090702@samsung.com \
--to=s.nawrocki@samsung.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@infradead.org \
--cc=riverful.kim@samsung.com \
--cc=thomas.jarosch@intra2net.com \
/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