From: Andries Brouwer <aebr@win.tue.nl>
To: Remi Colinet <remi.colinet@wanadoo.fr>
Cc: Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.0-test5 : Bug in include/linux/input.h ?
Date: Tue, 16 Sep 2003 22:25:22 +0200 [thread overview]
Message-ID: <20030916222522.A1650@pclin040.win.tue.nl> (raw)
In-Reply-To: <3F6767AE.4090907@wanadoo.fr>; from remi.colinet@wanadoo.fr on Tue, Sep 16, 2003 at 09:42:38PM +0200
On Tue, Sep 16, 2003 at 09:42:38PM +0200, Remi Colinet wrote:
> While reading the input code, I found the following error in
> drivers/linux/input.h :
>
> #define INPUT_KEYCODE(dev, scancode) ((dev->keycodesize == 1) ?
> ((u8*)dev->keycode)[scancode] : \
> - ((dev->keycodesize == 1) ? ((u16*)dev->keycode)[scancode] :
> (((u32*)dev->keycode)[scancode])))
> + ((dev->keycodesize == 2) ? ((u16*)dev->keycode)[scancode] :
> (((u32*)dev->keycode)[scancode])))
Yes.
(But we only use 1 if I am not mistaken, so no kernel behaviour changes.)
prev parent reply other threads:[~2003-09-16 20:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-16 19:42 Remi Colinet
2003-09-16 20:25 ` Andries Brouwer [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=20030916222522.A1650@pclin040.win.tue.nl \
--to=aebr@win.tue.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=remi.colinet@wanadoo.fr \
/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®