printk: add %pM format specifier for MAC addresses
authorHarvey Harrison <harvey.harrison@gmail.com>
Mon, 27 Oct 2008 22:47:12 +0000 (15:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Oct 2008 00:06:15 +0000 (17:06 -0700)
commitdd45c9cf687682c9ce256ab14bd8914db77410bb
tree0769c1655b55f2528e9aaf8f96ba8d856f72f0ca
parent1080d709fb9d8cd4392f93476ee46a9d6ea05a5b
printk: add %pM format specifier for MAC addresses

Add format specifiers for printing out six colon-separated bytes:

MAC addresses (%pM):
xx:xx:xx:xx:xx:xx

%#pM is also supported and omits the colon separators.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/vsprintf.c