* [cilium:pr/netkit-iouring28 16/16] net/xdp/xsk.c:132:7: error: call to undeclared function 'netif_rxq_is_leased'; ISO C99 and later do not support implicit function declarations
@ 2026-04-10 9:47 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-10 9:47 UTC (permalink / raw)
To: Daniel Borkmann; +Cc: llvm, oe-kbuild-all
tree: https://github.com/cilium/linux.git pr/netkit-iouring28
head: 28fb61aaf5d0f6b9ca1d5b686cdbd5a8f0cfc750
commit: 28fb61aaf5d0f6b9ca1d5b686cdbd5a8f0cfc750 [16/16] errata
config: arm64-randconfig-002-20260410 (https://download.01.org/0day-ci/archive/20260410/202604101724.5hKWMpJM-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project ae825cb8cea7f3ac8e5e4096f22713845cf5e501)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260410/202604101724.5hKWMpJM-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/202604101724.5hKWMpJM-lkp@intel.com/
All errors (new ones prefixed by >>):
>> net/xdp/xsk.c:132:7: error: call to undeclared function 'netif_rxq_is_leased'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
132 | if (!netif_rxq_is_leased(dev, queue_id))
| ^
net/xdp/xsk.c:173:7: error: call to undeclared function 'netif_rxq_is_leased'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
173 | !netif_rxq_is_leased(dev, queue_id))
| ^
2 errors generated.
vim +/netif_rxq_is_leased +132 net/xdp/xsk.c
f785e9937db541 Jakub Kicinski 2026-04-08 127
1c1efc2af15886 Magnus Karlsson 2020-08-28 128 void xsk_clear_pool_at_qid(struct net_device *dev, u16 queue_id)
1c1efc2af15886 Magnus Karlsson 2020-08-28 129 {
f785e9937db541 Jakub Kicinski 2026-04-08 130 struct netdev_rx_queue *hw_rxq;
3224a26004da42 Daniel Borkmann 2026-04-03 131
f785e9937db541 Jakub Kicinski 2026-04-08 @132 if (!netif_rxq_is_leased(dev, queue_id))
f785e9937db541 Jakub Kicinski 2026-04-08 133 return __xsk_clear_pool_at_qid(dev, queue_id);
f785e9937db541 Jakub Kicinski 2026-04-08 134 WARN_ON_ONCE(!netif_is_queue_leasee(dev));
3224a26004da42 Daniel Borkmann 2026-04-03 135
f785e9937db541 Jakub Kicinski 2026-04-08 136 hw_rxq = __netif_get_rx_queue(dev, queue_id)->lease;
3224a26004da42 Daniel Borkmann 2026-04-03 137
f785e9937db541 Jakub Kicinski 2026-04-08 138 netdev_lock(hw_rxq->dev);
f785e9937db541 Jakub Kicinski 2026-04-08 139 queue_id = get_netdev_rx_queue_index(hw_rxq);
f785e9937db541 Jakub Kicinski 2026-04-08 140 __xsk_clear_pool_at_qid(hw_rxq->dev, queue_id);
f785e9937db541 Jakub Kicinski 2026-04-08 141 netdev_unlock(hw_rxq->dev);
f785e9937db541 Jakub Kicinski 2026-04-08 142 }
f785e9937db541 Jakub Kicinski 2026-04-08 143
:::::: The code at line 132 was first introduced by commit
:::::: f785e9937db541632ce741099e1573a297a1c161 net: Remove the netif_get_rx_queue_lease_locked() helpers
:::::: TO: Jakub Kicinski <kuba@kernel.org>
:::::: CC: Daniel Borkmann <daniel@iogearbox.net>
--
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:[~2026-04-10 9:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-10 9:47 [cilium:pr/netkit-iouring28 16/16] net/xdp/xsk.c:132:7: error: call to undeclared function 'netif_rxq_is_leased'; ISO C99 and later do not support implicit function declarations 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