2015-04-30 02:05:42

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the sound-asoc tree

Hi all,

After merging the sound-asoc tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

sound/soc/codecs/rt5645.c: In function 'rt5645_set_jack_detect':
sound/soc/codecs/rt5645.c:2555:2: error: implicit declaration of function 'rt5645_irq_detection' [-Werror=implicit-function-declaration]
rt5645_irq_detection(rt5645);
^
sound/soc/codecs/rt5645.c: At top level:
sound/soc/codecs/rt5645.c:2591:12: error: static declaration of 'rt5645_irq_detection' follows non-static declaration
static int rt5645_irq_detection(struct rt5645_priv *rt5645)
^
sound/soc/codecs/rt5645.c:2555:2: note: previous implicit declaration of 'rt5645_irq_detection' was here
rt5645_irq_detection(rt5645);
^
sound/soc/codecs/rt5645.c:2591:12: warning: 'rt5645_irq_detection' defined but not used [-Wunused-function]
static int rt5645_irq_detection(struct rt5645_priv *rt5645)
^

Caused by commit 6e747d5311fc ("ASoC: rt5645: Adds push button support
for rt5650").

I have used the sound-asoc tree from next-20150429 for today.
--
Cheers,
Stephen Rothwell [email protected]


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

2015-04-30 02:15:09

by Bard Liao

[permalink] [raw]
Subject: RE: linux-next: build failure after merge of the sound-asoc tree

Dear All,

I will send a patch to fix it immediately.

Thanks.

Bard Liao

Computer Peripherals Business Unit
Realtek Semiconductor Corp.
886-3-578-0211 ext. 3334
[email protected]


> -----Original Message-----
> From: Stephen Rothwell [mailto:[email protected]]
> Sent: Thursday, April 30, 2015 10:06 AM
> To: Mark Brown; Liam Girdwood
> Cc: [email protected]; [email protected]; Bard Liao
> Subject: linux-next: build failure after merge of the sound-asoc tree
>
> Hi all,
>
> After merging the sound-asoc tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> sound/soc/codecs/rt5645.c: In function 'rt5645_set_jack_detect':
> sound/soc/codecs/rt5645.c:2555:2: error: implicit declaration of function
> 'rt5645_irq_detection' [-Werror=implicit-function-declaration]
> rt5645_irq_detection(rt5645);
> ^
> sound/soc/codecs/rt5645.c: At top level:
> sound/soc/codecs/rt5645.c:2591:12: error: static declaration of
> 'rt5645_irq_detection' follows non-static declaration static int
> rt5645_irq_detection(struct rt5645_priv *rt5645)
> ^
> sound/soc/codecs/rt5645.c:2555:2: note: previous implicit declaration of
> 'rt5645_irq_detection' was here
> rt5645_irq_detection(rt5645);
> ^
> sound/soc/codecs/rt5645.c:2591:12: warning: 'rt5645_irq_detection'
> defined but not used [-Wunused-function] static int
> rt5645_irq_detection(struct rt5645_priv *rt5645)
> ^
>
> Caused by commit 6e747d5311fc ("ASoC: rt5645: Adds push button
> support for rt5650").
>
> I have used the sound-asoc tree from next-20150429 for today.
> --
> Cheers,
> Stephen Rothwell [email protected]
>
> ------Please consider the environment before printing this e-mail.