tree:
https://github.com/plbossart/sound pr/25
head: b4029a7d718a1281309cf2d46f2a52930d8f9ce4
commit: b4029a7d718a1281309cf2d46f2a52930d8f9ce4 [4/4] add support for es8326
config: riscv-randconfig-r042-20220208
(
https://download.01.org/0day-ci/archive/20220208/202202082002.nxuBEYxb-lk...)
compiler: clang version 15.0.0 (
https://github.com/llvm/llvm-project
e8bff9ae54a55b4dbfeb6ba55f723abbd81bf494)
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 riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
#
https://github.com/plbossart/sound/commit/b4029a7d718a1281309cf2d46f2a529...
git remote add plbossart-sound
https://github.com/plbossart/sound
git fetch --no-tags plbossart-sound pr/25
git checkout b4029a7d718a1281309cf2d46f2a52930d8f9ce4
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir
ARCH=riscv SHELL=/bin/bash sound/soc/codecs/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> sound/soc/codecs/es8326.c:601:4: error: field designator
'symmetric_rates' does not refer to any field in type 'struct
snd_soc_dai_driver'; did you mean 'symmetric_rate'?
.symmetric_rates = 1,
^~~~~~~~~~~~~~~
symmetric_rate
include/sound/soc-dai.h:411:15: note: 'symmetric_rate' declared here
unsigned int symmetric_rate:1;
^
1 error generated.
vim +601 sound/soc/codecs/es8326.c
583
584 static struct snd_soc_dai_driver es8326_dai = {
585 .name = "ES8326 HiFi",
586 .playback = {
587 .stream_name = "Playback",
588 .channels_min = 1,
589 .channels_max = 2,
590 .rates = es8326_RATES,
591 .formats = es8326_FORMATS,
592 },
593 .capture = {
594 .stream_name = "Capture",
595 .channels_min = 1,
596 .channels_max = 2,
597 .rates = es8326_RATES,
598 .formats = es8326_FORMATS,
599 },
600 .ops = &es8326_ops,
601 .symmetric_rates = 1,
602 };
603
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org