Netdev List
 help / color / mirror / Atom feed
* [net-next:master 63/70] net/ipv6/udp_offload.c:29:2: error: implicit declaration of function 'csum_ipv6_magic'
@ 2012-11-16  0:12 kbuild test robot
  2012-11-16  2:35 ` [PATCH 2/2] ipv6: Fix build error with udp_offload Vlad Yasevich
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2012-11-16  0:12 UTC (permalink / raw)
  To: Vlad Yasevich; +Cc: netdev

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-16  3:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16  0:12 [net-next:master 63/70] net/ipv6/udp_offload.c:29:2: error: implicit declaration of function 'csum_ipv6_magic' kbuild test robot
2012-11-16  2:35 ` [PATCH 2/2] ipv6: Fix build error with udp_offload Vlad Yasevich
2012-11-16  3:49   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox