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 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