On Sun, Jun 11, 2017 at 07:10:38PM -0700, Randy Dunlap wrote: > From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> > > 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@xxxxxxxxx> > Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Applied with Kishon's ack to for-linus for v4.12 (since 349e7a85b25f first appeared in v4.12-rc1), thanks! > Cc: Kishon Vijay Abraham I <kishon@xxxxxx> > Cc: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> > --- > drivers/pci/endpoint/functions/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > --- lnx-412-rc4.orig/drivers/pci/endpoint/functions/Kconfig > +++ lnx-412-rc4/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. > >