All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Bard Liao <bardliao@realtek.com>
Cc: Mark Brown <broonie@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Linux-Next Mailing List <linux-next@vger.kernel.org>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: linux-next: build failure after merge of the sound-asoc tree
Date: Fri, 30 Jun 2017 11:51:35 +1000	[thread overview]
Message-ID: <20170630115135.2696f717@canb.auug.org.au> (raw)
In-Reply-To: <ABFD875FF5FB574BA706497D987D48D70267BA04@RTITMBSV02.realtek.com.tw>

[-- Attachment #1: Type: text/plain, Size: 1772 bytes --]

Hi Bard,

On Thu, 29 Jun 2017 02:01:16 +0000 Bard Liao <bardliao@realtek.com> wrote:
>
> > -----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.

I have applied your patch (attached) for today.

Mark, Liam, please apply.

Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: 0001-ASoC-rt5670-fix-incompatible-pointer-type-of-set_sys.patch --]
[-- Type: text/x-patch, Size: 1019 bytes --]

>From edd2464c74be57ee7b5f5d08b539a0de0b3ecfc8 Mon Sep 17 00:00:00 2001
From: Bard Liao <bardliao@realtek.com>
Date: Thu, 29 Jun 2017 09:37:24 +0800
Subject: [PATCH] ASoC: rt5670: fix incompatible pointer type of set_sysclk

The first parameter is codec not dai.

Signed-off-by: Bard Liao <bardliao@realtek.com>
---
Sorry for missing it in the "move set_sysclk to codec level" patch
---
 sound/soc/codecs/rt5670.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/rt5670.c b/sound/soc/codecs/rt5670.c
index 7fa63ad..64756dc 100644
--- a/sound/soc/codecs/rt5670.c
+++ b/sound/soc/codecs/rt5670.c
@@ -2442,7 +2442,7 @@ static int rt5670_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
 	return 0;
 }
 
