diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2016-08-20 17:05:21 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-24 10:07:45 +0200 |
| commit | 40c38ca6075b5e0fdee03731936b0b5f86a49cbc (patch) | |
| tree | 8d558701c185037d1059b7ed21e6401cf7def9ac /drivers/input/misc/gpio_matrix.c | |
| parent | 25581084396957ea7fc0a265c3ab4bacb07b15c1 (diff) | |
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/input/misc/gpio_matrix.c')
0 files changed, 0 insertions, 0 deletions
