All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-linux-intel-lts:5.4/preempt-rt 1346/9103] sound/soc/sof/topology.c:729:40: warning: unused variable 'stream_tokens'
@ 2020-08-06  9:43 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-08-06  9:43 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/intel/linux-intel-lts.git 5.4/preempt-rt
head:   64f494c08613ebb24a83b69223e7f90e8b7ce956
commit: dd0a11b4604af8ca61e1e578409c61227dccc3ae [1346/9103] ASoC: SOF: token: add tokens for PCM compatible with D0i3 substate
config: x86_64-randconfig-a012-20200806 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 076b120bebfd727b502208601012a44ab2e1028e)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout dd0a11b4604af8ca61e1e578409c61227dccc3ae
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

All warnings (new ones prefixed by >>):

>> sound/soc/sof/topology.c:729:40: warning: unused variable 'stream_tokens' [-Wunused-const-variable]
   static const struct sof_topology_token stream_tokens[] = {
                                          ^
   1 warning generated.

vim +/stream_tokens +729 sound/soc/sof/topology.c

   727	
   728	/* PCM */
 > 729	static const struct sof_topology_token stream_tokens[] = {
   730		{SOF_TKN_STREAM_PLAYBACK_COMPATIBLE_D0I3,
   731			SND_SOC_TPLG_TUPLE_TYPE_BOOL, get_token_u16,
   732			offsetof(struct snd_sof_pcm, stream[0].d0i3_compatible), 0},
   733		{SOF_TKN_STREAM_CAPTURE_COMPATIBLE_D0I3,
   734			SND_SOC_TPLG_TUPLE_TYPE_BOOL, get_token_u16,
   735			offsetof(struct snd_sof_pcm, stream[1].d0i3_compatible), 0},
   736	};
   737	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-06  9:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-06  9:43 [intel-linux-intel-lts:5.4/preempt-rt 1346/9103] sound/soc/sof/topology.c:729:40: warning: unused variable 'stream_tokens' kernel test robot

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.