Messages in this thread | | | From | Max Filippov <> | Date | Sun, 19 May 2019 22:50:44 -0700 | Subject | Re: arch/xtensa/include/asm/uaccess.h:40:22: error: implicit declaration of function 'uaccess_kernel'; did you mean 'getname_kernel'? |
| |
Hello,
On Sun, May 19, 2019 at 10:39 PM kbuild test robot <lkp@intel.com> wrote: > Hi Matt, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: a188339ca5a396acc588e5851ed7e19f66b0ebd9 > commit: 7df95299b94a63ec67a6389fc02dc25019a80ee8 staging: kpc2000: Add DMA driver > date: 4 weeks ago > config: xtensa-allmodconfig (attached as .config) > compiler: xtensa-linux-gcc (GCC) 8.1.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout 7df95299b94a63ec67a6389fc02dc25019a80ee8 > # save the attached .config to linux build tree > GCC_VERSION=8.1.0 make.cross ARCH=xtensa > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot <lkp@intel.com> > > All errors (new ones prefixed by >>): > > In file included from drivers/staging/kpc2000/kpc_dma/fileops.c:11: > arch/xtensa/include/asm/uaccess.h: In function 'clear_user': > >> arch/xtensa/include/asm/uaccess.h:40:22: error: implicit declaration of function 'uaccess_kernel'; did you mean 'getname_kernel'? [-Werror=implicit-function-declaration] > #define __kernel_ok (uaccess_kernel()) > ^~~~~~~~~~~~~~
I've posted a fix for this issue here: https://lkml.org/lkml/2019/5/8/956
If there are post merge window pull requests planned for the staging tree please consider including this fix. Alternatively if I could get an ack for this fix I'd submit it in a pull request from the xtensa tree.
-- Thanks. -- Max
| |