Timur Tabi wrote:
Scott Wood wrote:

...but not anywhere else. All user pointers should have a __user annotation.

Even in a typecast?

Yes. Otherwise, as far as sparse sees, you're passing a kernel pointer to something expecting a user pointer.

-Scott
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to