Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11948
b: refs/heads/master
c: 7972720
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Torokhov committed Oct 31, 2005
1 parent ad3ea65 commit 67fac9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e0be618d1e8ed0a1a94ee14025ec5e3022d2ec5b
refs/heads/master: 7972720aaa044d0bca40e2e1d4c176076a9f0e00
3 changes: 3 additions & 0 deletions trunk/drivers/input/evdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,9 @@ static long evdev_ioctl_compat(struct file *file, unsigned int cmd, unsigned lon
if (_IOC_NR(cmd) == _IOC_NR(EVIOCGSND(0)))
bit_to_user(dev->snd, SND_MAX);

if (_IOC_NR(cmd) == _IOC_NR(EVIOCGSW(0)))
bit_to_user(dev->sw, SW_MAX);

if (_IOC_NR(cmd) == _IOC_NR(EVIOCGNAME(0))) {
int len;
if (!dev->name) return -ENOENT;
Expand Down

0 comments on commit 67fac9e

Please sign in to comment.