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)
commit0224ec9e9f111b1c39ec00a10de4858061b4afea
tree11aacc1dc06c5d2f3eff3cc812e777c5418938bd
parentbf1d50fa74df0339c925aa7e2ff9de60a42c30be
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