Re: [PATCH] x86: include: asm: Fix build warning

From: Ksenija StanojeviÄ
Date: Tue Sep 29 2015 - 13:12:16 EST


Hi,

On Tue, Sep 29, 2015 at 7:08 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> On 09/29/2015 10:06 AM, Borislav Petkov wrote:
>> On Tue, Sep 29, 2015 at 06:25:46PM +0200, Ksenija Stanojevic wrote:
>>> Fix build warnings:
>>>
>>> error: implicit declaration of function âolpc_board_at_leastâ
>>> [-Werror=implicit-function-declaration]
>>>
>>> error: implicit declaration of function âolpc_boardâ
>>> [-Werror=implicit-function-declaration]
>>
>> How exactly do you trigger that?

when building with:
make drivers/staging/oplc_dcon/olpc_dcon.o
I get this warnings.

>>
>>> in files:
>>> drivers/power/olpc_battery.c
>>> drivers/input/mouse/hgpk.c
>>> drivers/staging/olpc_dcon/olpc_dcon.c
>>> arch/x86/platform/olpc/olpc.c
>>> sound/pci/cs5535audio/cs5535audio_olpc.c
>>
>> AFAICT, those should all depend on CONFIG_OLPC which defines those
>> functions...
>>
>
> It wouldn't be entirely impossible if OLPC has bitrotted. This is one
> of the many problems with nonstandard hardware.
>
> -hpa
>
>
--
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/