[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210181243.A4gJF6WA-lkp@intel.com>
Date: Tue, 18 Oct 2022 12:29:04 +0800
From: kernel test robot <lkp@...el.com>
To: Matt Flax <flatmax@...tmax.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, Mark Brown <broonie@...nel.org>
Subject: sound/soc/codecs/src4xxx-i2c.c:28:34: warning: unused variable
'src4xxx_of_match'
Hi Matt,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: bb1a1146467ad812bb65440696df0782e2bc63c8
commit: 4e6bedd3c396014ba70de2b4c9995c8e024e82b3 ASoC: codecs: add support for the TI SRC4392 codec
date: 9 weeks ago
config: hexagon-randconfig-r024-20221017
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4e6bedd3c396014ba70de2b4c9995c8e024e82b3
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 4e6bedd3c396014ba70de2b4c9995c8e024e82b3
# 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 SHELL=/bin/bash sound/soc/codecs/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> sound/soc/codecs/src4xxx-i2c.c:28:34: warning: unused variable 'src4xxx_of_match' [-Wunused-const-variable]
static const struct of_device_id src4xxx_of_match[] = {
^
1 warning generated.
vim +/src4xxx_of_match +28 sound/soc/codecs/src4xxx-i2c.c
27
> 28 static const struct of_device_id src4xxx_of_match[] = {
29 { .compatible = "ti,src4392", },
30 { }
31 };
32 MODULE_DEVICE_TABLE(of, src4xxx_of_match);
33
34
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (136087 bytes)
Powered by blists - more mailing lists