From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [zen-kernel-zen-kernel:5.7/openrgb 1/1] drivers/i2c/busses/i2c-nct6775.c:93:27: warning: unused variable 'nct6775_device_names'
Date: Thu, 18 Jun 2020 06:55:02 +0800 [thread overview]
Message-ID: <202006180659.56DPdGll%lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2020-06-17 22:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202006180659.56DPdGll%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.