From: kernel test robot <lkp@intel.com>
To: "Toke Høiland-Jørgensen" <toke@redhat.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [toke:xdp-queueing-08 6/10] include/linux/bpf.h:2497:13: error: static declaration of 'netif_tx_schedule_bpf_timer' follows non-static declaration
Date: Sun, 17 Dec 2023 12:02:28 +0800 [thread overview]
Message-ID: <202312171112.36aVRnKS-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git xdp-queueing-08
head: 707bff6510161065e4e624c99c8c668b6c0114b6
commit: f78caa9ae49edb5ceb57001b249bf88a81e17423 [6/10] bpf: Support running timer callbacks in NET_TX_SOFTIRQ
config: i386-buildonly-randconfig-005-20231217 (https://download.01.org/0day-ci/archive/20231217/202312171112.36aVRnKS-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231217/202312171112.36aVRnKS-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312171112.36aVRnKS-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from fs/select.c:33:
In file included from include/net/busy_poll.h:19:
In file included from include/net/xdp.h:10:
In file included from include/linux/filter.h:9:
>> include/linux/bpf.h:2497:13: error: static declaration of 'netif_tx_schedule_bpf_timer' follows non-static declaration
static void netif_tx_schedule_bpf_timer(struct bpf_timer_nettx *timer)
^
include/linux/netdevice.h:3323:6: note: previous declaration is here
void netif_tx_schedule_bpf_timer(struct bpf_timer_nettx *timer);
^
1 error generated.
vim +/netif_tx_schedule_bpf_timer +2497 include/linux/bpf.h
2494
2495 void bpf_run_nettx_timers(struct bpf_timer_nettx *timer);
2496 #ifndef CONFIG_NET
> 2497 static void netif_tx_schedule_bpf_timer(struct bpf_timer_nettx *timer)
2498 {
2499 }
2500 #endif
2501
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-12-17 4:03 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=202312171112.36aVRnKS-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=toke@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox