提交 98dbf5af 编写于 作者: R Randy Dunlap 提交者: Bjorn Helgaas

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: 349e7a85 ("PCI: endpoint: functions: Add an EP function to test PCI")
Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
Acked-by: NKishon Vijay Abraham I <kishon@ti.com>
上级 449e2f9e
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
config PCI_EPF_TEST config PCI_EPF_TEST
tristate "PCI Endpoint Test driver" tristate "PCI Endpoint Test driver"
depends on PCI_ENDPOINT depends on PCI_ENDPOINT
select CRC32
help help
Enable this configuration option to enable the test driver Enable this configuration option to enable the test driver
for PCI Endpoint. for PCI Endpoint.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册