* [nbd168-wireless:pr/17 37/37] drivers/net/wireless/mediatek/mt76/mt7925/pci.c:682:36: error: use of undeclared identifier 'device'
@ 2026-05-13 4:39 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-13 4:39 UTC (permalink / raw)
To: Jeff Hsu; +Cc: llvm, oe-kbuild-all, Sean Wang
tree: https://github.com/nbd168/wireless pr/17
head: b0f5b3976cca04fffdf61e07483536cef5baa39f
commit: b0f5b3976cca04fffdf61e07483536cef5baa39f [37/37] wifi: mt76: mt7925: Add coredump callback in pci_driver
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260513/202605130608.70lPftBK-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/20260513/202605130608.70lPftBK-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/202605130608.70lPftBK-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/net/wireless/mediatek/mt76/mt7925/pci.c:682:36: error: use of undeclared identifier 'device'
682 | struct pci_dev *pdev = to_pci_dev(device);
| ^
>> drivers/net/wireless/mediatek/mt76/mt7925/pci.c:682:36: error: use of undeclared identifier 'device'
>> drivers/net/wireless/mediatek/mt76/mt7925/pci.c:682:36: error: use of undeclared identifier 'device'
3 errors generated.
vim +/device +682 drivers/net/wireless/mediatek/mt76/mt7925/pci.c
679
680 static void mt7925_coredump(struct device *dev)
681 {
> 682 struct pci_dev *pdev = to_pci_dev(device);
683 struct mt76_dev *mdev = pci_get_drvdata(pdev);
684 struct mt792x_dev *dev_792x = container_of(mdev, struct mt792x_dev, mt76);
685
686 mt792x_mutex_acquire(dev_792x);
687 mt7925_mcu_chip_config(dev_792x, "assert");
688 mt792x_mutex_release(dev_792x);
689 }
690
--
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-05-13 4:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-13 4:39 [nbd168-wireless:pr/17 37/37] drivers/net/wireless/mediatek/mt76/mt7925/pci.c:682:36: error: use of undeclared identifier 'device' 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