]> git.baikalelectronics.ru Git - kernel.git/commit
Input: serio - avoid negative serio device numbers
authorRichard Leitner <richard.leitner@skidata.com>
Wed, 8 Oct 2014 22:21:32 +0000 (15:21 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 9 Oct 2014 22:27:25 +0000 (15:27 -0700)
commit18a5a81a71a4cacae7966abf3a7562d3dc0f49f5
tree11aacc1dc06c5d2f3eff3cc812e777c5418938bd
parent86e3c603d5983d8043d901d81708c01d688b70ba
Input: serio - avoid negative serio device numbers

Fix the format string for serio 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/serio/serio.c