I think when the user mode is called to the kernel mode , sometimes , stay ioctrl After the function is called to the kernel , Will use copy_from_user Used to copy parameters . sometimes , Not applicable copy_from_user, Just put the parameters in ioctrl The last pointer passes . That's why , I was wrong ? If you're right , What scenarios to use copy_from_user, When not to use it ?