提交 1d6a5e4c 编写于 作者: J Julia Lawall 提交者: Greg Kroah-Hartman

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: NJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 5567c37d
...@@ -931,7 +931,7 @@ static void rs_send_xchar(struct tty_struct *tty, char ch) ...@@ -931,7 +931,7 @@ static void rs_send_xchar(struct tty_struct *tty, char ch)
struct serial_state *info = tty->driver_data; struct serial_state *info = tty->driver_data;
unsigned long flags; unsigned long flags;
if (serial_paranoia_check(info, tty->name, "rs_send_char")) if (serial_paranoia_check(info, tty->name, "rs_send_xchar"))
return; return;
info->x_char = ch; info->x_char = ch;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册