Re: [RFC] staging:dgap: sparse errors/warnings

2014-03-27 Thread Dan Carpenter
On Thu, Mar 27, 2014 at 09:22:36AM -0400, Mark Hounschell wrote: > checkpatch now gives 0 warnings or errors on both dgap.c and dgap.h > so I'm now looking at sparse errors/warnings. There are many and I'm > not really clear as to the best way to address them. This is my first > exposure to sparse

[RFC] staging:dgap: sparse errors/warnings

2014-03-27 Thread Mark Hounschell
checkpatch now gives 0 warnings or errors on both dgap.c and dgap.h so I'm now looking at sparse errors/warnings. There are many and I'm not really clear as to the best way to address them. This is my first exposure to sparse. A quick internet search reveals that using "__iomem" in some way is the