[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1225010285.3478.33.camel@johannes.berg>
Date: Sun, 26 Oct 2008 09:38:05 +0100
From: Johannes Berg <johannes@...solutions.net>
To: David Miller <davem@...emloft.net>
Cc: anders@...uras.de, netdev@...r.kernel.org
Subject: Re: [PATCH] add %pM printf format specifier
On Sun, 2008-10-26 at 09:21 +0100, Johannes Berg wrote:
> > It would be a nice future project for someone. But don't worry
> > about it for now.
>
> Of course, actually adding, say, %p4 and %p6 would be trivial, but
> making lots of code use it so it's useful would be another mass
> conversion I'm not too keen to do again right away :)
And for IPv4 you can do it in a similar way, except for HIPQUAD which
you'd have to actually replace in the code, but there are less than 20
instances of it. Maybe use SPECIAL to indicate host byte order or
something, I'll leave that to the interested, unless I get really bored
next week (I'm kinda bored right now but don't have access to a fast
build machine ;) )
johannes
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists