public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [cilium:pr/netkit-iouring19 570/583] drivers/net/ethernet/mellanox/mlx5/core/en_main.c:5617:7: error: call to undeclared function 'netif_rxq_has_unreadable_mp'; ISO C99 and later do not support implicit function declarations
@ 2026-03-20 14:24 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-03-20 14:24 UTC (permalink / raw)
  To: Daniel Borkmann; +Cc: llvm, oe-kbuild-all, David Wei

tree:   https://github.com/cilium/linux.git pr/netkit-iouring19
head:   263b05479cf2219b9610925d32a127cb5adde246
commit: 8b33e9b1c0bee6f058cbe6cf57915e49e58baa9d [570/583] net: Implement netdev_nl_queue_create_doit
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260320/202603202209.dNMkb930-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260320/202603202209.dNMkb930-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/202603202209.dNMkb930-lkp@intel.com/

Note: the cilium/pr/netkit-iouring19 HEAD 263b05479cf2219b9610925d32a127cb5adde246 builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

>> drivers/net/ethernet/mellanox/mlx5/core/en_main.c:5617:7: error: call to undeclared function 'netif_rxq_has_unreadable_mp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    5617 |         if (!netif_rxq_has_unreadable_mp(dev, queue_index))
         |              ^
   1 error generated.


vim +/netif_rxq_has_unreadable_mp +5617 drivers/net/ethernet/mellanox/mlx5/core/en_main.c

0fa8c93357601c Dragos Tatulea 2026-02-23  5609  
df5135fced85bf Dragos Tatulea 2026-02-23  5610  static bool mlx5e_queue_validate_page_size(struct net_device *dev,
df5135fced85bf Dragos Tatulea 2026-02-23  5611  					   struct netdev_queue_config *qcfg,
df5135fced85bf Dragos Tatulea 2026-02-23  5612  					   int queue_index)
df5135fced85bf Dragos Tatulea 2026-02-23  5613  {
df5135fced85bf Dragos Tatulea 2026-02-23  5614  	if (qcfg->rx_page_size == PAGE_SIZE)
df5135fced85bf Dragos Tatulea 2026-02-23  5615  		return true;
df5135fced85bf Dragos Tatulea 2026-02-23  5616  
df5135fced85bf Dragos Tatulea 2026-02-23 @5617  	if (!netif_rxq_has_unreadable_mp(dev, queue_index))
df5135fced85bf Dragos Tatulea 2026-02-23  5618  		return false;
df5135fced85bf Dragos Tatulea 2026-02-23  5619  
df5135fced85bf Dragos Tatulea 2026-02-23  5620  	return true;
df5135fced85bf Dragos Tatulea 2026-02-23  5621  }
df5135fced85bf Dragos Tatulea 2026-02-23  5622  

:::::: The code at line 5617 was first introduced by commit
:::::: df5135fced85bf3c3dfe174f1cf853cdf39312e5 net/mlx5e: SHAMPO, Allow high order pages in zerocopy mode

:::::: TO: Dragos Tatulea <dtatulea@nvidia.com>
:::::: CC: Paolo Abeni <pabeni@redhat.com>

-- 
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-03-20 14:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-20 14:24 [cilium:pr/netkit-iouring19 570/583] drivers/net/ethernet/mellanox/mlx5/core/en_main.c:5617:7: error: call to undeclared function 'netif_rxq_has_unreadable_mp'; 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