]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
PCI: endpoint: pci-epf-test: Select configfs
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 Feb 2026 07:07:40 +0000 (08:07 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Feb 2026 21:34:19 +0000 (15:34 -0600)
Like some of the other endpoint modules, pci-epf-test now also uses
configfs, but is missing an indication in Kconfig:

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

Select the symbol as needed.

Fixes: ffcc4850a161 ("PCI: endpoint: pci-epf-test: Allow overriding default BAR sizes")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202602180706.VtXkmtqL-lkp@intel.com/
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://patch.msgid.link/20260211070812.4087119-1-arnd@kernel.org
drivers/pci/endpoint/functions/Kconfig

index 0c9cea0698d7bd3d8bd11aa1db0195978d9406b9..bb5a23994288f21b04b04a9dcb85ccfbbaa76b80 100644 (file)
@@ -6,6 +6,7 @@
 config PCI_EPF_TEST
        tristate "PCI Endpoint Test driver"
        depends on PCI_ENDPOINT
+       select CONFIGFS_FS
        select CRC32
        help
           Enable this configuration option to enable the test driver