Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3546
b: refs/heads/master
c: b6cbf3e
h: refs/heads/master
v: v3
  • Loading branch information
Ian Campbell authored and Dmitry Torokhov committed Jun 1, 2005
1 parent 1cfbb6f commit d66da38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c30b4c10d9cfe5506fd421304935d8836773c7e5
refs/heads/master: b6cbf3ef4f270c0dfe84b26649e4fc0c25bb0844
6 changes: 4 additions & 2 deletions trunk/drivers/input/misc/uinput.c
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,11 @@ static int uinput_alloc_device(struct file *file, const char __user *buffer, siz
/* check if absmin/absmax/absfuzz/absflat are filled as
* told in Documentation/input/input-programming.txt */
if (test_bit(EV_ABS, dev->evbit)) {
retval = uinput_validate_absbits(dev);
if (retval < 0)
int err = uinput_validate_absbits(dev);
if (err < 0) {
retval = err;
kfree(dev->name);
}
}

exit:
Expand Down

0 comments on commit d66da38

Please sign in to comment.