[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4AE1B928.9020001@gmail.com>
Date: Fri, 23 Oct 2009 16:09:44 +0200
From: Roel Kluin <roel.kluin@...il.com>
To: Roel Kluin <roel.kluin@...il.com>
CC: Mauro Carvalho Chehab <mchehab@...radead.org>,
linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] v4l: Cleanup redundant tests on unsigned
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@...il.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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists