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


Groups > linux.kernel > #1629593

[PATCH] staging: most: aim-sound style fixess

From Dhananjay Balan <mail@dbalan.in>
Newsgroups linux.kernel
Subject [PATCH] staging: most: aim-sound style fixess
Date 2017-04-24 16:00 +0200
Message-ID <tzMGZ-7IC-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Replace hardcoded function name with __func__

Signed-off-by: Dhananjay Balan <mail@dbalan.in>
---
 drivers/staging/most/aim-sound/sound.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/most/aim-sound/sound.c b/drivers/staging/most/aim-sound/sound.c
index e4198e5e064b..ea1366a44008 100644
--- a/drivers/staging/most/aim-sound/sound.c
+++ b/drivers/staging/most/aim-sound/sound.c
@@ -429,7 +429,7 @@ static int pcm_trigger(struct snd_pcm_substream *substream, int cmd)
 		return 0;
 
 	default:
-		pr_info("pcm_trigger(), invalid\n");
+		pr_info("%s(), invalid\n", __func__);
 		return -EINVAL;
 	}
 	return 0;
-- 
2.12.2

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] staging: most: aim-sound style fixess Dhananjay Balan <mail@dbalan.in> - 2017-04-24 16:00 +0200

csiph-web