randconfig build error with next-20150113, in drivers/pcmcia/rsrc_pci.c

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue Jan 13 10:11:59 PST 2015


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



More information about the linux-pcmcia mailing list