linux/drivers/input/serio/serio.c
Richard Leitner 9ff7521db5 Input: serio - avoid negative serio device numbers
commit 0224ec9e9f upstream.

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>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
2014-12-01 15:49:23 +00:00

1058 lines
24 KiB