Skip to contentSkip to conversation

staging/speakup: use __func__ instead of hardcoded name

PATCH New Dhiru Kholia 1 participant 1 message Apr 22, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging/speakup: use __func__ instead of hardcoded name

This coding style issue was found by checkpatch script.

---
 drivers/staging/speakup/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/speakup/main.c +1 -1
index d2ad596..3b4ba79 100644
@@ -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)) {
Signature · 1 line
2.7.4