I ended up using phys_to_virt() instead.
>
> > memcpy_to_fs -> copy_to_user()
>
> This is also correct.
And for this, I just did a straight assignment:
This:
memcpy_tofs(out, &si, sizeof(si));
Became this:
*out = si;
All seems to be sane so far...
Thanks for your help.
-A.
-- Aaron J. Marks Communications and Computing Systems Lab Assoc. Member Tech Staff Advanced Networks and Computation Group amarks@sarnoff.com Sarnoff Corporation- 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/