summaryrefslogtreecommitdiff
path: root/drivers/isdn/hisax/hfc_sx.c
diff options
context:
space:
mode:
authorJulia Lawall <julia.lawall@lip6.fr>2014-12-07 22:20:47 +0300
committerDavid S. Miller <davem@davemloft.net>2014-12-10 00:18:46 +0300
commiteeb4e6d16672cf6ad1cc4c331a363560afe0d23a (patch)
treeee600b8cb6ec626de103387ab43e95b20f9e0f88 /drivers/isdn/hisax/hfc_sx.c
parentbbc79751ac2445e7297cb9a9961e2d72aa1daf66 (diff)
downloadlinux-eeb4e6d16672cf6ad1cc4c331a363560afe0d23a.tar.xz
isdn: fix misspelling of current function in string
Replace a misspelled function name by %s and then __func__. In the first case, the print is just dropped, because kmalloc itself does enough error reporting. 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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hisax/hfc_sx.c')
-rw-r--r--drivers/isdn/hisax/hfc_sx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/isdn/hisax/hfc_sx.c b/drivers/isdn/hisax/hfc_sx.c
index fa1fefd711cd..b1fad81f0722 100644
--- a/drivers/isdn/hisax/hfc_sx.c
+++ b/drivers/isdn/hisax/hfc_sx.c
@@ -1159,7 +1159,8 @@ hfcsx_l2l1(struct PStack *st, int pr, void *arg)
case (PH_PULL | INDICATION):
spin_lock_irqsave(&bcs->cs->lock, flags);
if (bcs->tx_skb) {
- printk(KERN_WARNING "hfc_l2l1: this shouldn't happen\n");
+ printk(KERN_WARNING "%s: this shouldn't happen\n",
+ __func__);
} else {
// test_and_set_bit(BC_FLG_BUSY, &bcs->Flag);
bcs->tx_skb = skb;