Re: Some warning: ... cleanup; realy no interest?

Kyle McMartin <[email protected]> Fri, 7 Sep 2007 12:53:58 -0400
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
On Fri, Sep 07, 2007 at 12:50:25PM -0400, John David Anglin wrote:
> > Matthew Wilcox wrote:
> > > On Wed, Sep 05, 2007 at 03:51:22PM +0000, Joel Soete wrote:
> > >> mmm and what do you think about adding yet another format letter e.g. [rR] for resource_size_t as it was done for [zZ]?
> > > 
> > > You'd also have to teach gcc about it.
> > > 
> > What should I teach to gcc?
> 
> Don't try, it's a waste of effort.  Just do the cast to unsigned long long
> as previously suggested.
>

I'd rather do neither. Talking to Viro we've been thinking about
removing the format check attributes from the kernel and using sparse
instead, which is under a bit tighter control.

--Kyle