git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26cdb1a
)
Input: uinput - fix setting up device name
author
David Herrmann
<dh.herrmann@googlemail.com>
Fri, 11 Feb 2011 09:10:44 +0000
(
01:10
-0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Mon, 21 Feb 2011 09:02:28 +0000
(
01:02
-0800)
The check for non-empty device name was botched since we tried to account
for extra space for the terminating zero at the same time. Convert to
kstrndup() to avoid this problem.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Acked-by: Aristeu Rozanski <aris@ruivo.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
No differences found