Re: [PATCH v1 4/5] ASoC: tas2781: Add tas2781 driver

From: kernel test robot
Date: Tue May 02 2023 - 08:28:34 EST


Hi Shenghao,

kernel test robot noticed the following build errors:

[auto build test ERROR on broonie-sound/for-next]
[also build test ERROR on tiwai-sound/for-next tiwai-sound/for-linus linus/master v6.3 next-20230428]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Shenghao-Ding/ASoC-dt-bindings-Add-tas2781-amplifier/20230502-133533
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
patch link: https://lore.kernel.org/r/20230502053254.27085-1-13916275206%40139.com
patch subject: [PATCH v1 4/5] ASoC: tas2781: Add tas2781 driver
config: hexagon-randconfig-r045-20230430 (https://download.01.org/0day-ci/archive/20230502/202305022033.LiI7Ojm4-lkp@xxxxxxxxx/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project b1465cd49efcbc114a75220b153f5a055ce7911f)
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
# https://github.com/intel-lab-lkp/linux/commit/2ce0b86d1a6546d78dc4151d98a67537b8cc8669
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Shenghao-Ding/ASoC-dt-bindings-Add-tas2781-amplifier/20230502-133533
git checkout 2ce0b86d1a6546d78dc4151d98a67537b8cc8669
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Link: https://lore.kernel.org/oe-kbuild-all/202305022033.LiI7Ojm4-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> ld.lld: error: duplicate symbol: dvc_tlv
>>> defined at tas2781.h:148 (include/sound/tas2781.h:148)
>>> drivers/firmware/ti/tasdevice-fmw.o:(dvc_tlv) in archive vmlinux.a
>>> defined at tas2781.h:148 (include/sound/tas2781.h:148)
>>> sound/soc/codecs/tas2781-lib.o:(.rodata+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: amp_vol_tlv
>>> defined at tas2781.h:149 (include/sound/tas2781.h:149)
>>> drivers/firmware/ti/tasdevice-fmw.o:(amp_vol_tlv) in archive vmlinux.a
>>> defined at tas2781.h:149 (include/sound/tas2781.h:149)
>>> sound/soc/codecs/tas2781-lib.o:(.rodata+0x10) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: dvc_tlv
>>> defined at tas2781.h:148 (include/sound/tas2781.h:148)
>>> drivers/firmware/ti/tasdevice-fmw.o:(dvc_tlv) in archive vmlinux.a
>>> defined at tas2781.h:148 (include/sound/tas2781.h:148)
>>> sound/soc/codecs/tas2781-i2c.o:(.rodata+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: amp_vol_tlv
>>> defined at tas2781.h:149 (include/sound/tas2781.h:149)
>>> drivers/firmware/ti/tasdevice-fmw.o:(amp_vol_tlv) in archive vmlinux.a
>>> defined at tas2781.h:149 (include/sound/tas2781.h:149)
>>> sound/soc/codecs/tas2781-i2c.o:(.rodata+0x10) in archive vmlinux.a

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests