openrisc: fix the fix of copy_from_user()
authorGuenter Roeck <linux@roeck-us.net>
Sat, 17 Sep 2016 19:57:24 +0000 (12:57 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 18 Sep 2016 14:26:42 +0000 (07:26 -0700)
commit8e4b72054f554967827e18be1de0e8122e6efc04
tree2af6cc02dc448a37ffae36f971a5d9a3e6e7ebd3
parent65c0044ca8d7c7bbccae37f0ff2972f0210e9f41
openrisc: fix the fix of copy_from_user()

Since commit acb2505d0119 ("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: acb2505d0119 ("openrisc: fix copy_from_user()")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
arch/openrisc/include/asm/uaccess.h