tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git untested-uaccess head: e4c5cc79ec8eab6bc3e74d9994b33f368f137223 commit: 5bad754564e5eb303f5ad85dcb844214455b0e08 [27/79] cris: get rid of zeroing in __asm_copy_from_user_N for N > 4 config: cris-allyesconfig (attached as .config) compiler: cris-linux-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 5bad754564e5eb303f5ad85dcb844214455b0e08 # save the attached .config to linux build tree make.cross ARCH=cris All error/warnings (new ones prefixed by >>): In file included from include/linux/uaccess.h:13:0, from include/linux/highmem.h:8, from include/linux/bio.h:21, from include/linux/writeback.h:205, from include/linux/memcontrol.h:30, from include/linux/swap.h:8, from mm//swap.c:19: arch/cris/include/asm/uaccess.h: In function '__constant_copy_from_user': >> arch/cris/include/asm/uaccess.h:211:39: error: macro "__asm_copy_from_user_4x_cont" requires 6 arguments, but only 5 given __asm_copy_from_user_5(to, from, ret); ^ In file included from arch/cris/include/asm/uaccess.h:52:0, from include/linux/uaccess.h:13, from include/linux/highmem.h:8, from include/linux/bio.h:21, from include/linux/writeback.h:205, from include/linux/memcontrol.h:30, from include/linux/swap.h:8, from mm//swap.c:19: >> arch/cris/include/arch-v10/arch/uaccess.h:210:2: error: '__asm_copy_from_user_4x_cont' undeclared (first use in this function) __asm_copy_from_user_4x_cont(to, from, ret, \ ^ >> arch/cris/include/asm/uaccess.h:211:3: note: in expansion of macro '__asm_copy_from_user_5' __asm_copy_from_user_5(to, from, ret); ^~~~~~~~~~~~~~~~~~~~~~ arch/cris/include/arch-v10/arch/uaccess.h:210:2: note: each undeclared identifier is reported only once for each function it appears in __asm_copy_from_user_4x_cont(to, from, ret, \ ^ >> arch/cris/include/asm/uaccess.h:211:3: note: in expansion of macro '__asm_copy_from_user_5' __asm_copy_from_user_5(to, from, ret); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/uaccess.h:13:0, from include/linux/highmem.h:8, from include/linux/bio.h:21, from include/linux/writeback.h:205, from include/linux/memcontrol.h:30, from include/linux/swap.h:8, from mm//swap.c:19: >> arch/cris/include/asm/uaccess.h:215:39: error: macro "__asm_copy_from_user_6x_cont" requires 6 arguments, but only 5 given __asm_copy_from_user_7(to, from, ret); ^ In file included from arch/cris/include/asm/uaccess.h:52:0, from include/linux/uaccess.h:13, from include/linux/highmem.h:8, from include/linux/bio.h:21, from include/linux/writeback.h:205, from include/linux/memcontrol.h:30, from include/linux/swap.h:8, from mm//swap.c:19: >> arch/cris/include/arch-v10/arch/uaccess.h:228:2: error: '__asm_copy_from_user_6x_cont' undeclared (first use in this function) __asm_copy_from_user_6x_cont(to, from, ret, \ ^ >> arch/cris/include/asm/uaccess.h:215:3: note: in expansion of macro '__asm_copy_from_user_7' __asm_copy_from_user_7(to, from, ret); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/uaccess.h:13:0, from include/linux/highmem.h:8, from include/linux/bio.h:21, from include/linux/writeback.h:205, from include/linux/memcontrol.h:30, from include/linux/swap.h:8, from mm//swap.c:19: >> arch/cris/include/asm/uaccess.h:219:39: error: macro "__asm_copy_from_user_8x_cont" requires 6 arguments, but only 5 given __asm_copy_from_user_9(to, from, ret); ^ In file included from arch/cris/include/asm/uaccess.h:52:0, from include/linux/uaccess.h:13, from include/linux/highmem.h:8, from include/linux/bio.h:21, from include/linux/writeback.h:205, from include/linux/memcontrol.h:30, from include/linux/swap.h:8, from mm//swap.c:19: >> arch/cris/include/arch-v10/arch/uaccess.h:246:2: error: '__asm_copy_from_user_8x_cont' undeclared (first use in this function) __asm_copy_from_user_8x_cont(to, from, ret, \ ^ >> arch/cris/include/asm/uaccess.h:219:3: note: in expansion of macro '__asm_copy_from_user_9' __asm_copy_from_user_9(to, from, ret); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/uaccess.h:13:0, from include/linux/highmem.h:8, from include/linux/bio.h:21, from include/linux/writeback.h:205, from include/linux/memcontrol.h:30, from include/linux/swap.h:8, from mm//swap.c:19: >> arch/cris/include/asm/uaccess.h:223:40: error: macro "__asm_copy_from_user_10x_cont" requires 6 arguments, but only 5 given __asm_copy_from_user_11(to, from, ret); ^ In file included from arch/cris/include/asm/uaccess.h:52:0, from include/linux/uaccess.h:13, from include/linux/highmem.h:8, from include/linux/bio.h:21, from include/linux/writeback.h:205, from include/linux/memcontrol.h:30, from include/linux/swap.h:8, from mm//swap.c:19: >> arch/cris/include/arch-v10/arch/uaccess.h:264:2: error: '__asm_copy_from_user_10x_cont' undeclared (first use in this function) __asm_copy_from_user_10x_cont(to, from, ret, \ ^ >> arch/cris/include/asm/uaccess.h:223:3: note: in expansion of macro '__asm_copy_from_user_11' __asm_copy_from_user_11(to, from, ret); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/uaccess.h:13:0, from include/linux/highmem.h:8, from include/linux/bio.h:21, from include/linux/writeback.h:205, from include/linux/memcontrol.h:30, from include/linux/swap.h:8, from mm//swap.c:19: >> arch/cris/include/asm/uaccess.h:227:40: error: macro "__asm_copy_from_user_12x_cont" requires 6 arguments, but only 5 given __asm_copy_from_user_13(to, from, ret); ^ In file included from arch/cris/include/asm/uaccess.h:52:0, from include/linux/uaccess.h:13, from include/linux/highmem.h:8, from include/linux/bio.h:21, from include/linux/writeback.h:205, from include/linux/memcontrol.h:30, from include/linux/swap.h:8, from mm//swap.c:19: >> arch/cris/include/arch-v10/arch/uaccess.h:282:2: error: '__asm_copy_from_user_12x_cont' undeclared (first use in this function) __asm_copy_from_user_12x_cont(to, from, ret, \ ^ >> arch/cris/include/asm/uaccess.h:227:3: note: in expansion of macro '__asm_copy_from_user_13' __asm_copy_from_user_13(to, from, ret); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/uaccess.h:13:0, from include/linux/highmem.h:8, from include/linux/bio.h:21, from include/linux/writeback.h:205, from include/linux/memcontrol.h:30, from include/linux/swap.h:8, from mm//swap.c:19: >> arch/cris/include/asm/uaccess.h:231:40: error: macro "__asm_copy_from_user_14x_cont" requires 6 arguments, but only 5 given __asm_copy_from_user_15(to, from, ret); ^ In file included from arch/cris/include/asm/uaccess.h:52:0, from include/linux/uaccess.h:13, from include/linux/highmem.h:8, from include/linux/bio.h:21, from include/linux/writeback.h:205, from include/linux/memcontrol.h:30, from include/linux/swap.h:8, from mm//swap.c:19: >> arch/cris/include/arch-v10/arch/uaccess.h:300:2: error: '__asm_copy_from_user_14x_cont' undeclared (first use in this function) __asm_copy_from_user_14x_cont(to, from, ret, \ ^ >> arch/cris/include/asm/uaccess.h:231:3: note: in expansion of macro '__asm_copy_from_user_15' __asm_copy_from_user_15(to, from, ret); ^~~~~~~~~~~~~~~~~~~~~~~ vim +/__asm_copy_from_user_4x_cont +211 arch/cris/include/asm/uaccess.h ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 205 __asm_copy_from_user_2(to, from, ret); ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 206 else if (n == 3) ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 207 __asm_copy_from_user_3(to, from, ret); ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 208 else if (n == 4) ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 209 __asm_copy_from_user_4(to, from, ret); ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 210 else if (n == 5) ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 @211 __asm_copy_from_user_5(to, from, ret); ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 212 else if (n == 6) ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 213 __asm_copy_from_user_6(to, from, ret); ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 214 else if (n == 7) ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 @215 __asm_copy_from_user_7(to, from, ret); ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 216 else if (n == 8) ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 217 __asm_copy_from_user_8(to, from, ret); ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 218 else if (n == 9) ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 @219 __asm_copy_from_user_9(to, from, ret); ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 220 else if (n == 10) ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 221 __asm_copy_from_user_10(to, from, ret); ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 222 else if (n == 11) ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 @223 __asm_copy_from_user_11(to, from, ret); ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 224 else if (n == 12) ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 225 __asm_copy_from_user_12(to, from, ret); ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 226 else if (n == 13) ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 @227 __asm_copy_from_user_13(to, from, ret); ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 228 else if (n == 14) ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 229 __asm_copy_from_user_14(to, from, ret); ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 230 else if (n == 15) ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 @231 __asm_copy_from_user_15(to, from, ret); ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 232 else if (n == 16) ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 233 __asm_copy_from_user_16(to, from, ret); ^1da177e include/asm-cris/uaccess.h Linus Torvalds 2005-04-16 234 else if (n == 20) :::::: The code at line 211 was first introduced by commit :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2 :::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx> :::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip