Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

TTY: fix misspelling of current function in string

Replace a misspelled function name by %s and then __func__.

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>

authored by

Julia Lawall and committed by
Greg Kroah-Hartman
e5f50fbe 1d6a5e4c

+2 -2
+2 -2
drivers/tty/rocket.c
··· 1390 1390 tty->ldisc.chars_in_buffer(tty)); 1391 1391 #endif 1392 1392 1393 - if (rocket_paranoia_check(info, "rp_throttle")) 1393 + if (rocket_paranoia_check(info, "rp_unthrottle")) 1394 1394 return; 1395 1395 1396 1396 if (I_IXOFF(tty)) ··· 1458 1458 1459 1459 orig_jiffies = jiffies; 1460 1460 #ifdef ROCKET_DEBUG_WAIT_UNTIL_SENT 1461 - printk(KERN_INFO "In RP_wait_until_sent(%d) (jiff=%lu)...\n", timeout, 1461 + printk(KERN_INFO "In %s(%d) (jiff=%lu)...\n", __func__, timeout, 1462 1462 jiffies); 1463 1463 printk(KERN_INFO "cps=%d...\n", info->cps); 1464 1464 #endif