* drivers/i2c/busses/i2c-xiic.c:994:39: warning: 'xiic_2_00' defined but not used
@ 2023-02-25 19:14 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-25 19:14 UTC (permalink / raw)
To: Raviteja Narayanam
Cc: oe-kbuild-all, linux-kernel, Wolfram Sang, Manikanta Guntupalli
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7c3dc440b1f5c75f45e24430f913e561dc82a419
commit: 2fd5cf352efa0c62dd20d1e046bc8767395b1ec0 i2c: xiic: Switch to Xiic standard mode for i2c-read
date: 3 weeks ago
config: i386-randconfig-a001 (https://download.01.org/0day-ci/archive/20230226/202302260317.PpagiXGe-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2fd5cf352efa0c62dd20d1e046bc8767395b1ec0
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 2fd5cf352efa0c62dd20d1e046bc8767395b1ec0
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 olddefconfig
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/i2c/busses/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202302260317.PpagiXGe-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/i2c/busses/i2c-xiic.c:994:39: warning: 'xiic_2_00' defined but not used [-Wunused-const-variable=]
994 | static const struct xiic_version_data xiic_2_00 = {
| ^~~~~~~~~
vim +/xiic_2_00 +994 drivers/i2c/busses/i2c-xiic.c
993
> 994 static const struct xiic_version_data xiic_2_00 = {
995 .quirks = DYNAMIC_MODE_READ_BROKEN_BIT,
996 };
997
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-25 19:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-25 19:14 drivers/i2c/busses/i2c-xiic.c:994:39: warning: 'xiic_2_00' defined but not used 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