mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/net/wireless/mediatek/mt76/npu.c:318:23: error: implicit declaration of function 'airoha_ppe_dev_setup_tc_block_cb'; did you mean 'airoha_ppe_setup_tc_block_cb'?
@ 2026-01-08 21:46 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-01-08 21:46 UTC (permalink / raw)
  To: Lorenzo Bianconi; +Cc: oe-kbuild-all, linux-kernel, Felix Fietkau

Hi Lorenzo,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   5572ad8fddecd4a0db19801262072ff5916b7589
commit: 377aa17d2aedc98d1c3bbe7e49b22a0c76308b0e wifi: mt76: mt7996: Add NPU offload support to MT7996 driver
date:   6 weeks ago
config: parisc-randconfig-r071-20260109 (https://download.01.org/0day-ci/archive/20260109/202601090517.Fj6v501r-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 14.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260109/202601090517.Fj6v501r-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/202601090517.Fj6v501r-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/net/wireless/mediatek/mt76/npu.c: In function 'mt76_npu_setup_tc_block_cb':
>> drivers/net/wireless/mediatek/mt76/npu.c:318:23: error: implicit declaration of function 'airoha_ppe_dev_setup_tc_block_cb'; did you mean 'airoha_ppe_setup_tc_block_cb'? [-Wimplicit-function-declaration]
     318 |                 err = airoha_ppe_dev_setup_tc_block_cb(ppe_dev, type_data);
         |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                       airoha_ppe_setup_tc_block_cb

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for OF_GPIO
   Depends on [n]: GPIOLIB [=y] && OF [=n] && HAS_IOMEM [=y]
   Selected by [y]:
   - GPIO_TB10X [=y] && GPIOLIB [=y] && HAS_IOMEM [=y] && (ARC_PLAT_TB10X || COMPILE_TEST [=y])
   WARNING: unmet direct dependencies detected for I2C_K1
   Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && (ARCH_SPACEMIT || COMPILE_TEST [=y]) && OF [=n]
   Selected by [y]:
   - MFD_SPACEMIT_P1 [=y] && HAS_IOMEM [=y] && (ARCH_SPACEMIT || COMPILE_TEST [=y]) && I2C [=y]


vim +318 drivers/net/wireless/mediatek/mt76/npu.c

7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  302  
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  303  static int mt76_npu_setup_tc_block_cb(enum tc_setup_type type,
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  304  				      void *type_data, void *cb_priv)
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  305  {
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  306  	struct mt76_phy *phy = cb_priv;
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  307  	struct mt76_dev *dev = phy->dev;
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  308  	struct airoha_ppe_dev *ppe_dev;
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  309  	int err = -EOPNOTSUPP;
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  310  
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  311  	if (type != TC_SETUP_CLSFLOWER)
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  312  		return -EOPNOTSUPP;
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  313  
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  314  	mutex_lock(&dev->mutex);
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  315  
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  316  	ppe_dev = rcu_dereference_protected(dev->mmio.ppe_dev, &dev->mutex);
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  317  	if (ppe_dev)
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17 @318  		err = airoha_ppe_dev_setup_tc_block_cb(ppe_dev, type_data);
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  319  
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  320  	mutex_unlock(&dev->mutex);
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  321  
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  322  	return err;
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  323  }
7fb554b1b623c7 Lorenzo Bianconi 2025-10-17  324  

:::::: The code at line 318 was first introduced by commit
:::::: 7fb554b1b623c7da845521604bd05fa9570d07bc wifi: mt76: Introduce the NPU generic layer

:::::: TO: Lorenzo Bianconi <lorenzo@kernel.org>
:::::: CC: Felix Fietkau <nbd@nbd.name>

-- 
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-01-08 21:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-08 21:46 drivers/net/wireless/mediatek/mt76/npu.c:318:23: error: implicit declaration of function 'airoha_ppe_dev_setup_tc_block_cb'; did you mean 'airoha_ppe_setup_tc_block_cb'? 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

all inboxes | Powered by JetHome®