[xlnx:xlnx_rebase_v5.10 1449/1757] drivers/i2c/busses/i2c-xiic.c:1134:39: warning: unused variable 'xiic_2_00'
kernel test robot
lkp at intel.com
Wed Jul 28 16:31:10 PDT 2021
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.10
head: 3811d401024ee0113119c7673e70570e35d2610d
commit: 7dec447a8d4279154a4f2342c5b453f2fa9e9671 [1449/1757] i2c: xiic: Switch to Xiic standard mode for i2c-read
config: x86_64-randconfig-a011-20210728 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project c49df15c278857adecd12db6bb1cdc96885f7079)
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/7dec447a8d4279154a4f2342c5b453f2fa9e9671
git remote add xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xlnx xlnx_rebase_v5.10
git checkout 7dec447a8d4279154a4f2342c5b453f2fa9e9671
# 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 32250 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210729/06e86ff1/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list