public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Roel Kluin <roel.kluin@gmail.com>
To: Roel Kluin <roel.kluin@gmail.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] v4l: Cleanup redundant tests on unsigned
Date: Fri, 23 Oct 2009 16:09:44 +0200	[thread overview]
Message-ID: <4AE1B928.9020001@gmail.com> (raw)
In-Reply-To: <4AE18C9E.9090409@gmail.com>

Op 23-10-09 12:59, Roel Kluin schreef:
> The variables are unsigned so the test `>= 0' is always true,
> the `< 0' test always fails. In these cases the other part of
> the test catches wrapped values.
> 
> Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
> ---

I forgot the stats:

 drivers/media/common/tuners/tda9887.c           |    2 +-
 drivers/media/dvb/siano/smscoreapi.c            |    2 +-
 drivers/media/video/bt819.c                     |    2 +-
 drivers/media/video/hexium_gemini.c             |    2 +-
 drivers/media/video/hexium_orion.c              |    2 +-
 drivers/media/video/mxb.c                       |    2 +-
 drivers/media/video/s2255drv.c                  |    2 +-
 drivers/media/video/saa7110.c                   |    2 +-
 drivers/media/video/saa717x.c                   |    2 +-
 drivers/media/video/tuner-core.c                |    2 +-
 drivers/media/video/usbvision/usbvision-video.c |    2 +-
 drivers/media/video/vpx3220.c                   |    2 +-
 drivers/media/video/zoran/zoran_driver.c        |    2 +-
 13 files changed, 13 insertions(+), 13 deletions(-)


      reply	other threads:[~2009-10-23 13:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23 10:59 [PATCH] v4l: Cleanup redundant tests on unsigned Roel Kluin
2009-10-23 14:09 ` Roel Kluin [this message]

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=4AE1B928.9020001@gmail.com \
    --to=roel.kluin@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --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