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>
This commit is contained in:
parent
789bf45ace
commit
355e6e4913
|
@ -39,7 +39,7 @@ static inline int INTERFACE(int ipd_port)
|
||||||
interface = cvmx_helper_get_interface_num(ipd_port);
|
interface = cvmx_helper_get_interface_num(ipd_port);
|
||||||
if (interface >= 0)
|
if (interface >= 0)
|
||||||
return interface;
|
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__);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue