2015-03-03 16:11:40

by Jim Davis

[permalink] [raw]
Subject: randconfig build error with next-20150303, in drivers/bcma/driver_pcie2.c

Building with the attached random configuration file,

drivers/bcma/driver_pcie2.c: In function 'bcma_core_pcie2_up':
drivers/bcma/driver_pcie2.c:196:2: error: implicit declaration of
function 'pcie_set_readrq' [-Werror=implicit-function-declaration]
err = pcie_set_readrq(dev, pcie2->reqsize);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target
'drivers/bcma/driver_pcie2.o' failed
make[2]: *** [drivers/bcma/driver_pcie2.o] Error 1


Attachments:
randconfig-1425398336.txt (71.15 kB)

2015-03-04 14:31:08

by Kalle Valo

[permalink] [raw]
Subject: Re: randconfig build error with next-20150303, in drivers/bcma/driver_pcie2.c

Jim Davis <[email protected]> writes:

> Building with the attached random configuration file,
>
> drivers/bcma/driver_pcie2.c: In function 'bcma_core_pcie2_up':
> drivers/bcma/driver_pcie2.c:196:2: error: implicit declaration of
> function 'pcie_set_readrq' [-Werror=implicit-function-declaration]
> err = pcie_set_readrq(dev, pcie2->reqsize);
> ^

This should fix it:

bcma: add missing includes

https://git.kernel.org/cgit/linux/kernel/git/kvalo/wireless-drivers-next.git/commit/?id=2264fc857decd45798368f46861d9aecac23546f

--
Kalle Valo

2015-03-05 17:06:17

by Jim Davis

[permalink] [raw]
Subject: Re: randconfig build error with next-20150303, in drivers/bcma/driver_pcie2.c

On Thu, Mar 5, 2015 at 6:44 AM, Kalle Valo <[email protected]> wrote:
> Stephen Rothwell <[email protected]> writes:
>
>> Hi Kalle,
>>
>> On Wed, 04 Mar 2015 16:31:00 +0200 Kalle Valo <[email protected]> wrote:
>>>
>>> Jim Davis <[email protected]> writes:
>>>
>>> > Building with the attached random configuration file,
>>> >
>>> > drivers/bcma/driver_pcie2.c: In function 'bcma_core_pcie2_up':
>>> > drivers/bcma/driver_pcie2.c:196:2: error: implicit declaration of
>>> > function 'pcie_set_readrq' [-Werror=implicit-function-declaration]
>>> > err = pcie_set_readrq(dev, pcie2->reqsize);
>>> > ^
>>>
>>> This should fix it:
>>>
>>> bcma: add missing includes
>>>
>>> https://git.kernel.org/cgit/linux/kernel/git/kvalo/wireless-drivers-next.git/commit/?id=2264fc857decd45798368f46861d9aecac23546f
>>
>> However, that commit is in next-20150304 and we still get the error
>> (see, for example,
>> http://kisskb.ellerman.id.au/kisskb/buildresult/12376688/).
>
> I applied few fixes from Rafal and Chen:
>
> 1ca2760fb2c1 bcma: prepare Kconfig symbol for PCI driver
> 0a4e699a41f7 bcma: move internal function declarations to private header
> c32ec2a11321 bcma: make bcma_host_pci_(up|down) calls safe for every config
> b09f5ec18b16 bcma: Kconfig: Let it depend on PCI
>
> It would be great if someone could report if the build errors are gone
> now.

I reran that configuration file on
wireless-drivers-next-for-davem-2015-02-07-9274-g1ca2760fb2c13, with
no build errors.

2015-03-05 13:45:07

by Kalle Valo

[permalink] [raw]
Subject: Re: randconfig build error with next-20150303, in drivers/bcma/driver_pcie2.c

Stephen Rothwell <[email protected]> writes:

> Hi Kalle,
>
> On Wed, 04 Mar 2015 16:31:00 +0200 Kalle Valo <[email protected]> wrote:
>>
>> Jim Davis <[email protected]> writes:
>>
>> > Building with the attached random configuration file,
>> >
>> > drivers/bcma/driver_pcie2.c: In function 'bcma_core_pcie2_up':
>> > drivers/bcma/driver_pcie2.c:196:2: error: implicit declaration of
>> > function 'pcie_set_readrq' [-Werror=implicit-function-declaration]
>> > err = pcie_set_readrq(dev, pcie2->reqsize);
>> > ^
>>
>> This should fix it:
>>
>> bcma: add missing includes
>>
>> https://git.kernel.org/cgit/linux/kernel/git/kvalo/wireless-drivers-next.git/commit/?id=2264fc857decd45798368f46861d9aecac23546f
>
> However, that commit is in next-20150304 and we still get the error
> (see, for example,
> http://kisskb.ellerman.id.au/kisskb/buildresult/12376688/).

I applied few fixes from Rafal and Chen:

1ca2760fb2c1 bcma: prepare Kconfig symbol for PCI driver
0a4e699a41f7 bcma: move internal function declarations to private header
c32ec2a11321 bcma: make bcma_host_pci_(up|down) calls safe for every config
b09f5ec18b16 bcma: Kconfig: Let it depend on PCI

It would be great if someone could report if the build errors are gone
now.

--
Kalle Valo

2015-03-04 21:42:38

by Rafał Miłecki

[permalink] [raw]
Subject: Re: randconfig build error with next-20150303, in drivers/bcma/driver_pcie2.c

On 4 March 2015 at 22:01, Stephen Rothwell <[email protected]> wrote:
> Hi Kalle,
>
> On Wed, 04 Mar 2015 16:31:00 +0200 Kalle Valo <[email protected]> wrote:
>>
>> Jim Davis <[email protected]> writes:
>>
>> > Building with the attached random configuration file,
>> >
>> > drivers/bcma/driver_pcie2.c: In function 'bcma_core_pcie2_up':
>> > drivers/bcma/driver_pcie2.c:196:2: error: implicit declaration of
>> > function 'pcie_set_readrq' [-Werror=implicit-function-declaration]
>> > err = pcie_set_readrq(dev, pcie2->reqsize);
>> > ^
>>
>> This should fix it:
>>
>> bcma: add missing includes
>>
>> https://git.kernel.org/cgit/linux/kernel/git/kvalo/wireless-drivers-next.git/commit/?id=2264fc857decd45798368f46861d9aecac23546f
>
> However, that commit is in next-20150304 and we still get the error
> (see, for example,
> http://kisskb.ellerman.id.au/kisskb/buildresult/12376688/).

We're working on this, see
http://marc.info/?t=142541740600001&r=1&w=2

Sorry for the problem.

--
Rafał

2015-03-06 16:24:15

by Kalle Valo

[permalink] [raw]
Subject: Re: randconfig build error with next-20150303, in drivers/bcma/driver_pcie2.c

Jim Davis <[email protected]> writes:

>>> However, that commit is in next-20150304 and we still get the error
>>> (see, for example,
>>> http://kisskb.ellerman.id.au/kisskb/buildresult/12376688/).
>>
>> I applied few fixes from Rafal and Chen:
>>
>> 1ca2760fb2c1 bcma: prepare Kconfig symbol for PCI driver
>> 0a4e699a41f7 bcma: move internal function declarations to private header
>> c32ec2a11321 bcma: make bcma_host_pci_(up|down) calls safe for every config
>> b09f5ec18b16 bcma: Kconfig: Let it depend on PCI
>>
>> It would be great if someone could report if the build errors are gone
>> now.
>
> I reran that configuration file on
> wireless-drivers-next-for-davem-2015-02-07-9274-g1ca2760fb2c13, with
> no build errors.

Good, thanks for checking.

--
Kalle Valo

2015-03-04 21:01:38

by Stephen Rothwell

[permalink] [raw]
Subject: Re: randconfig build error with next-20150303, in drivers/bcma/driver_pcie2.c

Hi Kalle,

On Wed, 04 Mar 2015 16:31:00 +0200 Kalle Valo <[email protected]> wrote:
>
> Jim Davis <[email protected]> writes:
>
> > Building with the attached random configuration file,
> >
> > drivers/bcma/driver_pcie2.c: In function 'bcma_core_pcie2_up':
> > drivers/bcma/driver_pcie2.c:196:2: error: implicit declaration of
> > function 'pcie_set_readrq' [-Werror=implicit-function-declaration]
> > err = pcie_set_readrq(dev, pcie2->reqsize);
> > ^
>
> This should fix it:
>
> bcma: add missing includes
>
> https://git.kernel.org/cgit/linux/kernel/git/kvalo/wireless-drivers-next.git/commit/?id=2264fc857decd45798368f46861d9aecac23546f

However, that commit is in next-20150304 and we still get the error
(see, for example,
http://kisskb.ellerman.id.au/kisskb/buildresult/12376688/).

--
Cheers,
Stephen Rothwell [email protected]


Attachments:
(No filename) (819.00 B)
OpenPGP digital signature