• Tobias Regnery's avatar
    misc: pci_endpoint_test: select CRC32 · a20cfc1c
    Tobias Regnery authored
    There is the following link error with CONFIG_PCI_ENDPOINT_TEST=y and
    CONFIG_CRC32=m:
    
    drivers/built-in.o: In function 'pci_endpoint_test_ioctl':
    pci_endpoint_test.c:(.text+0xf1251): undefined reference to 'crc32_le'
    pci_endpoint_test.c:(.text+0xf1322): undefined reference to 'crc32_le'
    pci_endpoint_test.c:(.text+0xf13b2): undefined reference to 'crc32_le'
    pci_endpoint_test.c:(.text+0xf141e): undefined reference to 'crc32_le'
    
    Fix this by selecting CRC32 in the PCI_ENDPOINT_TEST kconfig entry.
    
    Fixes: 2c156ac7 ("misc: Add host side PCI driver for PCI test function device")
    Signed-off-by: default avatarTobias Regnery <tobias.regnery@gmail.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    a20cfc1c
Kconfig 17.4 KB