diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2014-12-07 20:21:00 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-12-22 10:27:34 -0600 |
commit | c9b3bde03b95cf1cab068f773435cfee271baf0b (patch) | |
tree | e0d0610c4ba2e71932ff74a6a82e799b022bde76 /drivers/usb/gadget/function/f_midi.c | |
parent | c0442479652b99b62dd1ffccb34231caff25751c (diff) | |
download | linux-c9b3bde03b95cf1cab068f773435cfee271baf0b.tar.bz2 |
usb: gadget: 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: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/function/f_midi.c')
-rw-r--r-- | drivers/usb/gadget/function/f_midi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/function/f_midi.c b/drivers/usb/gadget/function/f_midi.c index a90440300735..259b656c0b3e 100644 --- a/drivers/usb/gadget/function/f_midi.c +++ b/drivers/usb/gadget/function/f_midi.c @@ -520,7 +520,7 @@ static void f_midi_transmit(struct f_midi *midi, struct usb_request *req) req = midi_alloc_ep_req(ep, midi->buflen); if (!req) { - ERROR(midi, "gmidi_transmit: alloc_ep_request failed\n"); + ERROR(midi, "%s: alloc_ep_request failed\n", __func__); return; } req->length = 0; |