ppc32: fix copy_from_user()

[ Upstream commit 224264657b ]

should clear on access_ok() failures.  Also remove the useless
range truncation logics.

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
This commit is contained in:
Al Viro 2016-08-21 19:16:26 -04:00 • committed by Sasha Levin
commit 1b228faae7