Re: randconfig build error with next-20140620, in drivers/thunderbolt/nhi.c

From: Greg Kroah-Hartman
Date: Fri Jun 20 2014 - 12:43:14 EST


On Fri, Jun 20, 2014 at 07:03:44AM -0700, Jim Davis wrote:
> Building with the attached random configuration file,
>
> drivers/thunderbolt/nhi.c: In function ânhi_probeâ:
> drivers/thunderbolt/nhi.c:541:2: error: implicit declaration of
> function âpcim_enable_deviceâ [-Werror=implicit-function-declaration]
> res = pcim_enable_device(pdev);
> ^
> drivers/thunderbolt/nhi.c:547:2: error: implicit declaration of
> function âpci_enable_msiâ [-Werror=implicit-function-declaration]
> res = pci_enable_msi(pdev);
> ^
> cc1: some warnings being treated as errors
> make[2]: *** [drivers/thunderbolt/nhi.o] Error 1

A patch was just sent to fix this, will be in the next linux-next
release, thanks.

greg k-h
--
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/