lkml.org 
[lkml]   [2016]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH -next 3/4] cgroup: bpf: Add bpf_skb_in_cgroup_proto
    Hi,

    [auto build test ERROR on next-20160621]

    url: https://github.com/0day-ci/linux/commits/Martin-KaFai-Lau/cgroup-bpf-cgroup2-membership-test-on-skb/20160622-082800
    config: sh-titan_defconfig (attached as .config)
    compiler: sh4-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
    reproduce:
    wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
    chmod +x ~/bin/make.cross
    # save the attached .config to linux build tree
    make.cross ARCH=sh

    All errors (new ones prefixed by >>):

    net/core/filter.c: In function 'bpf_skb_in_cgroup':
    >> net/core/filter.c:2049:9: error: implicit declaration of function 'cgroup_is_descendant' [-Werror=implicit-function-declaration]
    return cgroup_is_descendant(sock_cgroup_ptr(&sk->sk_cgrp_data), cgrp);
    ^
    net/core/filter.c:2049:30: error: implicit declaration of function 'sock_cgroup_ptr' [-Werror=implicit-function-declaration]
    return cgroup_is_descendant(sock_cgroup_ptr(&sk->sk_cgrp_data), cgrp);
    ^
    cc1: some warnings being treated as errors

    vim +/cgroup_is_descendant +2049 net/core/filter.c

    2043 return -E2BIG;
    2044
    2045 cgrp = READ_ONCE(array->ptrs[i]);
    2046 if (unlikely(!cgrp))
    2047 return -ENOENT;
    2048
    > 2049 return cgroup_is_descendant(sock_cgroup_ptr(&sk->sk_cgrp_data), cgrp);
    2050 }
    2051
    2052 static const struct bpf_func_proto bpf_skb_in_cgroup_proto = {

    ---
    0-DAY kernel test infrastructure Open Source Technology Center
    https://lists.01.org/pipermail/kbuild-all Intel Corporation
    [unhandled content-type:application/octet-stream]
    \
     
     \ /
      Last update: 2016-06-22 04:41    [W:3.544 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site