All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [intel-lts:5.15/linux 2474/2488] netlink.c:287:8: error: implicit declaration of function 'bpf_netlink_recv'; did you mean 'libbpf_netlink_recv'?
Date: Sat, 12 Feb 2022 01:57:15 +0800	[thread overview]
Message-ID: <202202111907.kbWrRF2Y-lkp@intel.com> (raw)

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

tree:   https://github.com/intel/linux-intel-lts.git 5.15/linux
head:   91b52769309e2c4d3d4230266426b5eb65418bef
commit: 4655352ad3003f2658836a0f7db7553334f68dda [2474/2488] tools/bpf: Add xdp set command for md btf
config: i386-randconfig-m021 (https://download.01.org/0day-ci/archive/20220211/202202111907.kbWrRF2Y-lkp(a)intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/intel/linux-intel-lts/commit/4655352ad3003f2658836a0f7db7553334f68dda
        git remote add intel-lts https://github.com/intel/linux-intel-lts.git
        git fetch --no-tags intel-lts 5.15/linux
        git checkout 4655352ad3003f2658836a0f7db7553334f68dda
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   netlink.c: In function 'bpf_set_link_xdp_md_btf':
>> netlink.c:287:8: error: implicit declaration of function 'bpf_netlink_recv'; did you mean 'libbpf_netlink_recv'? [-Werror=implicit-function-declaration]
     287 |  ret = bpf_netlink_recv(sock, nl_pid, seq, NULL, NULL, NULL);
         |        ^~~~~~~~~~~~~~~~
         |        libbpf_netlink_recv
>> netlink.c:287:8: error: nested extern declaration of 'bpf_netlink_recv' [-Werror=nested-externs]
   cc1: all warnings being treated as errors
   make[6]: *** [tools/build/Makefile.build:96: kernel/bpf/preload/staticobjs/netlink.o] Error 1
   make[6]: Target '__build' not remade because of errors.

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

                 reply	other threads:[~2022-02-11 17:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202202111907.kbWrRF2Y-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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.