summaryrefslogtreecommitdiff
path: root/drivers/vme/vme.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2014-12-07 19:20:53 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-12 13:04:12 (GMT)
commitc1038307c4586403b4d393300e6e2f4a5673e722 (patch)
treefb1a8d3afb7bc395710b2e81f3e73b35a7a89305 /drivers/vme/vme.c
parentc076860dd86d48460562d1c2a724914b64709da8 (diff)
downloadlinux-c1038307c4586403b4d393300e6e2f4a5673e722.tar.xz
vme: fix misspelling of current function in string
Replace a misspelled function name by %s and then __func__. This is the get function, not the set function, as was indicated by the string. 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/vme/vme.c')
-rw-r--r--drivers/vme/vme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vme/vme.c b/drivers/vme/vme.c
index 7516030..d95fb84 100644
--- a/drivers/vme/vme.c
+++ b/drivers/vme/vme.c
@@ -502,7 +502,7 @@ int vme_master_get(struct vme_resource *resource, int *enabled,
image = list_entry(resource->entry, struct vme_master_resource, list);
if (bridge->master_get == NULL) {
- printk(KERN_WARNING "vme_master_set not supported\n");
+ printk(KERN_WARNING "%s not supported\n", __func__);
return -EINVAL;
}