-static int rt5670_set_codec_sysclk(struct snd_soc_dai *dai, int clk_id,
+static int rt5670_set_codec_sysclk(struct snd_soc_codec *codec, int clk_id,
 				   int source, unsigned int freq, int dir)
 {
 	struct rt5670_priv *rt5670 = snd_soc_codec_get_drvdata(codec);
-- 
2.7.4


  reply	other threads:[~2017-06-30  1:51 UTC|newest]

Thread overview: 260+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-29  1:54 linux-next: build failure after merge of the sound-asoc tree Stephen Rothwell
2017-06-29  2:01 ` Bard Liao
2017-06-30  1:51   ` Stephen Rothwell [this message]
2017-07-03  3:21     ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2024-05-10  7:03 Stephen Rothwell
2024-05-10  7:25 ` Takashi Iwai
2024-04-08  4:12 Stephen Rothwell
2024-04-08  8:24 ` Cezary Rojewski
2024-04-08 22:33   ` Stephen Rothwell
2024-04-08 12:28 ` Mark Brown
2024-04-08 13:56   ` Cezary Rojewski
2023-10-20  1:42 Stephen Rothwell
2023-05-15  1:43 Stephen Rothwell
2023-02-01  0:14 Stephen Rothwell
2022-09-21  2:31 Stephen Rothwell
2022-07-07 10:04 Stephen Rothwell
2022-07-07 11:08 ` Mukunda,Vijendar
2022-07-07 11:42   ` Mukunda,Vijendar
2022-07-07 11:55     ` Mark Brown
2022-07-06  1:55 Stephen Rothwell
2022-07-06 12:09 ` Mark Brown
2022-07-06 12:13   ` Amadeusz Sławiński
2022-07-06 12:20   ` Cezary Rojewski
2022-07-07  0:52   ` Stephen Rothwell
2022-04-26  8:30 Stephen Rothwell
2022-04-26  9:01 ` Amadeusz Sławiński
2022-04-26 10:49   ` Stephen Rothwell
2022-04-26  8:30 Stephen Rothwell
2022-04-26  9:00 ` Amadeusz Sławiński
2022-04-26 11:10   ` Mark Brown
2022-04-26  8:30 Stephen Rothwell
2022-04-27  3:53 ` Tinghan Shen
2021-10-25  2:13 Stephen Rothwell
2021-10-25  7:57 ` Ajit Kumar Pandey
2021-09-28  5:35 Stephen Rothwell
2021-09-28  7:17 ` Arnd Bergmann
2021-10-06  3:04 ` Stephen Rothwell
2021-10-07 14:22   ` Arnd Bergmann
2021-06-15  7:32 Stephen Rothwell
2021-06-15  9:04 ` Srinivas Kandagatla
2020-04-23  5:55 Stephen Rothwell
2020-04-23 11:30 ` Mark Brown
2020-04-23 12:26   ` Pierre-Louis Bossart
2020-04-23 14:26     ` Mark Brown
2020-04-23 13:04   ` Stephen Rothwell
2020-04-23 14:21     ` Mark Brown
2020-04-25 23:30       ` Michael Ellerman
2020-04-27 11:19         ` Mark Brown
2020-04-21  2:11 Stephen Rothwell
2020-04-22 11:19 ` Mark Brown
2020-01-15  1:02 Stephen Rothwell
2020-01-15  5:09 ` Marek Vasut
2020-01-14  0:57 Stephen Rothwell
2019-10-11  0:01 Stephen Rothwell
2019-10-15  6:46 ` Daniel Baluta
2019-10-15 11:38   ` Stephen Rothwell
2019-08-09  3:08 Stephen Rothwell
2019-08-13  3:16 ` Stephen Rothwell
2019-08-13 11:21   ` Mark Brown
2019-08-13 13:52     ` Pierre-Louis Bossart
2019-04-03  0:11 Stephen Rothwell
2019-04-03  2:12 ` Baolin Wang
2019-04-03  3:35   ` Mark Brown
2019-04-03  4:27     ` Baolin Wang
2019-04-03  4:43       ` Mark Brown
2019-03-26 23:03 Stephen Rothwell
2019-03-26  2:33 Stephen Rothwell
2019-03-26 13:15 ` Mark Brown
2019-03-27  4:29   ` Michael Ellerman
2019-03-27  4:29     ` Michael Ellerman
2019-03-27 11:57     ` Mark Brown
2019-03-27 11:57       ` Mark Brown
2019-04-01 11:11       ` Michael Ellerman
2019-04-01 11:11         ` Michael Ellerman
2019-04-02  5:14         ` Mark Brown
2019-04-02  5:14           ` Mark Brown
2019-02-08  2:18 Stephen Rothwell
2019-02-08  2:18 ` Stephen Rothwell
2019-02-08  7:37 ` Takashi Iwai
2019-02-08  7:37   ` Takashi Iwai
2019-02-08  8:39   ` Takashi Iwai
2019-02-08  8:39     ` Takashi Iwai
2019-02-08 12:53     ` Mark Brown
2019-02-08 12:53       ` Mark Brown
2018-04-17 23:51 Stephen Rothwell
2018-04-18 14:49 ` Mark Brown
2018-04-17  1:02 Stephen Rothwell
2018-04-17  1:22 ` Shuming [范書銘]
2018-04-17  2:14   ` Shuming [范書銘]
2018-03-21  2:30 Stephen Rothwell
2018-03-21  2:45 ` Mark Brown
2018-03-21  5:45   ` Mukunda,Vijendar
2018-03-22  1:38     ` Mark Brown
2018-03-22  5:54       ` Mukunda,Vijendar
2018-03-27 11:27         ` Mark Brown
2018-03-27 12:45           ` Mukunda,Vijendar
2018-03-13  6:09 Stephen Rothwell
2018-03-13  8:52 ` Adam Thomson
2018-03-01 23:54 Stephen Rothwell
2018-03-02  2:49 ` John Hsu
2018-02-18 23:32 Stephen Rothwell
2018-02-19  0:42 ` Kuninori Morimoto
2018-02-19  4:27 ` Agrawal, Akshu
2018-02-15  0:35 Stephen Rothwell
2018-02-15  2:49 ` Kuninori Morimoto
2018-02-15 15:33   ` Mark Brown
2018-02-16  0:01     ` Kuninori Morimoto
2017-11-29  0:50 Stephen Rothwell
2017-09-20  2:01 Stephen Rothwell
2017-09-20 11:54 ` robert.jarzmik
2017-09-20 11:56   ` Mark Brown
2017-08-25  7:58 Hsin-yu Chao
2017-08-25  7:41 Stephen Rothwell
2017-06-16  2:04 Stephen Rothwell
2017-06-14  1:26 Stephen Rothwell
2017-06-14  2:22 ` Kuninori Morimoto
2017-06-08  3:37 Stephen Rothwell
2016-12-06  0:14 Stephen Rothwell
2016-12-06  0:41 ` Kuninori Morimoto
2016-12-06  0:41   ` Kuninori Morimoto
2016-12-06  9:37   ` Mark Brown
2016-12-06 12:55     ` Lee Jones
2016-12-06 13:22       ` Mark Brown
2016-11-14  0:28 Stephen Rothwell
2016-11-14  9:45 ` Richard Fitzgerald
2016-11-14  9:45   ` Richard Fitzgerald
2016-11-08  2:47 Stephen Rothwell
2016-11-08  3:18 ` Chen-Yu Tsai
2016-11-09 14:41   ` Mark Brown
2016-08-23  2:27 Stephen Rothwell
2016-08-08  0:50 Stephen Rothwell
2016-08-08  1:29 ` Kuninori Morimoto
2016-08-08  1:29   ` Kuninori Morimoto
2016-05-11  1:07 Stephen Rothwell
2016-05-11  3:38 ` Vinod Koul
2016-05-06  0:57 Stephen Rothwell
2016-05-06  9:48 ` Opensource [Adam Thomson]
2016-05-06 12:02   ` Mark Brown
2016-05-06 13:39     ` Opensource [Adam Thomson]
2016-04-22  2:03 Stephen Rothwell
2016-04-22  8:40 ` Philipp Zabel
2016-04-22  8:58   ` Mark Brown
2016-04-22  9:21   ` Mark Brown
2015-11-19  0:35 Stephen Rothwell
2015-11-19  3:02 ` Vinod Koul
2015-11-19 10:38   ` Mark Brown
2015-11-20 12:06   ` Mark Brown
2015-11-20 14:58     ` Vinod Koul
2015-09-21  1:23 Stephen Rothwell
2015-08-28  1:50 Stephen Rothwell
2015-08-28  7:40 ` Ricard Wanderlof
2015-08-28 15:45   ` Mark Brown
2015-08-31  7:04     ` Ricard Wanderlof
2015-08-31  7:48       ` Stephen Rothwell
2015-08-31  7:51         ` Stephen Rothwell
2015-08-31  8:18           ` Ricard Wanderlof
2015-07-17  4:25 Stephen Rothwell
2015-07-20  3:44 ` Stephen Rothwell
2015-06-04  4:02 Stephen Rothwell
2015-06-02  2:51 Stephen Rothwell
2015-04-30  2:05 Stephen Rothwell
2015-04-30  2:14 ` Bard Liao
2015-03-10  2:01 Stephen Rothwell
2015-03-12  2:11 ` Stephen Rothwell
2015-03-12  2:50   ` Bard Liao
2015-02-09  3:36 Stephen Rothwell
2015-01-28  2:00 Stephen Rothwell
2015-01-28  9:09 ` Charles Keepax
2015-01-28  9:50   ` Charles Keepax
2015-01-28 11:06     ` Mark Brown
2014-10-21  0:33 Stephen Rothwell
2014-08-17 22:30 Stephen Rothwell
2014-08-18  6:51 ` Sean Cross
2014-08-18 14:09   ` Mark Brown
2014-04-15  1:49 Stephen Rothwell
2014-04-15  1:47 Stephen Rothwell
2014-03-19  1:10 Stephen Rothwell
2014-03-19 10:17 ` Mark Brown
2014-03-19 20:30   ` Stephen Rothwell
2014-02-20  3:01 Stephen Rothwell
2013-11-29  0:54 Stephen Rothwell
2013-11-29 12:36 ` Mark Brown
2013-07-16  3:18 Stephen Rothwell
2013-07-16 11:52 ` Mark Brown
2013-06-17  3:46 Stephen Rothwell
2013-03-21  2:13 Stephen Rothwell
2013-02-08  0:57 Stephen Rothwell
2013-02-05  1:46 Stephen Rothwell
2013-01-23  2:17 Stephen Rothwell
2013-01-14  1:04 Stephen Rothwell
2013-01-14  4:55 ` Mark Brown
2012-10-29  0:48 Stephen Rothwell
2012-10-29 18:15 ` Mark Brown
2012-10-29 20:46   ` Stephen Rothwell
2012-10-30 12:11     ` Mark Brown
2012-06-29  3:38 Stephen Rothwell
2012-06-29  7:09 ` Mark Brown
2012-06-25  4:11 Stephen Rothwell
2012-06-25  6:09 ` Rajeev kumar
2012-06-25  8:06   ` viresh kumar
2012-06-25  9:03   ` Mark Brown
2012-06-13  2:52 Stephen Rothwell
2012-06-12  1:59 Stephen Rothwell
2012-06-05  1:25 Stephen Rothwell
2012-06-05  6:55 ` MR Swami Reddy
2012-06-05  9:43   ` Mark Brown
2012-06-05 10:05     ` MR Swami Reddy
2012-06-04  3:25 Stephen Rothwell
2012-06-04  7:19 ` Mark Brown
2012-05-10  4:33 Stephen Rothwell
2012-05-10  8:30 ` Linus Walleij
2012-05-10  8:35   ` Ola Lilja
2012-05-10  9:11     ` Mark Brown
2012-05-10  9:09   ` Mark Brown
2012-05-10 12:12     ` Linus Walleij
2012-04-03  1:26 Stephen Rothwell
2012-04-02  1:34 Stephen Rothwell
2012-04-02 15:04 ` Mark Brown
2012-02-06  1:25 Stephen Rothwell
2012-02-06 16:50 ` Liam Girdwood
2012-02-06 16:53   ` Mark Brown
2012-02-06 22:02   ` Stephen Rothwell
2012-01-23  1:14 Stephen Rothwell
2012-01-23  2:25 ` Fabio Estevam
2012-01-23  2:25   ` Fabio Estevam
2012-01-23 10:47 ` Mark Brown
2012-01-23 13:10   ` Stephen Rothwell
2011-12-15  3:38 Stephen Rothwell
2011-12-15  6:10 ` Mark Brown
2011-12-13  3:58 Stephen Rothwell
2011-10-06  2:22 Stephen Rothwell
2011-08-11  3:11 Stephen Rothwell
2011-08-11  4:06 ` Mark Brown
2011-08-12  0:37   ` Stephen Rothwell
2011-08-10  0:25 Stephen Rothwell
2011-08-10  4:55 ` Mark Brown
2011-06-14  3:43 Stephen Rothwell
2011-06-07  1:55 Stephen Rothwell
2011-04-28  1:53 Stephen Rothwell
2011-04-12  1:59 Stephen Rothwell
2011-04-12  4:48 ` Mark Brown
2011-03-07  1:56 Stephen Rothwell
2011-03-07 11:47 ` Mark Brown
2011-02-15  2:33 Stephen Rothwell
2010-12-27 23:40 Stephen Rothwell
2010-12-27 23:48 ` Stephen Rothwell
2010-12-28  2:17   ` Mark Brown
2010-12-30 12:24     ` Takashi Iwai
2010-12-28  2:15 ` Mark Brown
2010-12-23  1:02 Stephen Rothwell
2010-12-23  2:12 ` Mark Brown
2010-12-01  0:31 Stephen Rothwell
2010-10-18  3:29 Stephen Rothwell
2010-10-18  3:39 ` Stephen Rothwell
2010-10-18  5:44   ` Takashi Iwai
2010-10-18  5:03 ` Mark Brown
2010-10-18 20:25 ` Peter Hsiang
2010-10-19  0:07   ` Mark Brown
2010-10-19  0:30     ` Peter Hsiang
2010-10-19  0:43       ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170630115135.2696f717@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=bardliao@realtek.com \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.