tty: Reserve ldisc 29 for development purposes
authorMax Staudt <max@enpas.org>
Fri, 11 Feb 2022 14:10:36 +0000 (15:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Feb 2022 09:03:21 +0000 (10:03 +0100)
commitc2faf737abfb10f88f2d2612d573e9edc3c42c37
treed84d9511aeb808778b3e195983de97ef5fa21a39
parent9e8d5470325f25bed7d33f9faaae6d5e4f313650
tty: Reserve ldisc 29 for development purposes

It's handy to have an ldisc number free for out-of-tree testing. This
way, a new ldisc can be developed on any running system, without having
to recompile the kernel just to define a new number.

This is the highest number (and also the last one) available under the
old numbering scheme, so let's reserve it before it's too late.

From now on, every new ldisc upstreamed will have to increment NR_LDISCS
in lockstep with its addition to the table in tty.h.

Signed-off-by: Max Staudt <max@enpas.org>
Link: https://lore.kernel.org/r/20220211141036.6403-1-max@enpas.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/tty.h