All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Yonghong Song <yhs@fb.com>, bpf@vger.kernel.org, netdev@vger.kernel.org
Cc: kbuild-all@lists.01.org, Alexei Starovoitov <ast@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Jiri Olsa <jolsa@kernel.org>,
	kernel-team@fb.com
Subject: Re: [PATCH bpf-next 2/2] bpf: compute bpf_skc_to_*() helper socket btf ids at build time
Date: Sat, 18 Jul 2020 08:33:15 +0800	[thread overview]
Message-ID: <202007180834.mrStqNhi%lkp@intel.com> (raw)
In-Reply-To: <20200717184707.3477423-1-yhs@fb.com>

[-- Attachment #1: Type: text/plain, Size: 3358 bytes --]

Hi Yonghong,

I love your patch! Yet something to improve:

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

url:    https://github.com/0day-ci/linux/commits/Yonghong-Song/compute-bpf_skc_to_-helper-socket-btf-ids-at-build-time/20200718-025117
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: x86_64-rhel-7.6-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce (this is a W=1 build):
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

   In file included from net/core/filter.c:78:
   net/core/filter.c:3783:13: warning: array 'bpf_skb_output_btf_ids' assumed to have one element
    3783 | BTF_ID_LIST(bpf_skb_output_btf_ids)
         |             ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/btf_ids.h:69:12: note: in definition of macro 'BTF_ID_LIST'
      69 | static u32 name[];
         |            ^~~~
   net/core/filter.c:4179:13: warning: array 'bpf_xdp_output_btf_ids' assumed to have one element
    4179 | BTF_ID_LIST(bpf_xdp_output_btf_ids)
         |             ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/btf_ids.h:69:12: note: in definition of macro 'BTF_ID_LIST'
      69 | static u32 name[];
         |            ^~~~
>> net/core/filter.c:9268:13: warning: array 'btf_sock_ids' assumed to have one element
    9268 | BTF_ID_LIST(btf_sock_ids)
         |             ^~~~~~~~~~~~
   include/linux/btf_ids.h:69:12: note: in definition of macro 'BTF_ID_LIST'
      69 | static u32 name[];
         |            ^~~~
   /tmp/ccDB7ajn.s: Assembler messages:
>> /tmp/ccDB7ajn.s:66247: Error: symbol `btf_sock_ids' is already defined
   /tmp/ccDB7ajn.s:67196: Error: symbol `bpf_xdp_output_btf_ids' is already defined
   /tmp/ccDB7ajn.s:67344: Error: symbol `bpf_skb_output_btf_ids' is already defined
--
   In file included from net/core/filter.c:78:
   net/core/filter.c:3783:13: warning: array 'bpf_skb_output_btf_ids' assumed to have one element
    3783 | BTF_ID_LIST(bpf_skb_output_btf_ids)
         |             ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/btf_ids.h:69:12: note: in definition of macro 'BTF_ID_LIST'
      69 | static u32 name[];
         |            ^~~~
   net/core/filter.c:4179:13: warning: array 'bpf_xdp_output_btf_ids' assumed to have one element
    4179 | BTF_ID_LIST(bpf_xdp_output_btf_ids)
         |             ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/btf_ids.h:69:12: note: in definition of macro 'BTF_ID_LIST'
      69 | static u32 name[];
         |            ^~~~
>> net/core/filter.c:9268:13: warning: array 'btf_sock_ids' assumed to have one element
    9268 | BTF_ID_LIST(btf_sock_ids)
         |             ^~~~~~~~~~~~
   include/linux/btf_ids.h:69:12: note: in definition of macro 'BTF_ID_LIST'
      69 | static u32 name[];
         |            ^~~~
   /tmp/cc1GpKvw.s: Assembler messages:
   /tmp/cc1GpKvw.s:66247: Error: symbol `btf_sock_ids' is already defined
   /tmp/cc1GpKvw.s:67196: Error: symbol `bpf_xdp_output_btf_ids' is already defined
   /tmp/cc1GpKvw.s:67344: Error: symbol `bpf_skb_output_btf_ids' is already defined

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 50002 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH bpf-next 2/2] bpf: compute bpf_skc_to_*() helper socket btf ids at build time
Date: Sat, 18 Jul 2020 08:33:15 +0800	[thread overview]
Message-ID: <202007180834.mrStqNhi%lkp@intel.com> (raw)
In-Reply-To: <20200717184707.3477423-1-yhs@fb.com>

