[parisc-linux] Some warning: ... cleanup; realy no interest?

Kyle McMartin kyle at mcmartin.ca
Fri Sep 7 10:53:58 MDT 2007


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



More information about the parisc-linux mailing list