Commit 4d7ce7c0 authored by Sidong Yang's avatar Sidong Yang Committed by Greg Kroah-Hartman

staging: most: replace function name to __func__

Fix checkpatch.pl warning message about logging code. Previous code
contains hard coded function name. Fix this code by using __func__
macro.
Signed-off-by: default avatarSidong Yang <realwakka@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 134aecbc
......@@ -151,7 +151,7 @@ void dimcb_io_write(u32 __iomem *ptr32, u32 value)
*/
void dimcb_on_error(u8 error_id, const char *error_message)
{
pr_err("dimcb_on_error: error_id - %d, error_message - %s\n", error_id,
pr_err("%s: error_id - %d, error_message - %s\n", __func__, error_id,
error_message);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment