public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [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
@ 2023-12-17  4:02 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-17  4:02 UTC (permalink / raw)
  To: Toke Høiland-Jørgensen; +Cc: llvm, oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-17  4:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-17  4:02 [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 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox