pci-epf-test.c:undefined reference to `config_group_init_type_name'

From: kernel test robot

Date: Tue Feb 17 2026 - 19:05:57 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e81dd54f62c753dd423d1a9b62481a1c599fb975
commit: ffcc4850a16133d8db0f11ee6dde319201800451 PCI: endpoint: pci-epf-test: Allow overriding default BAR sizes
date: 3 weeks ago
config: sparc-randconfig-001-20260218 (https://download.01.org/0day-ci/archive/20260218/202602180706.VtXkmtqL-lkp@xxxxxxxxx/config)
compiler: sparc64-linux-gcc (GCC) 14.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260218/202602180706.VtXkmtqL-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602180706.VtXkmtqL-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

sparc64-linux-ld: drivers/pci/endpoint/functions/pci-epf-test.o: in function `pci_epf_test_add_cfs':
>> pci-epf-test.c:(.text+0xec): undefined reference to `config_group_init_type_name'

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for CAN_DEV
Depends on [n]: NETDEVICES [=n] && CAN [=y]
Selected by [y]:
- CAN [=y] && NET [=y]

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki