diff mbox

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

Message ID 20170717135305.28296-1-mail@dbalan.in (mailing list archive)
State Not Applicable
Delegated to: Herbert Xu
Headers show

Commit Message

Dhananjay Balan July 17, 2017, 1:53 p.m. UTC
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 mbox

Patch

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;
 	}