All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [alsa-devel] [PATCH RFC v3 4/4] ASoC: return error if the function is not support multi cpu yet.
Date: Sun, 19 Jan 2020 23:24:01 +0800	[thread overview]
Message-ID: <202001192322.sQ6amaO2%lkp@intel.com> (raw)
In-Reply-To: <20200116202620.7401-5-yung-chuan.liao@linux.intel.com>

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

Hi Bard,

[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on asoc/for-next]
[also build test WARNING on next-20200117]
[cannot apply to sound/for-next v5.5-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Bard-liao/ASoC-Add-Multi-CPU-DAI-support/20200118-060035
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: nds32-allmodconfig (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=9.2.0 make.cross ARCH=nds32 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   sound/soc/soc-generic-dmaengine-pcm.c: In function 'dmaengine_pcm_compat_request_channel':
>> sound/soc/soc-generic-dmaengine-pcm.c:201:10: warning: returning 'int' from a function with return type 'struct dma_chan *' makes pointer from integer without a cast [-Wint-conversion]
     201 |   return -EINVAL;
         |          ^

vim +201 sound/soc/soc-generic-dmaengine-pcm.c

   188	
   189	static struct dma_chan *dmaengine_pcm_compat_request_channel(
   190		struct snd_soc_component *component,
   191		struct snd_soc_pcm_runtime *rtd,
   192		struct snd_pcm_substream *substream)
   193	{
   194		struct dmaengine_pcm *pcm = soc_component_to_pcm(component);
   195		struct snd_dmaengine_dai_dma_data *dma_data;
   196		dma_filter_fn fn = NULL;
   197	
   198		if (rtd->num_cpus > 1) {
   199			dev_err(rtd->dev,
   200				 "%s doesn't support Multi CPU yet\n", __func__);
 > 201			return -EINVAL;
   202		}
   203	
   204		dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream);
   205	
   206		if ((pcm->flags & SND_DMAENGINE_PCM_FLAG_HALF_DUPLEX) && pcm->chan[0])
   207			return pcm->chan[0];
   208	
   209		if (pcm->config && pcm->config->compat_request_channel)
   210			return pcm->config->compat_request_channel(rtd, substream);
   211	
   212		if (pcm->config)
   213			fn = pcm->config->compat_filter_fn;
   214	
   215		return snd_dmaengine_pcm_request_channel(fn, dma_data->filter_data);
   216	}
   217	

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 53711 bytes --]

  parent reply	other threads:[~2020-01-19 15:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-16 20:26 [alsa-devel] [PATCH RFC v3 0/4] ASoC: Add Multi CPU DAI support Bard liao
2020-01-16 20:26 ` [alsa-devel] [PATCH RFC v3 1/4] ASoC: Add initial support for multiple CPU DAIs Bard liao
2020-01-16 20:26 ` [alsa-devel] [PATCH RFC v3 2/4] ASoC: Add multiple CPU DAI support for PCM ops Bard liao
2020-01-17 11:10   ` Pierre-Louis Bossart
2020-01-20 11:01     ` Liao, Bard
2020-01-16 20:26 ` [alsa-devel] [PATCH RFC v3 3/4] ASoC: Add multiple CPU DAI support in DAPM Bard liao
2020-01-17 11:19   ` Pierre-Louis Bossart
2020-01-16 20:26 ` [alsa-devel] [PATCH RFC v3 4/4] ASoC: return error if the function is not support multi cpu yet Bard liao
2020-01-17 11:24   ` Pierre-Louis Bossart
2020-01-18  2:27   ` kbuild test robot
2020-01-18 20:44   ` kbuild test robot
2020-01-19 15:24   ` kbuild test robot [this message]
2020-01-17 11:27 ` [alsa-devel] [PATCH RFC v3 0/4] ASoC: Add Multi CPU DAI support Pierre-Louis Bossart

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=202001192322.sQ6amaO2%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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.