[asahilinux:pr/46 28/34] sound/soc/codecs/tas2764.c:647:34: warning: array 'tas2764_of_match' assumed to have one element

From: kernel test robot
Date: Tue Aug 23 2022 - 00:11:36 EST


tree: https://github.com/AsahiLinux/linux pr/46
head: 5952de58993c87e5e5797ac37ef4f7364ac5ef37
commit: a29452b8c6f8d669e74cb8ae15d77d1a9a4bb261 [28/34] ASoC: tas2764: Extend driver to SN012776
config: ia64-randconfig-r016-20220821 (https://download.01.org/0day-ci/archive/20220823/202208231248.bx78rX6E-lkp@xxxxxxxxx/config)
compiler: ia64-linux-gcc (GCC) 12.1.0
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/AsahiLinux/linux/commit/a29452b8c6f8d669e74cb8ae15d77d1a9a4bb261
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux pr/46
git checkout a29452b8c6f8d669e74cb8ae15d77d1a9a4bb261
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash sound/soc/codecs/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> sound/soc/codecs/tas2764.c:647:34: warning: array 'tas2764_of_match' assumed to have one element
647 | static const struct of_device_id tas2764_of_match[];
| ^~~~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PM_GENERIC_DOMAINS_OF
Depends on [n]: PM_GENERIC_DOMAINS [=y] && OF [=n]
Selected by [y]:
- QCOM_RPMPD [=y] && PM [=y] && QCOM_SMD_RPM [=y]


vim +/tas2764_of_match +647 sound/soc/codecs/tas2764.c

646
> 647 static const struct of_device_id tas2764_of_match[];
648

--
0-DAY CI Kernel Test Service
https://01.org/lkp