Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1628829 > unrolled thread

[PATCH] staging/speakup: use __func__ instead of hardcoded name

Started byDhiru Kholia <dhiru.kholia@gmail.com>
First post2017-04-22 14:30 +0200
Last post2017-04-22 14:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] staging/speakup: use __func__ instead of hardcoded name Dhiru Kholia <dhiru.kholia@gmail.com> - 2017-04-22 14:30 +0200

#1628829 — [PATCH] staging/speakup: use __func__ instead of hardcoded name

FromDhiru Kholia <dhiru.kholia@gmail.com>
Date2017-04-22 14:30 +0200
Subject[PATCH] staging/speakup: use __func__ instead of hardcoded name
Message-ID<tz2kO-2NT-5@gated-at.bofh.it>
This coding style issue was found by checkpatch script.

Signed-off-by: Dhiru Kholia <dhiru.kholia@gmail.com>
---
 drivers/staging/speakup/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/speakup/main.c b/drivers/staging/speakup/main.c
index d2ad596..3b4ba79 100644
--- 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)) {
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web