Hi Chris, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on hwmon/hwmon-next] [also build test WARNING on v5.8-rc3 next-20200703] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Chris-Ruehl/hwmon-shtc1-add-support-for-device-tree-bindings/20200703-124921 base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next config: arm-randconfig-r012-20200701 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project ca464639a1c9dd3944eb055ffd2796e8c2e7639f) 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 arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): >> drivers/hwmon/shtc1.c:282:34: warning: unused variable 'shtc1_of_match' [-Wunused-const-variable] static const struct of_device_id shtc1_of_match[] = { ^ 1 warning generated. vim +/shtc1_of_match +282 drivers/hwmon/shtc1.c 280 281 #ifdef CONFIG_OF > 282 static const struct of_device_id shtc1_of_match[] = { 283 { .compatible = "sensirion,shtc1" }, 284 { .compatible = "sensirion,shtw1" }, 285 { .compatible = "sensirion,shtc3" }, 286 { } 287 }; 288 MODULE_DEVICE_TABLE(of, shtc1_of_match); 289 #endif 290 static struct i2c_driver shtc1_i2c_driver = { 291 .driver.name = "shtc1", 292 .probe = shtc1_probe, 293 .id_table = shtc1_id, 294 }; 295 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip