[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202012270811.Z0bXODDz-lkp@intel.com>
Date: Sun, 27 Dec 2020 08:47:14 +0800
From: kernel test robot <lkp@...el.com>
To: Pawel Czarnecki <pczarnecki@...ernships.antmicro.com>
Cc: kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
linux-kernel@...r.kernel.org, Stafford Horne <shorne@...il.com>,
Mateusz Holenko <mholenko@...micro.com>
Subject: drivers/soc/litex/litex_soc_ctrl.c:143:34: warning: unused variable
'litex_soc_ctrl_of_match'
Hi Pawel,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f838f8d2b694cf9d524dc4423e9dd2db13892f3f
commit: 22447a99c97e353bde8f90c2353873f27681d57c drivers/soc/litex: add LiteX SoC Controller driver
date: 7 weeks ago
config: arm-randconfig-r011-20201220 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project cee1e7d14f4628d6174b33640d502bff3b54ae45)
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/torvalds/linux.git/commit/?id=22447a99c97e353bde8f90c2353873f27681d57c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 22447a99c97e353bde8f90c2353873f27681d57c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
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 >>):
>> drivers/soc/litex/litex_soc_ctrl.c:143:34: warning: unused variable 'litex_soc_ctrl_of_match' [-Wunused-const-variable]
static const struct of_device_id litex_soc_ctrl_of_match[] = {
^
1 warning generated.
vim +/litex_soc_ctrl_of_match +143 drivers/soc/litex/litex_soc_ctrl.c
142
> 143 static const struct of_device_id litex_soc_ctrl_of_match[] = {
144 {.compatible = "litex,soc-controller"},
145 {},
146 };
147
---
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" (23423 bytes)
Powered by blists - more mailing lists