Re: [PATCH v3 2/2] powerpc: use probe_user_read()

2019-01-30 Thread Michael Ellerman
Christophe Leroy writes: > Instead of opencoding, use probe_user_read() to failessly > read a user location. > > Signed-off-by: Christophe Leroy > --- > v3: No change > > v2: Using probe_user_read() instead of probe_user_address() > > arch/powerpc/kernel/process.c | 12 +--- > arch/

[PATCH v3 2/2] powerpc: use probe_user_read()

2019-01-16 Thread Christophe Leroy
Instead of opencoding, use probe_user_read() to failessly read a user location. Signed-off-by: Christophe Leroy --- v3: No change v2: Using probe_user_read() instead of probe_user_address() arch/powerpc/kernel/process.c | 12 +--- arch/powerpc/mm/fault.c | 6 +- arch/p