Re: [PATCH v9 6/6] iio: imu: st_lsm6dsx: Add support for rotation sensor
From: kernel test robot
Date: Wed Mar 25 2026 - 15:21:22 EST
Hi Francesco,
kernel test robot noticed the following build errors:
[auto build test ERROR on next-20260323]
[cannot apply to jic23-iio/togreg linus/master v7.0-rc5 v7.0-rc4 v7.0-rc3 v7.0-rc5]
[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/Francesco-Lavra/iio-imu-st_lsm6dsx-Fix-check-for-invalid-samples-from-FIFO/20260325-021519
base: next-20260323
patch link: https://lore.kernel.org/r/20260324084808.654118-1-flavra%40baylibre.com
patch subject: [PATCH v9 6/6] iio: imu: st_lsm6dsx: Add support for rotation sensor
config: parisc-randconfig-r072-20260326 (https://download.01.org/0day-ci/archive/20260326/202603260349.g0aoRPw8-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 8.5.0
smatch: v0.5.0-9004-gb810ac53
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260326/202603260349.g0aoRPw8-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/202603260349.g0aoRPw8-lkp@xxxxxxxxx/
All error/warnings (new ones prefixed by >>):
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_fusion.c: In function 'st_lsm6dsx_fusion_set_odr':
>> drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_fusion.c:137:1: error: label at end of compound statement
out:
^~~
>> drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_fusion.c:137:1: warning: label 'out' defined but not used [-Wunused-label]
vim +137 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_fusion.c
117
118 int st_lsm6dsx_fusion_set_odr(struct st_lsm6dsx_sensor *sensor, bool enable)
119 {
120 struct st_lsm6dsx_hw *hw = sensor->hw;
121 int err;
122
123 guard(mutex)(&hw->page_lock);
124
125 err = st_lsm6dsx_fusion_page_enable(hw);
126 if (err)
127 return err;
128
129 err = st_lsm6dsx_fusion_set_odr_locked(sensor, enable);
130 if (err) {
131 st_lsm6dsx_fusion_page_disable(hw);
132 return err;
133 }
134
135 return st_lsm6dsx_fusion_page_disable(hw);
136
> 137 out:
138 }
139
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki