From: Roel Kluin <roel.kluin@gmail.com>
To: Roel Kluin <roel.kluin@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>,
Bill Pemberton <wfp5p@virginia.edu>,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] addi-data: Cleanup redundant tests on unsigned
Date: Fri, 23 Oct 2009 16:14:09 +0200 [thread overview]
Message-ID: <4AE1BA31.4050000@gmail.com> (raw)
In-Reply-To: <4AE184D1.4030006@gmail.com>
Op 23-10-09 12:26, Roel Kluin schreef:
> The variables are unsigned so the test `>= 0' is always true,
> In these cases the other part of the test catch wrapped values.
>
> Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
> ---
I forgot the stats:
.../comedi/drivers/addi-data/APCI1710_Chrono.c | 3 +--
.../comedi/drivers/addi-data/hwdrv_apci1032.c | 2 +-
.../comedi/drivers/addi-data/hwdrv_apci1500.c | 2 +-
.../comedi/drivers/addi-data/hwdrv_apci1516.c | 2 +-
.../comedi/drivers/addi-data/hwdrv_apci1564.c | 2 +-
.../comedi/drivers/addi-data/hwdrv_apci2016.c | 4 ++--
.../comedi/drivers/addi-data/hwdrv_apci2200.c | 2 +-
.../comedi/drivers/addi-data/hwdrv_apci3120.c | 5 ++---
.../comedi/drivers/addi-data/hwdrv_apci3200.c | 2 +-
.../comedi/drivers/addi-data/hwdrv_apci3xxx.c | 2 +-
10 files changed, 12 insertions(+), 14 deletions(-)
prev parent reply other threads:[~2009-10-23 14:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-23 10:26 [PATCH] addi-data: Cleanup redundant tests on unsigned Roel Kluin
2009-10-23 14:14 ` 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=4AE1BA31.4050000@gmail.com \
--to=roel.kluin@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=wfp5p@virginia.edu \
/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