Re: [PATCH v2 2/2] thermal: qcom: tsens: widen temperature limits to match hardware range
From: kernel test robot
Date: Thu May 14 2026 - 15:17:02 EST
Hi Priyansh,
kernel test robot noticed the following build warnings:
[auto build test WARNING on rafael-pm/thermal]
[also build test WARNING on linus/master v7.1-rc3 next-20260508]
[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/Priyansh-Jain/thermal-qcom-tsens-atomic-temperature-read-with-hardware-guided-retries/20260514-191243
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git thermal
patch link: https://lore.kernel.org/r/20260508100700.772985-3-priyansh.jain%40oss.qualcomm.com
patch subject: [PATCH v2 2/2] thermal: qcom: tsens: widen temperature limits to match hardware range
config: sparc64-allmodconfig (https://download.01.org/0day-ci/archive/20260515/202605150330.xjoMIJFw-lkp@xxxxxxxxx/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260515/202605150330.xjoMIJFw-lkp@xxxxxxxxx/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202605150330.xjoMIJFw-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> drivers/thermal/qcom/tsens.c:818:3: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
818 | return ret;
| ^
drivers/thermal/qcom/tsens.c:815:2: note: previous statement is here
815 | if (!ret)
| ^
1 warning generated.
vim +/if +818 drivers/thermal/qcom/tsens.c
806
807 int get_temp_tsens_valid(const struct tsens_sensor *s, int *temp)
808 {
809 int ret;
810 int hw_id = s->hw_id;
811 u32 temp_idx = LAST_TEMP_0 + hw_id;
812
813 ret = tsens_read_temp(s, temp_idx, temp);
814
815 if (!ret)
816 *temp = tsens_hw_to_mC(s, *temp);
817
> 818 return ret;
819 }
820
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki