[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202601090517.Fj6v501r-lkp@intel.com>
Date: Fri, 09 Jan 2026 05:46:17 +0800
From: kernel test robot <lkp@...el.com>
To: Lorenzo Bianconi <lorenzo@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Felix Fietkau <nbd@....name>
Subject: 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'?
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@...el.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@...nel.org>
:::::: CC: Felix Fietkau <nbd@....name>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists