On Mon, 2015-09-21 at 17:22 +0800, Kevin Hao wrote: > With the reimplementation of probe_kernel_address() in commit > ecc83243e1d4 ("uaccess: reimplement probe_kernel_address() using > probe_kernel_read()"), the explication of the cast for the addr > parameter has been dropped. So we have to explicitly cast the > regs->nip to void * when passing it to probe_kernel_address() in > order to fix the following build error: > arch/powerpc/sysdev/fsl_pci.c: In function 'fsl_pci_mcheck_exception': > arch/powerpc/sysdev/fsl_pci.c:1002:4: error: passing argument 2 of > 'probe_kernel_read' makes pointer from integer without a cast [-Werror] > ret = probe_kernel_address(regs->nip, inst); > ^ > > Signed-off-by: Kevin Hao <haoke...@gmail.com> > --- > > This is against linux-next.
I don't see ecc83243e1d4 in linux-next. What tree is it in? -Scott _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev