Re: randconfig build error with next-20150113, in drivers/pcmcia/rsrc_pci.c
From: Greg Kroah-Hartman
Date: Tue Jan 13 2015 - 13:12:06 EST
On Tue, Jan 13, 2015 at 11:08:30AM -0700, Jim Davis wrote:
> Building with the attached random configuration file,
>
> drivers/pcmcia/rsrc_pci.c: In function âfind_io_regionâ:
> drivers/pcmcia/rsrc_pci.c:40:2: error: implicit declaration of
> function âpci_bus_alloc_resourceâ
> [-Werror=implicit-function-declaration]
> ret = pci_bus_alloc_resource(s->cb_dev->bus, res, num, 1,
> ^
> drivers/pcmcia/rsrc_pci.c:40:40: error: dereferencing pointer to incomplete type
> ret = pci_bus_alloc_resource(s->cb_dev->bus, res, num, 1,
> ^
> drivers/pcmcia/rsrc_pci.c: In function âres_pci_find_memâ:
> drivers/pcmcia/rsrc_pci.c:144:40: error: dereferencing pointer to
> incomplete type
> ret = pci_bus_alloc_resource(s->cb_dev->bus,
> ^
> cc1: some warnings being treated as errors
> make[2]: *** [drivers/pcmcia/rsrc_pci.o] Error 1
I have a patch from Arnd to fix this that I'll queue up soon, 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/