Messages in this thread | | | Date | Sat, 27 May 2017 01:12:17 +0800 | From | kbuild test robot <> | Subject | Re: [PATCH 5/5] MIPS: Add support for eBPF JIT. |
| |
Hi David,
[auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc2] [cannot apply to next-20170526] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/David-Daney/MIPS-Implement-eBPF-JIT/20170526-124316 config: mips-allmodconfig (attached as .config) compiler: mips-linux-gnu-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 # save the attached .config to linux build tree make.cross ARCH=mips
All errors (new ones prefixed by >>):
arch/mips/net/bpf_jit.c: In function 'build_one_insn': >> arch/mips/net/bpf_jit.c:2276:27: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] t64s = (s64)insn->imm + (s64)__bpf_call_base; ^ arch/mips/net/bpf_jit.c:2293:38: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] emit_const_to_reg(ctx, MIPS_R_T9, (u64)bpf_internal_load_pointer_neg_helper); ^ arch/mips/net/bpf_jit.c:2295:38: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] emit_const_to_reg(ctx, MIPS_R_T9, (u64)ool_skb_header_pointer); ^ arch/mips/net/bpf_jit.c:2325:37: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] emit_const_to_reg(ctx, MIPS_R_T8, (u64)bpf_internal_load_pointer_neg_helper); ^ arch/mips/net/bpf_jit.c:2326:37: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] emit_const_to_reg(ctx, MIPS_R_T9, (u64)ool_skb_header_pointer); ^ cc1: all warnings being treated as errors
vim +2276 arch/mips/net/bpf_jit.c
2270 t64 = ((u64)(u32)insn->imm) | ((u64)(insn + 1)->imm << 32); 2271 emit_const_to_reg(ctx, dst, t64); 2272 return 2; /* Double slot insn */ 2273 2274 case BPF_JMP | BPF_CALL: 2275 ctx->flags |= EBPF_SAVE_RA; > 2276 t64s = (s64)insn->imm + (s64)__bpf_call_base; 2277 emit_const_to_reg(ctx, MIPS_R_T9, (u64)t64s); 2278 emit_jalr(MIPS_R_RA, MIPS_R_T9, ctx); 2279 /* delay slot */
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation [unhandled content-type:application/gzip] | |