Hi Stephan, I love your patch! Perhaps something to improve: [auto build test WARNING on rafael-pm/thermal] [also build test WARNING on linus/master v6.3-rc1 next-20230309] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Stephan-Gerhold/thermal-qcom-tsens-Drop-unused-legacy-structs/20230308-214702 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git thermal patch link: https://lore.kernel.org/r/20230308131041.124482-3-stephan.gerhold%40kernkonzept.com patch subject: [PATCH v2 2/6] thermal: qcom: tsens-v0_1: Fix mdm9607 slope values config: arm-defconfig (https://download.01.org/0day-ci/archive/20230309/202303091900.XYo6NJrL-lkp@xxxxxxxxx/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7) 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 # https://github.com/intel-lab-lkp/linux/commit/3794cf582a2a9b64fabba0c34ec4a1f87571247a git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Stephan-Gerhold/thermal-qcom-tsens-Drop-unused-legacy-structs/20230308-214702 git checkout 3794cf582a2a9b64fabba0c34ec4a1f87571247a # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/thermal/qcom/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Link: https://lore.kernel.org/oe-kbuild-all/202303091900.XYo6NJrL-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> drivers/thermal/qcom/tsens-v0_1.c:284:31: warning: unused variable 'ops_v0_1' [-Wunused-const-variable] static const struct tsens_ops ops_v0_1 = { ^ 1 warning generated. vim +/ops_v0_1 +284 drivers/thermal/qcom/tsens-v0_1.c c19970548edc35 Amit Kucheria 2019-03-20 283 51d78b8b1beba2 Dmitry Baryshkov 2023-01-01 @284 static const struct tsens_ops ops_v0_1 = { 51d78b8b1beba2 Dmitry Baryshkov 2023-01-01 285 .init = init_common, 51d78b8b1beba2 Dmitry Baryshkov 2023-01-01 286 .calibrate = tsens_calibrate_common, 51d78b8b1beba2 Dmitry Baryshkov 2023-01-01 287 .get_temp = get_temp_common, 51d78b8b1beba2 Dmitry Baryshkov 2023-01-01 288 }; 51d78b8b1beba2 Dmitry Baryshkov 2023-01-01 289 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests