Re: [PATCH v3 1/3] powerpc/process: fix casting and missing header

2018-09-21 Thread Murilo Opsfelder Araujo
On Fri, Sep 07, 2018 at 01:47:29PM +, Christophe Leroy wrote: > This patch fixes the following warnings. The first ones are leftovers > from when __get_user() was replaced by probe_kernel_address(). > > The last one is from when show_user_instructions() was added. > >

[PATCH v3 1/3] powerpc/process: fix casting and missing header

2018-09-07 Thread Christophe Leroy
This patch fixes the following warnings. The first ones are leftovers from when __get_user() was replaced by probe_kernel_address(). The last one is from when show_user_instructions() was added. arch/powerpc/kernel/process.c:1287:22: warning: incorrect type in argument 2 (different address