diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-08-21 00:05:21 +0300 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2016-11-20 04:17:28 +0300 |
commit | 71b9826d49cfb7d00800f1e44df9cee39402d38e (patch) | |
tree | 4afc9d7d52ccb3d09e75bcf869c441c360549254 /arch/parisc/include/asm/uaccess.h | |
parent | 592ad6524eeea2d7c6a4d1c4f0dc0bd2d0d92276 (diff) | |
download | linux-71b9826d49cfb7d00800f1e44df9cee39402d38e.tar.xz |
openrisc: fix copy_from_user()
commit acb2505d0119033a80c85ac8d02dccae41271667 upstream.
... that should zero on faults. Also remove the <censored> helpful
logics wrt range truncation copied from ppc32. Where it had ever
been needed only in case of copy_from_user() *and* had not been merged
into the mainline until a month after the need had disappeared.
A decade before openrisc went into mainline, I might add...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'arch/parisc/include/asm/uaccess.h')
0 files changed, 0 insertions, 0 deletions