ppc32: fix copy_from_user()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 21 Aug 2016 23:16:26 +0000 (19:16 -0400)
committerSasha Levin <alexander.levin@verizon.com>
Thu, 6 Oct 2016 02:40:20 +0000 (22:40 -0400)
commit1b228faae706dfe7a2a0f321e2c4827f297fa440
treef1140c43afa6facda41eb5c2a2bea7f7995bf857
parent6c696327470978196e46cc588debdbc90164a198
ppc32: fix copy_from_user()

[ Upstream commit 224264657b8b228f949b42346e09ed8c90136a8e ]

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