Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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__);
}

/**