From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Subject: Re: randconfig build error with next-20150113, in drivers/pcmcia/rsrc_pci.c Date: Tue, 13 Jan 2015 10:11:59 -0800 Message-ID: <20150113181159.GA15031@kroah.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:49517 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751190AbbAMSMB (ORCPT ); Tue, 13 Jan 2015 13:12:01 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-next-owner@vger.kernel.org List-ID: To: Jim Davis Cc: Stephen Rothwell , linux-next , linux-kernel , alan@linux.intel.com, linux-pcmcia@lists.infradead.org On Tue, Jan 13, 2015 at 11:08:30AM -0700, Jim Davis wrote: > Building with the attached random configuration file, >=20 > drivers/pcmcia/rsrc_pci.c: In function =E2=80=98find_io_region=E2=80=99= : > drivers/pcmcia/rsrc_pci.c:40:2: error: implicit declaration of > function =E2=80=98pci_bus_alloc_resource=E2=80=99 > [-Werror=3Dimplicit-function-declaration] > ret =3D pci_bus_alloc_resource(s->cb_dev->bus, res, num, 1, > ^ > drivers/pcmcia/rsrc_pci.c:40:40: error: dereferencing pointer to inco= mplete type > ret =3D pci_bus_alloc_resource(s->cb_dev->bus, res, num, 1, > ^ > drivers/pcmcia/rsrc_pci.c: In function =E2=80=98res_pci_find_mem=E2=80= =99: > drivers/pcmcia/rsrc_pci.c:144:40: error: dereferencing pointer to > incomplete type > ret =3D 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