projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67c4b44
)
staging/speakup: fix checkpatch.pl warning in speak_char()
author
Justin Skists
<j.skists@gmail.com>
Wed, 6 Sep 2017 12:14:25 +0000
(13:14 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 17 Sep 2017 14:35:25 +0000
(16:35 +0200)
correct the following warning from checkpatch.pl:-
WARNING: Prefer using '"%s...", __func__' to using 'speak_char', this
function's name, in a string
Signed-off-by: Justin Skists <j.skists@gmail.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/main.c
patch
|
blob
|
history
diff --git
a/drivers/staging/speakup/main.c
b/drivers/staging/speakup/main.c
index 67956e24779ce6fea015da416422cdf5c834bf18..938a0aed7de56fe7be2e5ed97a7cb559b0549fd3 100644
(file)
--- a/
drivers/staging/speakup/main.c
+++ b/
drivers/staging/speakup/main.c
@@
-447,7
+447,7
@@
static void speak_char(u16 ch)
cp = spk_characters[ch];
if (!cp) {
- pr_info("
speak_char: cp == NULL!\n"
);
+ pr_info("
%s: cp == NULL!\n", __func__
);
return;
}
if (IS_CHAR(ch, B_CAP)) {