Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Sidong Yang <realwakka@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Sidong Yang and committed by
Greg Kroah-Hartman
4d7ce7c0 134aecbc

+1 -1
+1 -1
drivers/staging/most/dim2/dim2.c
··· 151 151 */ 152 152 void dimcb_on_error(u8 error_id, const char *error_message) 153 153 { 154 - pr_err("dimcb_on_error: error_id - %d, error_message - %s\n", error_id, 154 + pr_err("%s: error_id - %d, error_message - %s\n", __func__, error_id, 155 155 error_message); 156 156 } 157 157