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