powerpc/uaccess: Remove __unsafe_put_user_goto()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Wed, 10 Mar 2021 17:46:47 +0000 (17:46 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 3 Apr 2021 10:21:55 +0000 (21:21 +1100)
commitbe15a165796598cd3929ca9aac56ba5ec69e41c1
treee810b85e3b37c79bd111f0693b172d5e6c7b6f4e
parented0d9c66f97c6865e87fa6e3631bbc3919a31ad6
powerpc/uaccess: Remove __unsafe_put_user_goto()

__unsafe_put_user_goto() is just an intermediate layer to
__put_user_size_goto() without added value other than doing
the __user pointer type checking.

Do the __user pointer type checking in __put_user_size_goto()
and remove __unsafe_put_user_goto().

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/b6552149209aebd887a6977272b06a41256bdb9f.1615398265.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/uaccess.h