diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-08-20 17:05:21 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-09-13 17:49:44 -0400 |
commit | acb2505d0119033a80c85ac8d02dccae41271667 (patch) | |
tree | 5537954675e9bd923ab1bfe1fea29806e6334ae6 /arch/sh | |
parent | 2e29f50ad5e23db37dde9be71410d95d50241ecd (diff) |
openrisc: fix copy_from_user()
... 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...
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions