[net-next:master 194/208] include/net/dst_metadata.h:39:4: error: implicit declaration of function 'lwt_tun_info'
From: kbuild test robot <hidden>
Date: 2015-07-21 23:35:58
From: kbuild test robot <hidden>
Date: 2015-07-21 23:35:58
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 16040894b26af9f85d9395f072c53d76a44eba21 commit: 3093fbe7ff4bc7d1571fc217dade1cf80330a714 [194/208] route: Per route IP tunnel metadata via lightweight tunnel config: i386-randconfig-i0-201529 (attached as .config) reproduce: git checkout 3093fbe7ff4bc7d1571fc217dade1cf80330a714 # save the attached .config to linux build tree make ARCH=i386 All error/warnings (new ones prefixed by >>): In file included from net/core/dst.c:25:0: include/net/dst_metadata.h: In function 'skb_tunnel_info':
quoted
include/net/dst_metadata.h:39:4: error: implicit declaration of function 'lwt_tun_info' [-Werror=implicit-function-declaration]
return lwt_tun_info(rt->rt_lwtstate);
^quoted
include/net/dst_metadata.h:39:4: warning: return makes pointer from integer without a cast
cc1: some warnings being treated as errors
vim +/lwt_tun_info +39 include/net/dst_metadata.h
33 return &md_dst->u.tun_info;
34
35 switch (family) {
36 case AF_INET:
37 rt = (struct rtable *)skb_dst(skb);
38 if (rt && rt->rt_lwtstate)
> 39 return lwt_tun_info(rt->rt_lwtstate);
40 break;
41 }
42
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation