tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 435faf5c218a47fd6258187f62d9bb1009717896 commit: 4a0434502191347ba8f99468f2fb2cdddc20d381 ASoC: amd: Removing unnecessary instance initialization date: 8 days ago config: i386-randconfig-r014-20200605 (attached as .config) compiler: gcc-9 (Debian 9.3.0-13) 9.3.0 reproduce (this is a W=1 build): git checkout 4a0434502191347ba8f99468f2fb2cdddc20d381 # save the attached .config to linux build tree make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <l...@intel.com> All warnings (new ones prefixed by >>, old ones prefixed by <<): sound/soc/amd/raven/acp3x-pcm-dma.c: In function 'acp3x_dma_pointer': >> sound/soc/amd/raven/acp3x-pcm-dma.c:305:23: warning: variable 'card' set but >> not used [-Wunused-but-set-variable] 305 | struct snd_soc_card *card; | ^~~~ vim +/card +305 sound/soc/amd/raven/acp3x-pcm-dma.c 0b87d6bcd6482b Vijendar Mukunda 2018-11-12 300 f52368f36443b4 Kuninori Morimoto 2019-10-02 301 static snd_pcm_uframes_t acp3x_dma_pointer(struct snd_soc_component *component, f52368f36443b4 Kuninori Morimoto 2019-10-02 302 struct snd_pcm_substream *substream) 0b87d6bcd6482b Vijendar Mukunda 2018-11-12 303 { 703a6e22888be4 Ravulapati Vishnu vardhan rao 2019-12-28 304 struct snd_soc_pcm_runtime *prtd; 703a6e22888be4 Ravulapati Vishnu vardhan rao 2019-12-28 @305 struct snd_soc_card *card; c9fe7db6e884d0 Ravulapati Vishnu vardhan rao 2019-12-28 306 struct i2s_stream_instance *rtd; c9fe7db6e884d0 Ravulapati Vishnu vardhan rao 2019-12-28 307 u32 pos; c9fe7db6e884d0 Ravulapati Vishnu vardhan rao 2019-12-28 308 u32 buffersize; c9fe7db6e884d0 Ravulapati Vishnu vardhan rao 2019-12-28 309 u64 bytescount; 35a7086eaa057a Ravulapati Vishnu vardhan rao 2019-05-10 310 703a6e22888be4 Ravulapati Vishnu vardhan rao 2019-12-28 311 prtd = substream->private_data; 703a6e22888be4 Ravulapati Vishnu vardhan rao 2019-12-28 312 card = prtd->card; c9fe7db6e884d0 Ravulapati Vishnu vardhan rao 2019-12-28 313 rtd = substream->runtime->private_data; 703a6e22888be4 Ravulapati Vishnu vardhan rao 2019-12-28 314 35a7086eaa057a Ravulapati Vishnu vardhan rao 2019-05-10 315 buffersize = frames_to_bytes(substream->runtime, 35a7086eaa057a Ravulapati Vishnu vardhan rao 2019-05-10 316 substream->runtime->buffer_size); 35a7086eaa057a Ravulapati Vishnu vardhan rao 2019-05-10 317 bytescount = acp_get_byte_count(rtd, substream->stream); 35a7086eaa057a Ravulapati Vishnu vardhan rao 2019-05-10 318 if (bytescount > rtd->bytescount) 35a7086eaa057a Ravulapati Vishnu vardhan rao 2019-05-10 319 bytescount -= rtd->bytescount; 35a7086eaa057a Ravulapati Vishnu vardhan rao 2019-05-10 320 pos = do_div(bytescount, buffersize); 0b87d6bcd6482b Vijendar Mukunda 2018-11-12 321 return bytes_to_frames(substream->runtime, pos); 0b87d6bcd6482b Vijendar Mukunda 2018-11-12 322 } 0b87d6bcd6482b Vijendar Mukunda 2018-11-12 323 :::::: The code at line 305 was first introduced by commit :::::: 703a6e22888be41531461ad99ff6c25cd54a5ddf ASoC: amd: Enabling I2S instance in DMA and DAI :::::: TO: Ravulapati Vishnu vardhan rao <vishnuvardhanrao.ravulap...@amd.com> :::::: CC: Mark Brown <broo...@kernel.org> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org
.config.gz
Description: application/gzip