tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.uaccess head: 12bc6c1961dbb3a2e98211e9524cd1916487f2ad commit: 7cb3615113b81a66675edb79abbda9161923d2eb [82/88] c6x: switch to RAW_COPY_USER config: c6x-evmc6678_defconfig (attached as .config) compiler: c6x-elf-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 7cb3615113b81a66675edb79abbda9161923d2eb # save the attached .config to linux build tree make.cross ARCH=c6x All errors (new ones prefixed by >>): In file included from include/linux/uaccess.h:13:0, from include/linux/highmem.h:8, from include/linux/pagemap.h:10, from include/linux/blkdev.h:15, from arch/c6x/mm/init.c:16: >> arch/c6x/include/asm/uaccess.h:90:10: error: #include expects "FILENAME" or <FILENAME> #include INLINE_COPY_FROM_USER ^~~~~~~~~~~~~~~~~~~~~ arch/c6x/include/asm/uaccess.h:91:10: error: #include expects "FILENAME" or <FILENAME> #include INLINE_COPY_TO_USER ^~~~~~~~~~~~~~~~~~~ -- In file included from include/linux/uaccess.h:13:0, from include/linux/highmem.h:8, from include/linux/pagemap.h:10, from fs/binfmt_elf_fdpic.c:30: >> arch/c6x/include/asm/uaccess.h:90:10: error: #include expects "FILENAME" or <FILENAME> #include INLINE_COPY_FROM_USER ^~~~~~~~~~~~~~~~~~~~~ arch/c6x/include/asm/uaccess.h:91:10: error: #include expects "FILENAME" or <FILENAME> #include INLINE_COPY_TO_USER ^~~~~~~~~~~~~~~~~~~ fs/binfmt_elf_fdpic.c: In function 'elf_fdpic_dump_segments': fs/binfmt_elf_fdpic.c:1491:17: warning: unused variable 'addr' [-Wunused-variable] unsigned long addr; ^~~~ vim +/FILENAME +90 arch/c6x/include/asm/uaccess.h 84 } 85 } 86 87 memcpy((void __force *)to, from, n); 88 return 0; 89 } > 90 #include INLINE_COPY_FROM_USER 91 #include INLINE_COPY_TO_USER 92 93 extern int _access_ok(unsigned long addr, unsigned long size); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip