diff options
author | Dhananjay Balan <mail@dbalan.in> | 2017-07-17 16:53:05 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-18 09:57:59 +0300 |
commit | 53116782793c82a51962518760702e22f8bc7876 (patch) | |
tree | 3fe6ccbec76960b091f5eb5342505839c746caf0 /drivers/staging/ccree/ssi_driver.c | |
parent | b691bbe2d2535ae0c248cfdda3bb6656c49ea219 (diff) | |
download | linux-53116782793c82a51962518760702e22f8bc7876.tar.xz |
drivers: staging: ccree: use __func__ to get function name in error messages.
fixes checkpatch warning.
Signed-off-by: Dhananjay Balan <mail@dbalan.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ccree/ssi_driver.c')
-rw-r--r-- | drivers/staging/ccree/ssi_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |