Re: The sheer number of sparse warnings in the kernel

From: Dave Jones
Date: Wed Feb 26 2014 - 22:39:55 EST


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/

(Note that some of those are duplicates, which would be nice if sparse
would be quieter about)

Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/