openrisc: fix the fix of copy_from_user()
Guenter Roeck authored
[ Upstream commit 8e4b7205 ]

Since commit acb2505d ("openrisc: fix copy_from_user()"),
copy_from_user() returns the number of bytes requested, not the
number of bytes not copied.

Cc: Al Viro <viro@zeniv.linux.org.uk>
Fixes: acb2505d

 ("openrisc: fix copy_from_user()")
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
56991065