[asahilinux:bits/070-audio 6/33] sound/soc/codecs/tas2764.c:739:34: warning: array 'tas2764_of_match' assumed to have one element

From: kernel test robot
Date: Fri Sep 23 2022 - 04:53:54 EST


tree: https://github.com/AsahiLinux/linux bits/070-audio
head: 5052d0fa99604a162270274e7a22a111862d824f
commit: 040ba7fbccbd82b839c15f7e80deb6dd58190be4 [6/33] ASoC: tas2764: Extend driver to SN012776
config: mips-randconfig-r013-20220922 (https://download.01.org/0day-ci/archive/20220923/202209231658.cpB5WUql-lkp@xxxxxxxxx/config)
compiler: mipsel-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/040ba7fbccbd82b839c15f7e80deb6dd58190be4
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux bits/070-audio
git checkout 040ba7fbccbd82b839c15f7e80deb6dd58190be4
# 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=mips 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:739:34: warning: array 'tas2764_of_match' assumed to have one element
739 | static const struct of_device_id tas2764_of_match[];
| ^~~~~~~~~~~~~~~~


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

738
> 739 static const struct of_device_id tas2764_of_match[];
740

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