]> git.baikalelectronics.ru Git - kernel.git/commit
Input: avoid negative input device numbers
authorRichard Leitner <richard.leitner@skidata.com>
Wed, 8 Oct 2014 21:24:15 +0000 (14:24 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 9 Oct 2014 22:27:24 +0000 (15:27 -0700)
commitb711b4f808c12b96e492d379bfddc775c974ff70
tree400ccefae0b821b6eb77bde90e9b094176e29546
parent45f333e785aca9a5d6ff2741883af37e37057470
Input: avoid negative input device numbers

Fix the format string for input device name generation to avoid negative
device numbers when the id exceeds the maximum signed integer value.

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input.c