netdev
[Top] [All Lists]

Re: [APPLETALK]: Use '%Z' for size_t.

To: David Woodhouse <dwmw2@xxxxxxxxxxxxx>
Subject: Re: [APPLETALK]: Use '%Z' for size_t.
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Thu, 19 Feb 2004 10:09:14 -0800
Cc: netdev@xxxxxxxxxxx
In-reply-to: <1077204436.18703.412.camel@hades.cambridge.redhat.com>
References: <200402190209.i1J29KF2020707@hera.kernel.org> <1077204436.18703.412.camel@hades.cambridge.redhat.com>
Sender: netdev-bounce@xxxxxxxxxxx
On Thu, 19 Feb 2004 15:27:17 +0000
David Woodhouse <dwmw2@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxx
> > 
> >     [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 :-)

<Prev in Thread] Current Thread [Next in Thread>