ppc32: fix copy_from_user()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 21 Aug 2016 23:16:26 +0000 (19:16 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 13 Sep 2016 21:50:02 +0000 (17:50 -0400)
commit224264657b8b228f949b42346e09ed8c90136a8e
treee7e8adf2ba96689b678f237d4361d9d32ae23feb
parentaace880feea38875fbc919761b77e5732a3659ef
ppc32: fix copy_from_user()

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>
arch/powerpc/include/asm/uaccess.h