I\'ve implemented some kind of character device and I need help with copy_ from_user function.
I\'ve a structure:
struct my_struct{ int a; int *b;
You are correct in your surmising. If you need to access the value *b, you will need to use copy_from_user (and copy_to_user to update it back in the user process).
*b
copy_from_user
copy_to_user