From: kernel test robot <lkp@intel.com>
To: Lorenzo Bianconi <lorenzo@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Felix Fietkau <nbd@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'?
Date: Fri, 09 Jan 2026 05:46:17 +0800 [thread overview]
Message-ID: <202601090517.Fj6v501r-lkp@intel.com> (raw)
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
reply other threads:[~2026-01-08 21:46 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=202601090517.Fj6v501r-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lorenzo@kernel.org \
--cc=nbd@nbd.name \
--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
all inboxes | Powered by JetHome®