Re: [PATCH v6 01/10] powerpc/uaccess: Add unsafe_copy_from_user

2021-02-24 Thread Christopher M. Riedl
On Tue Feb 23, 2021 at 11:15 AM CST, Christophe Leroy wrote: > > > Le 21/02/2021 à 02:23, Christopher M. Riedl a écrit : > > Just wrap __copy_tofrom_user() for the usual 'unsafe' pattern which > > accepts a label to goto on error. > > > > Signed-off-by: Christopher M. Riedl > > Reviewed-by: Danie

Re: [PATCH v6 01/10] powerpc/uaccess: Add unsafe_copy_from_user

2021-02-23 Thread Christophe Leroy
Le 21/02/2021 à 02:23, Christopher M. Riedl a écrit : Just wrap __copy_tofrom_user() for the usual 'unsafe' pattern which accepts a label to goto on error. Signed-off-by: Christopher M. Riedl Reviewed-by: Daniel Axtens --- arch/powerpc/include/asm/uaccess.h | 3 +++ 1 file changed, 3 ins

[PATCH v6 01/10] powerpc/uaccess: Add unsafe_copy_from_user

2021-02-20 Thread Christopher M. Riedl
Just wrap __copy_tofrom_user() for the usual 'unsafe' pattern which accepts a label to goto on error. Signed-off-by: Christopher M. Riedl Reviewed-by: Daniel Axtens --- arch/powerpc/include/asm/uaccess.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/powerpc/include/asm/uaccess.h