]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
score: fix __get_user/get_user
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 22 Aug 2016 02:13:39 +0000 (22:13 -0400)
committerJiri Slaby <jslaby@suse.cz>
Thu, 29 Sep 2016 09:14:30 +0000 (11:14 +0200)
commit9931f8fe5e1b606ea031df159044b4be0983f078
tree528c207aab39c63b454918d11150af4546728ded
parentb5687db2c83a4a83a910fc255583cf4be6669a93
score: fix __get_user/get_user

commit c2f18fa4cbb3ad92e033a24efa27583978ce9600 upstream.

* should zero on any failure
* __get_user() should use __copy_from_user(), not copy_from_user()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/score/include/asm/uaccess.h