Skip to content

Commit 0095ab4

Browse files
l1kgregkh
authored andcommitted
vt: Correct comment documenting do_take_over_console()
Commit 3e795de ("[PATCH] VT binding: Add binding/unbinding support for the VT console") introduced a code comment claiming that "do_take_over_console is basically a register followed by unbind". However the function actually performs a register followed by *bind*. Signed-off-by: Lukas Wunner <[email protected]> Cc: Antonino A. Daplas <[email protected]> Link: https://lore.kernel.org/r/a500f005ba7013ca8165a6d42f59b2183d56114f.1578574427.git.lukas@wunner.de Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent c96e62c commit 0095ab4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/vt/vt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4095,7 +4095,7 @@ static void con_driver_unregister_callback(struct work_struct *ignored)
40954095
* when a driver wants to take over some existing consoles
40964096
* and become default driver for newly opened ones.
40974097
*
4098-
* do_take_over_console is basically a register followed by unbind
4098+
* do_take_over_console is basically a register followed by bind
40994099
*/
41004100
int do_take_over_console(const struct consw *csw, int first, int last, int deflt)
41014101
{

0 commit comments

Comments
 (0)