[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202009270937.heiXv8DT%lkp@intel.com>
Date: Sun, 27 Sep 2020 09:43:42 +0800
From: kernel test robot <lkp@...el.com>
To: Jerome Brunet <jbrunet@...libre.com>
Cc: kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
linux-kernel@...r.kernel.org, Mark Brown <broonie@...nel.org>
Subject: sound/soc/meson/t9015.c:315:34: warning: unused variable 't9015_ids'
Hi Jerome,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a1bffa48745afbb54cb4f873bba783b2ae8be042
commit: 33901f5b9b16d212ee58865e9e8e80fc813f12da ASoC: meson: add t9015 internal DAC driver
date: 7 months ago
config: x86_64-randconfig-r033-20200927 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a83eb048cb9a75da7a07a9d5318bbdbf54885c87)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=33901f5b9b16d212ee58865e9e8e80fc813f12da
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 33901f5b9b16d212ee58865e9e8e80fc813f12da
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> sound/soc/meson/t9015.c:315:34: warning: unused variable 't9015_ids' [-Wunused-const-variable]
static const struct of_device_id t9015_ids[] = {
^
1 warning generated.
vim +/t9015_ids +315 sound/soc/meson/t9015.c
314
> 315 static const struct of_device_id t9015_ids[] = {
316 { .compatible = "amlogic,t9015", },
317 { }
318 };
319 MODULE_DEVICE_TABLE(of, t9015_ids);
320
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (41508 bytes)
Powered by blists - more mailing lists