diff options
author | Julia Lawall <julia.lawall@lip6.fr> | 2014-12-07 20:20:47 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-09 16:18:46 -0500 |
commit | eeb4e6d16672cf6ad1cc4c331a363560afe0d23a (patch) | |
tree | ee600b8cb6ec626de103387ab43e95b20f9e0f88 /drivers/isdn/hysdn | |
parent | bbc79751ac2445e7297cb9a9961e2d72aa1daf66 (diff) | |
download | talos-obmc-linux-eeb4e6d16672cf6ad1cc4c331a363560afe0d23a.tar.gz talos-obmc-linux-eeb4e6d16672cf6ad1cc4c331a363560afe0d23a.zip |
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/hysdn')
-rw-r--r-- | drivers/isdn/hysdn/hycapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hysdn/hycapi.c b/drivers/isdn/hysdn/hycapi.c index 00aad10507d8..93bae94314a6 100644 --- a/drivers/isdn/hysdn/hycapi.c +++ b/drivers/isdn/hysdn/hycapi.c @@ -501,7 +501,7 @@ static char *hycapi_procinfo(struct capi_ctr *ctrl) { hycapictrl_info *cinfo = (hycapictrl_info *)(ctrl->driverdata); #ifdef HYCAPI_PRINTFNAMES - printk(KERN_NOTICE "hycapi_proc_info\n"); + printk(KERN_NOTICE "%s\n", __func__); #endif if (!cinfo) return ""; |