OSDN Git Service

vt: keyboard, clean up max_vals
authorJiri Slaby <jslaby@suse.cz>
Thu, 29 Oct 2020 11:32:10 +0000 (12:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Nov 2020 15:43:38 +0000 (16:43 +0100)
commite27979dace0438fabc0a8e882356d20f532eb1e3
tree28d7b5c60a3a37fc9ba72a366bb9a362403d769b
parentee49df4505347daa68d87e318503d2037154ee6a
vt: keyboard, clean up max_vals

Define one limit per line and index them by their index, so that it is
clear what is what.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20201029113222.32640-5-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/keyboard.c