On Mon, 2005-06-27 at 09:09 -0400, Jon Smirl wrote:
> On 6/27/05, Vladimir Dergachev <[EMAIL PROTECTED]> wrote:
> > > And something I've wondered about for a while:
> > > - Is the __user annotation supposed to mean "this is a value from
> > > userland that should be checked for use" or "this is a pointer to
> > > somewhere in userland that needs to be copy_from_usered before use?"
> > 
> > No idea, someone else should comment on this..
> 
> The _user is an annotation for Linus' sparse tool. An explanation of it is 
> here:
> http://www.linuxjournal.com/article/7272
> 
> The checker source is here now:
> cg-clone rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/sparse.git
> 
> DRM fails sparse checking with 1000's of errors. Most of the failures
> are because DRM has unioned iomem address space pointers with ones to
> system memory. That is probably something that should be fixed in DRM.
> You can do that on the x86 but it doesn't work on all architectures.

Ah, ok, it is an annotation of "this is userspace."  Yow, things are
dirty.

-- 
Eric Anholt                                     [EMAIL PROTECTED]
http://people.freebsd.org/~anholt/              [EMAIL PROTECTED]


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to