sysfs: return -EFAULT if copy_{to,from}_user() doesn't copy all bytes.
...instead of returning the error value (which is number of bytes remaining).
Showing
Please register or sign in to comment
...instead of returning the error value (which is number of bytes remaining).