1
0
Fork 0

staging: octeon: use __func__ instead of func name

Fix checkpatch warning:
WARNING: Prefer using '"%s...", __func__' to using 'INTERFACE'

Signed-off-by: Craig Kewley <craigkewley@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Craig Kewley 2017-05-01 21:22:35 +01:00 committed by Greg Kroah-Hartman
parent 789bf45ace
commit 355e6e4913
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ static inline int INTERFACE(int ipd_port)
interface = cvmx_helper_get_interface_num(ipd_port);
if (interface >= 0)
return interface;
panic("Illegal ipd_port %d passed to INTERFACE\n", ipd_port);
panic("Illegal ipd_port %d passed to %s\n", ipd_port, __func__);
}
/**