[-- Attachment #1: Type: text/plain, Size: 3430 bytes --]

Hi Yonghong,

I love your patch! Yet something to improve:

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

url:    https://github.com/0day-ci/linux/commits/Yonghong-Song/compute-bpf_skc_to_-helper-socket-btf-ids-at-build-time/20200718-025117
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: x86_64-rhel-7.6-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce (this is a W=1 build):
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

   In file included from net/core/filter.c:78:
   net/core/filter.c:3783:13: warning: array 'bpf_skb_output_btf_ids' assumed to have one element
    3783 | BTF_ID_LIST(bpf_skb_output_btf_ids)
         |             ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/btf_ids.h:69:12: note: in definition of macro 'BTF_ID_LIST'
      69 | static u32 name[];
         |            ^~~~
   net/core/filter.c:4179:13: warning: array 'bpf_xdp_output_btf_ids' assumed to have one element
    4179 | BTF_ID_LIST(bpf_xdp_output_btf_ids)
         |             ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/btf_ids.h:69:12: note: in definition of macro 'BTF_ID_LIST'
      69 | static u32 name[];
         |            ^~~~
>> net/core/filter.c:9268:13: warning: array 'btf_sock_ids' assumed to have one element
    9268 | BTF_ID_LIST(btf_sock_ids)
         |             ^~~~~~~~~~~~
   include/linux/btf_ids.h:69:12: note: in definition of macro 'BTF_ID_LIST'
      69 | static u32 name[];
         |            ^~~~
   /tmp/ccDB7ajn.s: Assembler messages:
>> /tmp/ccDB7ajn.s:66247: Error: symbol `btf_sock_ids' is already defined
   /tmp/ccDB7ajn.s:67196: Error: symbol `bpf_xdp_output_btf_ids' is already defined
   /tmp/ccDB7ajn.s:67344: Error: symbol `bpf_skb_output_btf_ids' is already defined
--
   In file included from net/core/filter.c:78:
   net/core/filter.c:3783:13: warning: array 'bpf_skb_output_btf_ids' assumed to have one element
    3783 | BTF_ID_LIST(bpf_skb_output_btf_ids)
         |             ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/btf_ids.h:69:12: note: in definition of macro 'BTF_ID_LIST'
      69 | static u32 name[];
         |            ^~~~
   net/core/filter.c:4179:13: warning: array 'bpf_xdp_output_btf_ids' assumed to have one element
    4179 | BTF_ID_LIST(bpf_xdp_output_btf_ids)
         |             ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/btf_ids.h:69:12: note: in definition of macro 'BTF_ID_LIST'
      69 | static u32 name[];
         |            ^~~~
>> net/core/filter.c:9268:13: warning: array 'btf_sock_ids' assumed to have one element
    9268 | BTF_ID_LIST(btf_sock_ids)
         |             ^~~~~~~~~~~~
   include/linux/btf_ids.h:69:12: note: in definition of macro 'BTF_ID_LIST'
      69 | static u32 name[];
         |            ^~~~
   /tmp/cc1GpKvw.s: Assembler messages:
   /tmp/cc1GpKvw.s:66247: Error: symbol `btf_sock_ids' is already defined
   /tmp/cc1GpKvw.s:67196: Error: symbol `bpf_xdp_output_btf_ids' is already defined
   /tmp/cc1GpKvw.s:67344: Error: symbol `bpf_skb_output_btf_ids' is already defined

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 50002 bytes --]

  reply	other threads:[~2020-07-18  0:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-17 18:47 [PATCH bpf-next 0/2] compute bpf_skc_to_*() helper socket btf ids at build time Yonghong Song
2020-07-17 18:47 ` [PATCH bpf-next 1/2] bpf: change var type of BTF_ID_LIST to static Yonghong Song
2020-07-17 19:21   ` Jiri Olsa
2020-07-17 23:12   ` kernel test robot
2020-07-17 23:12     ` kernel test robot
2020-07-18  5:10     ` Yonghong Song
2020-07-18  5:10       ` Yonghong Song
2020-07-18  0:10   ` kernel test robot
2020-07-18  0:10     ` kernel test robot
2020-07-17 18:47 ` [PATCH bpf-next 2/2] bpf: compute bpf_skc_to_*() helper socket btf ids at build time Yonghong Song
2020-07-18  0:33   ` kernel test robot [this message]
2020-07-18  0:33     ` kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202007180834.mrStqNhi%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=jolsa@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=kernel-team@fb.com \
    --cc=netdev@vger.kernel.org \
    --cc=yhs@fb.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.