Thread (12 messages) 12 messages, 4 authors, 2019-02-07

Re: [PATCH bpf-next v7 2/6] bpf: implement BPF_LWT_ENCAP_IP mode in bpf_lwt_push_encap

From: kbuild test robot <hidden>
Date: 2019-02-07 13:45:04

Hi Peter,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on bpf-next/master]

url:    https://github.com/0day-ci/linux/commits/Peter-Oskolkov/bpf-add-BPF_LWT_ENCAP_IP-option-to-bpf_lwt_push_encap/20190207-205725
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: i386-randconfig-l1-02071408 (attached as .config)
compiler: gcc-5 (Debian 5.5.0-3) 5.4.1 20171010
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   net//core/filter.c: In function 'bpf_push_ip_encap':
quoted
net//core/filter.c:4808:9: error: implicit declaration of function 'bpf_lwt_push_ip_encap' [-Werror=implicit-function-declaration]
     return bpf_lwt_push_ip_encap(skb, hdr, len, ingress);
            ^
   net//core/filter.c: At top level:
   net//core/filter.c:4805:12: warning: 'bpf_push_ip_encap' defined but not used [-Wunused-function]
    static int bpf_push_ip_encap(struct sk_buff *skb, void *hdr, u32 len,
               ^
   cc1: some warnings being treated as errors

vim +/bpf_lwt_push_ip_encap +4808 net//core/filter.c

  4804	
  4805	static int bpf_push_ip_encap(struct sk_buff *skb, void *hdr, u32 len,
  4806				     bool ingress)
  4807	{
4808		return bpf_lwt_push_ip_encap(skb, hdr, len, ingress);
  4809	}
  4810	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help