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. I'm sure any one who makes DRM sparse clean would get a big gold star from Linus. -- Jon Smirl [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_idt77&alloc_id492&op=click -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel