From: kernel test robot <lkp@intel.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Carlos Maiolino <cem@kernel.org>,
"Darrick J. Wong" <djwong@kernel.org>
Subject: drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c:1608:62: error: 'struct vfio_device' has no member named 'debug_root'
Date: Sat, 07 Feb 2026 17:39:11 +0800 [thread overview]
Message-ID: <202602071722.ONa34Ix3-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2687c848e57820651b9f69d30c4710f4219f7dbf
commit: f5caeb3689ea2d8a8c0790d9eea68b63e8f15496 xfs: XFS_ONLINE_SCRUB_STATS should depend on DEBUG_FS
date: 4 months ago
config: arm64-randconfig-r063-20260207 (https://download.01.org/0day-ci/archive/20260207/202602071722.ONa34Ix3-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260207/202602071722.ONa34Ix3-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/202602071722.ONa34Ix3-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c: In function 'hisi_acc_vfio_debug_init':
>> drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c:1608:62: error: 'struct vfio_device' has no member named 'debug_root'
1608 | vfio_dev_migration = debugfs_lookup("migration", vdev->debug_root);
| ^~
vim +1608 drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
ee3a5b2359e0e5b Shameer Kolothum 2022-03-08 1592
b398f91779b86e5 Longfang Liu 2024-11-12 1593 static void hisi_acc_vfio_debug_init(struct hisi_acc_vf_core_device *hisi_acc_vdev)
b398f91779b86e5 Longfang Liu 2024-11-12 1594 {
b398f91779b86e5 Longfang Liu 2024-11-12 1595 struct vfio_device *vdev = &hisi_acc_vdev->core_device.vdev;
b398f91779b86e5 Longfang Liu 2024-11-12 1596 struct hisi_acc_vf_migration_file *migf;
b398f91779b86e5 Longfang Liu 2024-11-12 1597 struct dentry *vfio_dev_migration;
b398f91779b86e5 Longfang Liu 2024-11-12 1598 struct dentry *vfio_hisi_acc;
b398f91779b86e5 Longfang Liu 2024-11-12 1599 struct device *dev = vdev->dev;
b398f91779b86e5 Longfang Liu 2024-11-12 1600
b398f91779b86e5 Longfang Liu 2024-11-12 1601 if (!debugfs_initialized() ||
b398f91779b86e5 Longfang Liu 2024-11-12 1602 !IS_ENABLED(CONFIG_VFIO_DEBUGFS))
b398f91779b86e5 Longfang Liu 2024-11-12 1603 return;
b398f91779b86e5 Longfang Liu 2024-11-12 1604
b398f91779b86e5 Longfang Liu 2024-11-12 1605 if (vdev->ops != &hisi_acc_vfio_pci_migrn_ops)
b398f91779b86e5 Longfang Liu 2024-11-12 1606 return;
b398f91779b86e5 Longfang Liu 2024-11-12 1607
b398f91779b86e5 Longfang Liu 2024-11-12 @1608 vfio_dev_migration = debugfs_lookup("migration", vdev->debug_root);
b398f91779b86e5 Longfang Liu 2024-11-12 1609 if (!vfio_dev_migration) {
b398f91779b86e5 Longfang Liu 2024-11-12 1610 dev_err(dev, "failed to lookup migration debugfs file!\n");
b398f91779b86e5 Longfang Liu 2024-11-12 1611 return;
b398f91779b86e5 Longfang Liu 2024-11-12 1612 }
b398f91779b86e5 Longfang Liu 2024-11-12 1613
b398f91779b86e5 Longfang Liu 2024-11-12 1614 migf = kzalloc(sizeof(*migf), GFP_KERNEL);
eaba58355ecd124 Miaoqian Lin 2025-09-01 1615 if (!migf) {
eaba58355ecd124 Miaoqian Lin 2025-09-01 1616 dput(vfio_dev_migration);
b398f91779b86e5 Longfang Liu 2024-11-12 1617 return;
eaba58355ecd124 Miaoqian Lin 2025-09-01 1618 }
b398f91779b86e5 Longfang Liu 2024-11-12 1619 hisi_acc_vdev->debug_migf = migf;
b398f91779b86e5 Longfang Liu 2024-11-12 1620
b398f91779b86e5 Longfang Liu 2024-11-12 1621 vfio_hisi_acc = debugfs_create_dir("hisi_acc", vfio_dev_migration);
b398f91779b86e5 Longfang Liu 2024-11-12 1622 debugfs_create_devm_seqfile(dev, "dev_data", vfio_hisi_acc,
b398f91779b86e5 Longfang Liu 2024-11-12 1623 hisi_acc_vf_dev_read);
b398f91779b86e5 Longfang Liu 2024-11-12 1624 debugfs_create_devm_seqfile(dev, "migf_data", vfio_hisi_acc,
b398f91779b86e5 Longfang Liu 2024-11-12 1625 hisi_acc_vf_migf_read);
b398f91779b86e5 Longfang Liu 2024-11-12 1626 debugfs_create_devm_seqfile(dev, "cmd_state", vfio_hisi_acc,
b398f91779b86e5 Longfang Liu 2024-11-12 1627 hisi_acc_vf_debug_cmd);
eaba58355ecd124 Miaoqian Lin 2025-09-01 1628
eaba58355ecd124 Miaoqian Lin 2025-09-01 1629 dput(vfio_dev_migration);
b398f91779b86e5 Longfang Liu 2024-11-12 1630 }
b398f91779b86e5 Longfang Liu 2024-11-12 1631
:::::: The code at line 1608 was first introduced by commit
:::::: b398f91779b86e5f285d9f0df5d2e753ddcdac3f hisi_acc_vfio_pci: register debugfs for hisilicon migration driver
:::::: TO: Longfang Liu <liulongfang@huawei.com>
:::::: CC: Alex Williamson <alex.williamson@redhat.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-02-07 9:39 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=202602071722.ONa34Ix3-lkp@intel.com \
--to=lkp@intel.com \
--cc=cem@kernel.org \
--cc=djwong@kernel.org \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--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