Re: randconfig build error with next-20131210, in drivers/crypto/ccp/ccp-pci.c

From: Tom Lendacky
Date: Tue Dec 10 2013 - 10:35:09 EST



On Tuesday, December 10, 2013 07:21:36 AM Jim Davis wrote:
> Building with the attached random configuration file,
>
> drivers/crypto/ccp/ccp-pci.c: In function âccp_get_msix_irqsâ:
> drivers/crypto/ccp/ccp-pci.c:44:20: error: array type has incomplete
> element type
> drivers/crypto/ccp/ccp-pci.c:48:18: error: negative width in bit-field
> â<anonymous>â
> drivers/crypto/ccp/ccp-pci.c:51:2: error: implicit declaration of
> function âpci_enable_msixâ [-Werror=implicit-function-declaration]
> drivers/crypto/ccp/ccp-pci.c:76:2: error: implicit declaration of
> function âpci_disable_msixâ [-Werror=implicit-function-declaration]
> drivers/crypto/ccp/ccp-pci.c:44:20: warning: unused variable
> âmsix_entryâ [-Wunused-variable]
> drivers/crypto/ccp/ccp-pci.c: In function âccp_get_msi_irqâ:
> drivers/crypto/ccp/ccp-pci.c:89:2: error: implicit declaration of
> function âpci_enable_msiâ [-Werror=implicit-function-declaration]
> drivers/crypto/ccp/ccp-pci.c:102:2: error: implicit declaration of
> function âpci_disable_msiâ [-Werror=implicit-function-declaration]
> cc1: some warnings being treated as errors
> make[3]: *** [drivers/crypto/ccp/ccp-pci.o] Error 1

Thanks for finding this, I'll update to the Kconfig to add PCI to
the 'depends on' statement.

Tom

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/