mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vojtech Pavlik <vojtech@suse.cz>
To: Dmitry Torokhov <dtor_core@ameritech.net>
Cc: LKML <linux-kernel@vger.kernel.org>, Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] Input: evdev - allow querying EV_SW from compat_ioctl
Date: Tue, 18 Oct 2005 10:30:02 +0200	[thread overview]
Message-ID: <20051018083002.GB13969@ucw.cz> (raw)
In-Reply-To: <200510180151.47195.dtor_core@ameritech.net>

On Tue, Oct 18, 2005 at 01:51:46AM -0500, Dmitry Torokhov wrote:
> Input: evdev - allow querying EV_SW bits from compat_ioctl

Yup. Twas missing.

> 
> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
> ---
> 
>  drivers/input/evdev.c |    1 +
>  1 files changed, 1 insertion(+)
> 
> Index: work/drivers/input/evdev.c
> ===================================================================
> --- work.orig/drivers/input/evdev.c
> +++ work/drivers/input/evdev.c
> @@ -566,6 +566,7 @@ static long evdev_ioctl_compat(struct fi
>  						case EV_LED: bits = dev->ledbit; max = LED_MAX; break;
>  						case EV_SND: bits = dev->sndbit; max = SND_MAX; break;
>  						case EV_FF:  bits = dev->ffbit;  max = FF_MAX;  break;
> +						case EV_SW:  bits = dev->swbit;  max = SW_MAX;  break;
>  						default: return -EINVAL;
>  					}
>  					bit_to_user(bits, max);
> 

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR

      reply	other threads:[~2005-10-18  8:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-18  6:51 Dmitry Torokhov
2005-10-18  8:30 ` 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=20051018083002.GB13969@ucw.cz \
    --to=vojtech@suse.cz \
    --cc=akpm@osdl.org \
    --cc=dtor_core@ameritech.net \
    --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®