linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [xlnx:master 11970/12287] drivers/i2c/busses/i2c-xiic.c:1134:39: warning: unused variable 'xiic_2_00'
@ 2021-06-22  7:06 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-22  7:06 UTC (permalink / raw)
  To: Raviteja Narayanam
  Cc: kbuild-all, clang-built-linux, linux-arm-kernel, Michal Simek

[-- Attachment #1: Type: text/plain, Size: 1809 bytes --]

Hi Raviteja,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx master
head:   163a7d26208a6794f595eeee3d54787df5e903d4
commit: 744f0aee09df06bac9b5c440da65697b2278b9ee [11970/12287] i2c: xiic: Switch to Xiic standard mode for i2c-read
config: x86_64-randconfig-r005-20210622 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project b3634d3e88b7f26534a5057bff182b7dced584fc)
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
        # https://github.com/Xilinx/linux-xlnx/commit/744f0aee09df06bac9b5c440da65697b2278b9ee
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx master
        git checkout 744f0aee09df06bac9b5c440da65697b2278b9ee
        # 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 >>):

>> drivers/i2c/busses/i2c-xiic.c:1134:39: warning: unused variable 'xiic_2_00' [-Wunused-const-variable]
   static const struct xiic_version_data xiic_2_00 = {
                                         ^
   1 warning generated.


vim +/xiic_2_00 +1134 drivers/i2c/busses/i2c-xiic.c

  1133	
> 1134	static const struct xiic_version_data xiic_2_00 = {
  1135		.quirks = DYNAMIC_MODE_READ_BROKEN_BIT,
  1136	};
  1137	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36942 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-22  7:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-22  7:06 [xlnx:master 11970/12287] drivers/i2c/busses/i2c-xiic.c:1134:39: warning: unused variable 'xiic_2_00' 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).