* drivers/hwmon/pmbus/xdpe12284.c:127:36: warning: unused variable 'xdpe122_reg_desc'
@ 2022-03-25 16:35 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-25 16:35 UTC (permalink / raw)
To: Marcello Sylvester Bauer; +Cc: llvm, kbuild-all, linux-kernel, Guenter Roeck
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 34af78c4e616c359ed428d79fe4758a35d2c5473
commit: f53bfe4d698430bd602c37042db4021dc2603b8d hwmon: (xdpe12284) Add regulator support
date: 3 weeks ago
config: hexagon-randconfig-r041-20220325 (https://download.01.org/0day-ci/archive/20220326/202203260059.nMMU6fdT-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d)
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=f53bfe4d698430bd602c37042db4021dc2603b8d
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout f53bfe4d698430bd602c37042db4021dc2603b8d
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/hwmon/pmbus/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/hwmon/pmbus/xdpe12284.c:127:36: warning: unused variable 'xdpe122_reg_desc' [-Wunused-const-variable]
static const struct regulator_desc xdpe122_reg_desc[] = {
^
1 warning generated.
vim +/xdpe122_reg_desc +127 drivers/hwmon/pmbus/xdpe12284.c
126
> 127 static const struct regulator_desc xdpe122_reg_desc[] = {
128 PMBUS_REGULATOR("vout", 0),
129 PMBUS_REGULATOR("vout", 1),
130 };
131
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-25 16:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-25 16:35 drivers/hwmon/pmbus/xdpe12284.c:127:36: warning: unused variable 'xdpe122_reg_desc' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).