[linux-dvb] What is __user in dvb_apps ???

Johannes Stezenbach js at linuxtv.org
Tue Feb 22 17:42:30 CET 2005

clemens at dwf.com wrote:
> What is this in /include/linux/dvb/osd.h
>         void __user *data;
> and in /include/linux/dvb/video.h
>         char __user *iFrame;
> I dont understnd what __user is suposed to be (it doesnt appear anywhere else)
> and neither does the compiler...

__user is annotation for the sparse code checking tool

> Where is this thing (supposed to be) defined?

in linux/compiler.h

If your glibc is pretty old (i.e. comes with old versions of the
kernel include files) then you have a problem. I added a workaround
to dvb-apps CVS (add -D__user to CFLAGS).


More information about the linux-dvb mailing list