summaryrefslogtreecommitdiffstats
path: root/drivers/tty/amiserial.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2014-12-07 20:20:48 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-09 14:38:15 -0800
commit1d6a5e4ce883be40c05dc4080d24fab0b432a9ec (patch)
tree24a5cd12fd30c5ee05128965f288c63d6d1a079c /drivers/tty/amiserial.c
parent5567c37dea5e3146c26a691451925218bd484c01 (diff)
downloadop-kernel-dev-1d6a5e4ce883be40c05dc4080d24fab0b432a9ec.zip
op-kernel-dev-1d6a5e4ce883be40c05dc4080d24fab0b432a9ec.tar.gz
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>
Diffstat (limited to 'drivers/tty/amiserial.c')
-rw-r--r--drivers/tty/amiserial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/amiserial.c b/drivers/tty/amiserial.c
index d9f85f9..b2d7600 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;
OpenPOWER on IntegriCloud