Message ID | 20250304035447.3138221-2-adamsimonelli@gmail.com |
---|---|
State | New |
Headers | show |
Series | Optionally allow ttynull to be selected as a default console | expand |
On Tue, Mar 4, 2025 at 5:55 AM <adamsimonelli@gmail.com> wrote: > > From: Adam Simonelli <adamsimonelli@gmail.com> In general we do not accept empty commit messages (yes, it was done in the past and in some exceptional cases, but should be taken as a very bad practice). Should it also have Suggested-by: ? > Signed-off-by: Adam Simonelli <adamsimonelli@gmail.com>
diff --git a/drivers/tty/ttynull.c b/drivers/tty/ttynull.c index 6b2f7208b564..d8b51edde628 100644 --- a/drivers/tty/ttynull.c +++ b/drivers/tty/ttynull.c @@ -57,6 +57,7 @@ static struct tty_driver *ttynull_device(struct console *c, int *index) static struct console ttynull_console = { .name = "ttynull", .device = ttynull_device, + .index = -1, }; static int __init ttynull_init(void)