tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git untested-uaccess head: e4c5cc79ec8eab6bc3e74d9994b33f368f137223 commit: d6ff461e878f092d68bd25b9cb41c05e4a92fa1e [19/79] arm: switch to RAW_COPY_USER config: arm-allnoconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout d6ff461e878f092d68bd25b9cb41c05e4a92fa1e # save the attached .config to linux build tree make.cross ARCH=arm All error/warnings (new ones prefixed by >>): In file included from include/linux/uaccess.h:13:0, from include/linux/poll.h:11, from include/linux/ring_buffer.h:7, from include/linux/trace_events.h:5, from include/trace/syscall.h:6, from include/linux/syscalls.h:82, from init/main.c:20: >> arch/arm/include/asm/uaccess.h:508:1: warning: return type defaults to 'int' [-Wreturn-type] raw_copy_to_user(void __user *to, const void *from, unsigned long n) ^~~~~~~~~~~~~~~~ -- init/mounts.o: In function `raw_copy_to_user': >> do_mounts.c:(.text+0x34): multiple definition of `raw_copy_to_user' init/main.o:main.c:(.text+0x20): first defined here init/noinitramfs.o: In function `raw_copy_to_user': noinitramfs.c:(.text+0x0): multiple definition of `raw_copy_to_user' init/main.o:main.c:(.text+0x20): first defined here init/init_task.o: In function `raw_copy_to_user': init_task.c:(.text+0x0): multiple definition of `raw_copy_to_user' init/main.o:main.c:(.text+0x20): first defined here -- In file included from include/linux/uaccess.h:13:0, from arch/arm/mm/fault.c:17: >> arch/arm/include/asm/uaccess.h:508:1: warning: return type defaults to 'int' [-Wreturn-type] raw_copy_to_user(void __user *to, const void *from, unsigned long n) ^~~~~~~~~~~~~~~~ arch/arm/mm/fault.c: In function '__do_kernel_fault': arch/arm/mm/fault.c:139:6: error: implicit declaration of function 'fixup_exception' [-Werror=implicit-function-declaration] if (fixup_exception(regs)) ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip