powerpc/uaccess: Introduce __get_user_size_goto()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Wed, 10 Mar 2021 17:46:53 +0000 (17:46 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 3 Apr 2021 10:22:13 +0000 (21:22 +1100)
commit035785ab2826beb43cfa65a2df37d60074915a4d
tree85a6ed51f10eb13344d80970701bf0f2acdd2d0a
parente72fcdb26cde72985c418b39f72ecaa222e1f4d5
powerpc/uaccess: Introduce __get_user_size_goto()

We have got two places doing a goto based on the result
of __get_user_size_allowed().

Refactor that into __get_user_size_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/def8a39289e02653cfb1583b3b19837de9efed3a.1615398265.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/uaccess.h