Skip to content

Commit

Permalink
vme: fix misspelling of current function in string
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Julia Lawall authored and Greg Kroah-Hartman committed Jan 12, 2015
1 parent c076860 commit c103830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/vme/vme.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit c103830

Please sign in to comment.