Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1235419

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

From Ksenija Stanojević <ksenija.stanojevic@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] x86: include: asm: Fix build warning
Date 2015-09-29 19:20 +0200
Message-ID <qe6Jk-4tk-13@gated-at.bofh.it> (permalink)
References <qe5WV-3k4-7@gated-at.bofh.it> <qe6zE-4i6-15@gated-at.bofh.it> <qe6zE-4i6-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On Tue, Sep 29, 2015 at 7:08 PM, H. Peter Anvin <hpa@zytor.com> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] x86: include: asm: Fix build warning Ksenija Stanojevic <ksenija.stanojevic@gmail.com> - 2015-09-29 18:30 +0200
  Re: [PATCH] x86: include: asm: Fix build warning "H. Peter Anvin" <hpa@zytor.com> - 2015-09-29 19:10 +0200
    Re: [PATCH] x86: include: asm: Fix build warning Borislav Petkov <bp@alien8.de> - 2015-09-29 19:20 +0200
      Re: [PATCH] x86: include: asm: Fix build warning Ksenija Stanojević <ksenija.stanojevic@gmail.com> - 2015-09-29 19:20 +0200
        Re: [PATCH] x86: include: asm: Fix build warning Borislav Petkov <bp@alien8.de> - 2015-09-29 19:40 +0200
    Re: [PATCH] x86: include: asm: Fix build warning Ksenija Stanojević <ksenija.stanojevic@gmail.com> - 2015-09-29 19:20 +0200
  Re: [PATCH] x86: include: asm: Fix build warning Borislav Petkov <bp@alien8.de> - 2015-09-29 19:10 +0200

csiph-web