mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vojtech Pavlik <vojtech@suse.de>
To: Jesper Juhl <juhl-lkml@dif.dk>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	Johan Myreen <jem@iki.fi>, Andrew Morton <akm@osdl.org>
Subject: Re: [PATCH] remove pointless <0 comparisons for unsigned vars, and avoid a few signed vs unsigned comparisons in drivers/char/keyboard.c
Date: Sun, 6 Feb 2005 20:47:53 +0100	[thread overview]
Message-ID: <20050206194753.GF23126@ucw.cz> (raw)
In-Reply-To: <Pine.LNX.4.61.0411220008030.3423@dragon.hygekrogen.localhost>

On Mon, Nov 22, 2004 at 12:21:55AM +0100, Jesper Juhl wrote:
> 
> Hi,
> 
> Sorry about the possibly irrelevant CC list, but I couldn't find a 
> maintainer for drivers/char/keyboard.c listed anywhere, so I ended up 
> sending to lkml and CC'ing a few people who has worked on the file, and 
> akpm as a fallback person due to his 2.6 maintainer role.
> 
> Here's a patch that removes a few pointless comparisons; "scancode" is 
> unsigned so it can never be <0 which makes the test pointless.
> Also, there are a few instances where signed and unsigned variables are 
> comared, and as far as I can tell they really should just all be unsigned.
> 
> Comments welcome (I must confess that I've only compile tested this so 
> far).
> 
> Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
 
Looks sane: Applied.

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR

      parent reply	other threads:[~2005-02-06 19:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-21 23:21 Jesper Juhl
2004-11-21 23:44 ` Jesper Juhl
2005-02-06 19:47 ` Vojtech Pavlik [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=20050206194753.GF23126@ucw.cz \
    --to=vojtech@suse.de \
    --cc=akm@osdl.org \
    --cc=jem@iki.fi \
    --cc=juhl-lkml@dif.dk \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®