[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100108000843.GI2436@verge.net.au>
Date: Fri, 8 Jan 2010 11:08:48 +1100
From: Simon Horman <horms@...ge.net.au>
To: David Miller <davem@...emloft.net>
Cc: macro@...ux-mips.org, joe@...ches.com,
hartleys@...ionengravers.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] lib/vsprintf.c: Add %pMF to format FDDI bit reversed
MAC addresses
On Thu, Jan 07, 2010 at 02:09:42PM -0800, David Miller wrote:
> From: "Maciej W. Rozycki" <macro@...ux-mips.org>
> Date: Thu, 7 Jan 2010 20:42:12 +0000 (GMT)
>
> > What's the gain? I'd be rather conservative when taking everybody's 56
> > bytes for one or two drivers hardly anybody uses. The format of MAC
> > addresses is unlikely to change, so I'd say the sources can live with
> > one or two places where the strings are formatted manually. Even if the
> > drivers lose more than these 56 bytes.
>
> We gain consistency. You know, the part that's completely bolixed
> right now?
>
> I'm applying Joe's patch and followon patches to make the driver's
> use the new printf format.
In the vein of this, would it be worth adding some modifier to %i4 to
print addresses for ftp helpers? That is, %u,%u,%u,%u. I think
there are currently two users of that format string after Joe's latest
round of updates.
The users are net/netfilter/ipvs/ip_vs_ftp.c and
net/ipv4/netfilter/nf_nat_ftp.c. Prior to Joe's latest
changes ip_vs_ftp.c used %d,%d,%d,%d.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists