From: Dhananjay Balan Date: Mon, 17 Jul 2017 13:53:05 +0000 (+0200) Subject: drivers: staging: ccree: use __func__ to get function name in error messages. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=53116782793c82a51962518760702e22f8bc7876;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drivers: staging: ccree: use __func__ to get function name in error messages. fixes checkpatch warning. Signed-off-by: Dhananjay Balan Signed-off-by: Greg Kroah-Hartman --- 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; }