[net-next:master 63/70] net/ipv6/udp_offload.c:29:2: error: implicit declaration of function 'csum_ipv6_magic'
From: kbuild test robot <hidden>
Date: 2012-11-16 00:12:24
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 7213dde6c961230d1e4c80fa20df842af573cd9d commit: 5edbb07dc9474b7d4cd4391a2e6551ad067a0f96 [63/70] ipv6: Separate out UDP offload functionality config: make ARCH=powerpc chroma_defconfig All error/warnings: net/ipv6/udp_offload.c: In function 'udp6_ufo_send_check': net/ipv6/udp_offload.c:29:2: error: implicit declaration of function 'csum_ipv6_magic' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors vim +29 +/csum_ipv6_magic net/ipv6/udp_offload.c 5edbb07d Vlad Yasevich 2012-11-15 23 if (!pskb_may_pull(skb, sizeof(*uh))) 5edbb07d Vlad Yasevich 2012-11-15 24 return -EINVAL; 5edbb07d Vlad Yasevich 2012-11-15 25 5edbb07d Vlad Yasevich 2012-11-15 26 ipv6h = ipv6_hdr(skb); 5edbb07d Vlad Yasevich 2012-11-15 27 uh = udp_hdr(skb); 5edbb07d Vlad Yasevich 2012-11-15 28 5edbb07d Vlad Yasevich 2012-11-15 @29 uh->check = ~csum_ipv6_magic(&ipv6h->saddr, &ipv6h->daddr, skb->len, 5edbb07d Vlad Yasevich 2012-11-15 30 IPPROTO_UDP, 0); 5edbb07d Vlad Yasevich 2012-11-15 31 skb->csum_start = skb_transport_header(skb) - skb->head; 5edbb07d Vlad Yasevich 2012-11-15 32 skb->csum_offset = offsetof(struct udphdr, check); --- 0-DAY kernel build testing backend Open Source Technology Center Fengguang Wu, Yuanhan Liu Intel Corporation