]> err.no Git - linux-2.6/commit
[ETHER]: Bring back MAC_FMT
authorPatrick McHardy <kaber@trash.net>
Mon, 21 Jan 2008 08:24:13 +0000 (00:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:08:27 +0000 (15:08 -0800)
commita5250a36954c6658e28cc2e7e07e314e0c79e8bb
tree3e5682db7034d92faceecd6907bc24fa2d05b543
parent62f99efce61024f1c645c2c574882b510c77c579
[ETHER]: Bring back MAC_FMT

The print_mac function is not very suitable for debugging printks
in performance critical paths since without ifdefs it will always
get called. MAC_FMT can be used with pr_debug without any overhead
when debugging is disabled.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_ether.h