Hi Keyon,
FYI, the error/warning still remains.
tree:
https://github.com/intel/linux-intel-lts.git 5.4/preempt-rt
head: e00ce2dbe204df8675b04a820f6a4e6fc0f784b1
commit: dd0a11b4604af8ca61e1e578409c61227dccc3ae [1346/11140] ASoC: SOF: token: add tokens
for PCM compatible with D0i3 substate
config: x86_64-randconfig-a014-20200916 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
9e3842d60351f986d77dfe0a94f76e4fd895f188)
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(a)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.
#
https://github.com/intel/linux-intel-lts/commit/dd0a11b4604af8ca61e1e5784...
git remote add intel-linux-intel-lts
https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-linux-intel-lts 5.4/preempt-rt
git checkout dd0a11b4604af8ca61e1e578409c61227dccc3ae
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@lists.01.org