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


Groups > linux.kernel > #1677319

RE: linux-next: build failure after merge of the sound-asoc tree

From Bard Liao <bardliao@realtek.com>
Newsgroups linux.kernel
Subject RE: linux-next: build failure after merge of the sound-asoc tree
Date 2017-06-29 04:10 +0200
Message-ID <tXx46-1uW-9@gated-at.bofh.it> (permalink)
References <tXwUp-1c2-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

> -----Original Message-----
> From: Stephen Rothwell [mailto:sfr@canb.auug.org.au]
> Sent: Thursday, June 29, 2017 9:54 AM
> To: Mark Brown; Liam Girdwood
> Cc: Linux-Next Mailing List; Linux Kernel Mailing List; 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 (x86_64
> allmodconfig) failed like this:
> 
> sound/soc/codecs/rt5670.c: In function 'rt5670_set_codec_sysclk':
> sound/soc/codecs/rt5670.c:2448:57: error: 'codec' undeclared (first use in this
> function)
>   struct rt5670_priv *rt5670 = snd_soc_codec_get_drvdata(codec);
>                                                          ^
> sound/soc/codecs/rt5670.c:2448:57: note: each undeclared identifier is
> reported only once for each function it appears in
> sound/soc/codecs/rt5670.c: At top level:
> sound/soc/codecs/rt5670.c:2775:16: error: initialization from incompatible
> pointer type [-Werror=incompatible-pointer-types]
>   .set_sysclk = rt5670_set_codec_sysclk,
>                 ^
> sound/soc/codecs/rt5670.c:2775:16: note: (near initialization for
> 'soc_codec_dev_rt5670.set_sysclk')
> cc1: some warnings being treated as errors
> 
> Caused by commit
> 
>   6c28ce3c425e ("ASoC: rt5670: move set_sysclk to codec level")
> 
> I have used the sound-asoc tree from next-20170628 for today.

Sorry about that. I just sent a patch to fix it. Please check the attached.

> 
> --
> Cheers,
> Stephen Rothwell
> 
> ------Please consider the environment before printing this e-mail.

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


Thread

linux-next: build failure after merge of the sound-asoc tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-06-29 04:00 +0200
  RE: linux-next: build failure after merge of the sound-asoc tree Bard Liao <bardliao@realtek.com> - 2017-06-29 04:10 +0200
    Re: linux-next: build failure after merge of the sound-asoc tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-06-30 04:00 +0200
      Re: linux-next: build failure after merge of the sound-asoc tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-07-03 05:30 +0200

csiph-web