The new copy_to_user returns the number of bytes written,
but lots of drivers call it like this:
if (copy_to_user(..., ..., ...))
return -EFAULT;
That's gotta hurt.
Regards,
Michael Chastain
<mailto:mec@shout.net>
"love without fear"