sound/soc/jz4740/jz4740-i2s.c:467:34: warning: unused variable 'jz4760_i2s_soc_info'
From: kbuild test robot
Date: Fri May 22 2020 - 18:27:17 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 444565650a5fe9c63ddf153e6198e31705dedeb2
commit: bde8ca7c87d4388e24195f6c84cd9ac775344d2b ASoC: jz4740-i2s: Add support for the JZ4760
date: 8 weeks ago
config: mips-randconfig-r014-20200522 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3393cc4cebf9969db94dc424b7a2b6195589c33b)
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 mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
git checkout bde8ca7c87d4388e24195f6c84cd9ac775344d2b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@xxxxxxxxx>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
sound/soc/jz4740/jz4740-i2s.c:462:34: warning: unused variable 'jz4740_i2s_soc_info' [-Wunused-const-variable]
static const struct i2s_soc_info jz4740_i2s_soc_info = {
^
>> sound/soc/jz4740/jz4740-i2s.c:467:34: warning: unused variable 'jz4760_i2s_soc_info' [-Wunused-const-variable]
static const struct i2s_soc_info jz4760_i2s_soc_info = {
^
sound/soc/jz4740/jz4740-i2s.c:490:34: warning: unused variable 'jz4780_i2s_soc_info' [-Wunused-const-variable]
static const struct i2s_soc_info jz4780_i2s_soc_info = {
^
3 warnings generated.
vim +/jz4760_i2s_soc_info +467 sound/soc/jz4740/jz4740-i2s.c
466
> 467 static const struct i2s_soc_info jz4760_i2s_soc_info = {
468 .version = JZ_I2S_JZ4760,
469 .dai = &jz4740_i2s_dai,
470 };
471
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip