Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d6a5e4c authored by Julia Lawall's avatar Julia Lawall Committed by Greg Kroah-Hartman
Browse files

TTY: fix misspelling of current function in string



Replace the last argument of serial_paranoia_check by the actual function
name.

This was done using Coccinelle, including the use of Levenshtein distance,
as proposed by Rasmus Villemoes.

Signed-off-by: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5567c37d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -931,7 +931,7 @@ static void rs_send_xchar(struct tty_struct *tty, char ch)
	struct serial_state *info = tty->driver_data;
        unsigned long flags;

	if (serial_paranoia_check(info, tty->name, "rs_send_char"))
	if (serial_paranoia_check(info, tty->name, "rs_send_xchar"))
		return;

	info->x_char = ch;