mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-19 12:00:00 +00:00
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: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5567c37dea
commit
1d6a5e4ce8
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user