coh901318: don't open-code simple_read_from_buffer()
... and BTW, failing copy_to_user() means EFAULT, not EINVAL
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Showing
想要评论请 注册 或 登录
... and BTW, failing copy_to_user() means EFAULT, not EINVAL
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>