I would like to copy the variable "register_val" (unsigned int) to an address "addr_user" (unsigned int *) from the user space in the kernel module.
Why does the following code to copy not work?
*addr_user = register_val;
I would like to copy the variable "register_val" (unsigned int) to an address "addr_user" (unsigned int *) from the user space in the kernel module.
Why does the following code to copy not work?
*addr_user = register_val;