Skip to content

Commit

Permalink
PCI: endpoint: Select CRC32 to fix test build error
Browse files Browse the repository at this point in the history
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: 349e7a8 ("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>
  • Loading branch information
Randy Dunlap authored and Bjorn Helgaas committed Jun 12, 2017
1 parent 449e2f9 commit 98dbf5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/pci/endpoint/functions/Kconfig
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 98dbf5a

Please sign in to comment.