* [zen-kernel-zen-kernel:5.7/openrgb 1/1] drivers/i2c/busses/i2c-nct6775.c:93:27: warning: unused variable 'nct6775_device_names'
@ 2020-06-17 22:55 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-06-17 22:55 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1936 bytes --]
tree: https://github.com/zen-kernel/zen-kernel 5.7/openrgb
head: 7fe1bba2a5deea163ace04ce15d68e976ea478d9
commit: 7fe1bba2a5deea163ace04ce15d68e976ea478d9 [1/1] Add OpenRGB patch - 0c45e26c
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 487ca07fcc75d52755c9fe2ee05bcb3b6eeeec44)
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
git checkout 7fe1bba2a5deea163ace04ce15d68e976ea478d9
# 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@intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/i2c/busses/i2c-nct6775.c:93:27: warning: unused variable 'nct6775_device_names' [-Wunused-const-variable]
static const char * const nct6775_device_names[] = {
^
drivers/i2c/busses/i2c-nct6775.c:136:1: warning: unused function 'superio_outb' [-Wunused-function]
superio_outb(int ioreg, int reg, int val)
^
2 warnings generated.
vim +/nct6775_device_names +93 drivers/i2c/busses/i2c-nct6775.c
91
92 /* used to set data->name = nct6775_device_names[data->sio_kind] */
> 93 static const char * const nct6775_device_names[] = {
94 "nct6106",
95 "nct6775",
96 "nct6776",
97 "nct6779",
98 "nct6791",
99 "nct6792",
100 "nct6793",
101 "nct6795",
102 "nct6796",
103 "nct6798",
104 };
105
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 73974 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-17 22:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-17 22:55 [zen-kernel-zen-kernel:5.7/openrgb 1/1] drivers/i2c/busses/i2c-nct6775.c:93:27: warning: unused variable 'nct6775_device_names' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.