[broonie-ci:20220920_kuninori_morimoto_gx_asoc_soc_h_random_cleanup 35/44] sound/soc/sunxi/sun50i-dmic.c:268:34: warning: unused variable 'sun50i_dmic_of_match'

From: kernel test robot
Date: Tue Sep 20 2022 - 15:23:30 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git 20220920_kuninori_morimoto_gx_asoc_soc_h_random_cleanup
head: 3289dc026a8cf5d6469eb49d838bc971f4370f9d
commit: 9fc2c8ed923d8ec8a49cf5b5076c84867126ca69 [35/44] ASoC: sunxi: Add Allwinner H6 Digital MIC driver
config: arm-randconfig-r024-20220921 (https://download.01.org/0day-ci/archive/20220921/202209210327.k80A7Kzb-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git/commit/?id=9fc2c8ed923d8ec8a49cf5b5076c84867126ca69
git remote add broonie-ci https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git
git fetch --no-tags broonie-ci 20220920_kuninori_morimoto_gx_asoc_soc_h_random_cleanup
git checkout 9fc2c8ed923d8ec8a49cf5b5076c84867126ca69
# 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=arm SHELL=/bin/bash sound/soc/sunxi/

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/sunxi/sun50i-dmic.c:268:34: warning: unused variable 'sun50i_dmic_of_match' [-Wunused-const-variable]
static const struct of_device_id sun50i_dmic_of_match[] = {
^
1 warning generated.


vim +/sun50i_dmic_of_match +268 sound/soc/sunxi/sun50i-dmic.c

267
> 268 static const struct of_device_id sun50i_dmic_of_match[] = {
269 {
270 .compatible = "allwinner,sun50i-h6-dmic",
271 },
272 { /* sentinel */ }
273 };
274 MODULE_DEVICE_TABLE(of, sun50i_dmic_of_match);
275

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