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


Groups > linux.kernel > #1689071 > unrolled thread

[PATCH] drivers: staging: ccree: use __func__ to get function name in error messages.

Started byDhananjay Balan <mail@dbalan.in>
First post2017-07-17 16:00 +0200
Last post2017-07-17 16:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] drivers: staging: ccree: use __func__ to get function name in error messages. Dhananjay Balan <mail@dbalan.in> - 2017-07-17 16:00 +0200

#1689071 — [PATCH] drivers: staging: ccree: use __func__ to get function name in error messages.

FromDhananjay Balan <mail@dbalan.in>
Date2017-07-17 16:00 +0200
Subject[PATCH] drivers: staging: ccree: use __func__ to get function name in error messages.
Message-ID<u4eJ4-5NI-13@gated-at.bofh.it>
fixes checkpatch warning.

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

diff --git a/drivers/staging/ccree/ssi_driver.c b/drivers/staging/ccree/ssi_driver.c
index d7b9a636d907..e0faca0a30a6 100644
--- a/drivers/staging/ccree/ssi_driver.c
+++ b/drivers/staging/ccree/ssi_driver.c
@@ -81,7 +81,7 @@ void dump_byte_array(const char *name, const u8 *the_array, unsigned long size)
 	char line_buf[80];
 
 	if (!the_array) {
-		SSI_LOG_ERR("cannot dump_byte_array - NULL pointer\n");
+		SSI_LOG_ERR("cannot %s - NULL pointer\n", __func__);
 		return;
 	}
 
-- 
2.13.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web