linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Mark Brown <broonie@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Linux Next Mailing List <linux-next@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Maruthi Srinivas Bayyavarapu
	<maruthi.srinivas.bayyavarapu@xilinx.com>
Subject: Re: linux-next: build failure after merge of the sound-asoc tree
Date: Fri, 08 Feb 2019 09:39:39 +0100	[thread overview]
Message-ID: <s5htvhe8yic.wl-tiwai@suse.de> (raw)
In-Reply-To: <s5hy36q91e2.wl-tiwai@suse.de>

On Fri, 08 Feb 2019 08:37:25 +0100,
Takashi Iwai wrote:
> 
> On Fri, 08 Feb 2019 03:18:23 +0100,
> Stephen Rothwell wrote:
> > 
> > Hi all,
> > 
> > After merging the sound-asoc tree, today's linux-next build (x86_64
> > allmodconfig) failed like this:
> > 
> > sound/soc/xilinx/xlnx_formatter_pcm.c: In function 'xlnx_formatter_pcm_new':
> > sound/soc/xilinx/xlnx_formatter_pcm.c:539:9: error: void value not ignored as it ought to be
> >   return snd_pcm_lib_preallocate_pages_for_all(rtd->pcm,
> >          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >     SNDRV_DMA_TYPE_DEV, component->dev,
> >     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >     xlnx_pcm_hardware.buffer_bytes_max,
> >     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >     xlnx_pcm_hardware.buffer_bytes_max);
> >     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > sound/soc/xilinx/xlnx_formatter_pcm.c:543:1: warning: control reaches end of non-void function [-Wreturn-type]
> >  }
> >  ^
> > 
> > Caused by commit
> > 
> >   6f6c3c36f091 ("ASoC: xlnx: add pcm formatter platform driver")
> > 
> > interacting with commit
> > 
> >   9adb5165f1de ("ALSA: pcm: Define snd_pcm_lib_preallocate_*() as returning void")
> > 
> > from the sound tree.
> > 
> > I have applied the following merge fix patch for today:
> > 
> > From: Stephen Rothwell <sfr@canb.auug.org.au>
> > Date: Fri, 8 Feb 2019 13:14:24 +1100
> > Subject: [PATCH] Asoc: xlnx: fix up for snd_pcm_lib_preallocate_pages_for_all() API change
> > 
> > Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> > ---
> >  sound/soc/xilinx/xlnx_formatter_pcm.c | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> > 
> > diff --git a/sound/soc/xilinx/xlnx_formatter_pcm.c b/sound/soc/xilinx/xlnx_formatter_pcm.c
> > index 97177d35652e..dc8721f4f56b 100644
> > --- a/sound/soc/xilinx/xlnx_formatter_pcm.c
> > +++ b/sound/soc/xilinx/xlnx_formatter_pcm.c
> > @@ -536,10 +536,11 @@ static int xlnx_formatter_pcm_new(struct snd_soc_pcm_runtime *rtd)
> >  {
> >  	struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd,
> >  								    DRV_NAME);
> > -	return snd_pcm_lib_preallocate_pages_for_all(rtd->pcm,
> > +	snd_pcm_lib_preallocate_pages_for_all(rtd->pcm,
> >  			SNDRV_DMA_TYPE_DEV, component->dev,
> >  			xlnx_pcm_hardware.buffer_bytes_max,
> >  			xlnx_pcm_hardware.buffer_bytes_max);
> > +	return 0;
> >  }
> >  
> >  static const struct snd_pcm_ops xlnx_formatter_pcm_ops = {
> > -- 
> > 2.20.1
> 
> Thanks Stephen.
> 
> Mark, could you apply it on your tree?

And I already took back the API change from for-next branch for
avoiding the bisection breakage.

> Or let me pull your tree into mine.

... so Mark, please send a pull request to me for ASoC merges, so that
I can apply the API change.


thanks,

Takashi

  reply	other threads:[~2019-02-08  8:39 UTC|newest]

Thread overview: 243+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-08  2:18 linux-next: build failure after merge of the sound-asoc tree Stephen Rothwell
2019-02-08  7:37 ` Takashi Iwai
2019-02-08  8:39   ` Takashi Iwai [this message]
2019-02-08 12:53     ` Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
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 11:57     ` Mark Brown
2019-04-01 11:11       ` Michael Ellerman
2019-04-02  5:14         ` 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-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-29  1:54 Stephen Rothwell
2017-06-29  2:01 ` Bard Liao
2017-06-30  1:51   ` Stephen Rothwell
2017-07-03  3:21     ` 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  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-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-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 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=s5htvhe8yic.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=maruthi.srinivas.bayyavarapu@xilinx.com \
    --cc=sfr@canb.auug.org.au \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).