All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [intel-linux-intel-lts:5.4/preempt-rt 1346/9103] sound/soc/sof/topology.c:729:40: warning: unused variable 'stream_tokens'
Date: Thu, 06 Aug 2020 17:43:13 +0800	[thread overview]
Message-ID: <202008061710.BLdvJrLP%lkp@intel.com> (raw)

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

                 reply	other threads:[~2020-08-06  9:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202008061710.BLdvJrLP%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.