diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2017-06-12 22:43:03 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-06-12 22:46:13 +0200 |
commit | 98dbf5af4fdd142f6184dbb4e4164a8d1850d526 (patch) | |
tree | b6619085da99f388f361e588ea377c64520e185a /drivers/pci/endpoint/functions | |
parent | PCI: Make error code types consistent in pci_{read,write}_config_* (diff) | |
download | linux-98dbf5af4fdd142f6184dbb4e4164a8d1850d526.tar.xz linux-98dbf5af4fdd142f6184dbb4e4164a8d1850d526.zip |
PCI: endpoint: Select CRC32 to fix test build error
The PCI endpoint test driver uses crc32_le() so it should select
CRC32. Fixes this build error (when CRC32=m):
drivers/built-in.o: In function `pci_epf_test_cmd_handler':
pci-epf-test.c:(.text+0x2d98d): undefined reference to `crc32_le'
Fixes: 349e7a85b25f ("PCI: endpoint: functions: Add an EP function to test PCI")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/pci/endpoint/functions')
-rw-r--r-- | drivers/pci/endpoint/functions/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/endpoint/functions/Kconfig b/drivers/pci/endpoint/functions/Kconfig index 175edad42d2f..2942066607e0 100644 --- a/drivers/pci/endpoint/functions/Kconfig +++ b/drivers/pci/endpoint/functions/Kconfig @@ -5,6 +5,7 @@ config PCI_EPF_TEST tristate "PCI Endpoint Test driver" depends on PCI_ENDPOINT + select CRC32 help Enable this configuration option to enable the test driver for PCI Endpoint. |