Commit 355e6e49 authored by Craig Kewley's avatar Craig Kewley Committed by Greg Kroah-Hartman

staging: octeon: use __func__ instead of func name

Fix checkpatch warning:
WARNING: Prefer using '"%s...", __func__' to using 'INTERFACE'
Signed-off-by: default avatarCraig Kewley <craigkewley@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 789bf45a
......@@ -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__);
}
/**
......
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