Re: The sheer number of sparse warnings in the kernel

Greg KH
2014-02-27T04:30:56Z

On Wed, Feb 26, 2014 at 10:15:08PM -0500, Dave Jones wrote:
> On Wed, Feb 26, 2014 at 05:34:24PM -0800, Greg KH wrote:
>
> > Yes, for some areas of the kernel it will take some work, but for
> > others, sparse works really well. As an example, building all of
> > drivers/usb/* with sparse only brings up 2 issues, both of which should
> > probably be fixed (or annotated properly in the case of the locking
> > warning.)
>
> Hm. I see 102 in drivers/usb. Mostly in gadget.
> http://paste.fedoraproject.org/80787/39347077/raw/

Ick, gadget, I don't build that for my systems as I don't have that
hardware, sorry, I forgot to take that into consideration here.

Hey, at least I know what I'm going to be doing tomorrow :)

greg k-h