Re: [RFC PATCHv3] printk: add %pM format specifier for MACaddresses

From: Joe Perches
Date: Mon Oct 27 2008 - 20:23:35 EST


On Mon, 2008-10-27 at 17:05 -0700, Harvey Harrison wrote:
> On Mon, 2008-10-27 at 16:55 -0700, David Miller wrote:
> > I'm ok with the '#' modifier but remind me again what's wrong with
> > using plain %p4 and %p6?
> Nothing at all, just wanted to know what color bikeshed you wanted.
> I'll go with %p4 %p6.

Just an FYI for v6 addresses:

There are a few uses of ipv6 address as "%08X%08X%08X%08X"
Pavel Emelyanov tried to isolate them with a suggested patch:

http://www.mail-archive.com/netdev@xxxxxxxxxxxxxxx/msg51655.html

These addresses are not shown in network order, but are
printed backwards in host order. Oops. Apparently it's
too late to fix them.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/