Use copy_from_user instead. Something like this:
if ( copy_from_user(to, from, count) )
return -EFAULT;
It's much faster in this case. But your have to
work too, if there isn't other mess.
Petkan
-- Petko Manolov - petkan@varel.bg http://www.varel.bg/~petkan- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/faq.html