From: Julia Lawall Date: Sun, 7 Dec 2014 19:20:48 +0000 (+0100) Subject: TTY: fix misspelling of current function in string X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1d6a5e4ce883be40c05dc4080d24fab0b432a9ec;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/amiserial.c b/drivers/tty/amiserial.c index d9f85f95eb2a..b2d760055952 100644 --- a/drivers/tty/amiserial.c +++ b/drivers/tty/amiserial.c @@ -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;