netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [APPLETALK]: Use '%Z' for size_t.
       [not found] <200402190209.i1J29KF2020707@hera.kernel.org>
@ 2004-02-19 15:27 ` David Woodhouse
  2004-02-19 18:09   ` David S. Miller
  0 siblings, 1 reply; 4+ messages in thread
From: David Woodhouse @ 2004-02-19 15:27 UTC (permalink / raw)
  To: davem; +Cc: netdev

On Wed, 2004-02-18 at 21:11 +0000, Linux Kernel Mailing List wrote:
> ChangeSet 1.1561.2.2, 2004/02/18 13:11:42-08:00, davem@nuts.davemloft.net
> 
> 	[APPLETALK]: Use '%Z' for size_t.

%Zd is an ancient GNUism. Please use %zd in new code instead.

-- 
dwmw2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [APPLETALK]: Use '%Z' for size_t.
  2004-02-19 15:27 ` [APPLETALK]: Use '%Z' for size_t David Woodhouse
@ 2004-02-19 18:09   ` David S. Miller
  2004-02-19 18:50     ` David Woodhouse
  0 siblings, 1 reply; 4+ messages in thread
From: David S. Miller @ 2004-02-19 18:09 UTC (permalink / raw)
  To: David Woodhouse; +Cc: netdev

On Thu, 19 Feb 2004 15:27:17 +0000
David Woodhouse <dwmw2@infradead.org> wrote:

> On Wed, 2004-02-18 at 21:11 +0000, Linux Kernel Mailing List wrote:
> > ChangeSet 1.1561.2.2, 2004/02/18 13:11:42-08:00, davem@nuts.davemloft.net
> > 
> > 	[APPLETALK]: Use '%Z' for size_t.
> 
> %Zd is an ancient GNUism. Please use %zd in new code instead.

As long as lib/vsprintf.c in the kernel supports it, there is no reason not
to use it.  They're never going to remove recognition of this thing from
gcc printf's parsing.

If it really bothers you, then go sick a kernel janitor onto it, because there
are thousands of uses of %Z, I know because I put most of them into the tree :-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [APPLETALK]: Use '%Z' for size_t.
  2004-02-19 18:09   ` David S. Miller
@ 2004-02-19 18:50     ` David Woodhouse
  2004-02-19 19:04       ` David S. Miller
  0 siblings, 1 reply; 4+ messages in thread
From: David Woodhouse @ 2004-02-19 18:50 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev

On Thu, 2004-02-19 at 10:09 -0800, David S. Miller wrote:
> As long as lib/vsprintf.c in the kernel supports it, there is no reason not
> to use it.  They're never going to remove recognition of this thing from
> gcc printf's parsing.
> 
> If it really bothers you, then go sick a kernel janitor onto it, because there
> are thousands of uses of %Z, I know because I put most of them into the tree :-)

Never's a long time.... the request was that you refrain from putting
_new_ ones in. That's not so hard, now is it?

-- 
dwmw2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [APPLETALK]: Use '%Z' for size_t.
  2004-02-19 18:50     ` David Woodhouse
@ 2004-02-19 19:04       ` David S. Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David S. Miller @ 2004-02-19 19:04 UTC (permalink / raw)
  To: David Woodhouse; +Cc: netdev

On Thu, 19 Feb 2004 18:50:15 +0000
David Woodhouse <dwmw2@infradead.org> wrote:

> the request was that you refrain from putting
> _new_ ones in. That's not so hard, now is it?

Sure, no problem.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-02-19 19:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200402190209.i1J29KF2020707@hera.kernel.org>
2004-02-19 15:27 ` [APPLETALK]: Use '%Z' for size_t David Woodhouse
2004-02-19 18:09   ` David S. Miller
2004-02-19 18:50     ` David Woodhouse
2004-02-19 19:04       ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).