From: kernel test robot <lkp@intel.com>
To: Daniel Borkmann <daniel@iogearbox.net>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [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
Date: Fri, 10 Apr 2026 17:47:20 +0800 [thread overview]
Message-ID: <202604101724.5hKWMpJM-lkp@intel.com> (raw)
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
reply other threads:[~2026-04-10 9:47 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=202604101724.5hKWMpJM-lkp@intel.com \
--to=lkp@intel.com \
--cc=daniel@iogearbox.net \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/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