[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202509010654.5oiN6YTZ-lkp@intel.com>
Date: Mon, 1 Sep 2025 07:09:45 +0800
From: kernel test robot <lkp@...el.com>
To: Bharadwaj Raju <bharadwaj.raju777@...il.com>,
Jonathan Cameron <jic23@...nel.org>,
David Lechner <dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
shuah@...nel.org, linux-kernel-mentees@...ts.linux.dev,
Bharadwaj Raju <bharadwaj.raju777@...il.com>
Subject: Re: [PATCH 3/5] iio: imu: icm20948: add support for gyroscope
Hi Bharadwaj,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 8742b2d8935f476449ef37e263bc4da3295c7b58]
url: https://github.com/intel-lab-lkp/linux/commits/Bharadwaj-Raju/dt-bindings-iio-imu-Add-ICM-20948/20250831-024726
base: 8742b2d8935f476449ef37e263bc4da3295c7b58
patch link: https://lore.kernel.org/r/20250831-icm20948-v1-3-1fe560a38de4%40gmail.com
patch subject: [PATCH 3/5] iio: imu: icm20948: add support for gyroscope
config: arm-randconfig-r123-20250901 (https://download.01.org/0day-ci/archive/20250901/202509010654.5oiN6YTZ-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project ac23f7465eedd0dd565ffb201f573e7a69695fa3)
reproduce: (https://download.01.org/0day-ci/archive/20250901/202509010654.5oiN6YTZ-lkp@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202509010654.5oiN6YTZ-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/iio/imu/inv_icm20948/inv_icm20948_gyro.c:21:12: sparse: sparse: Initializer entry defined twice
drivers/iio/imu/inv_icm20948/inv_icm20948_gyro.c:24:12: sparse: also defined here
vim +21 drivers/iio/imu/inv_icm20948/inv_icm20948_gyro.c
11
12 /* IIO int + nano format */
13 static const int inv_icm20948_gyro_scale[] = {
14 /* 250 dps == 0.000133158 rad/s per LSB */
15 [2 * INV_ICM20948_GYRO_FS_250] = 0,
16 [2 * INV_ICM20948_GYRO_FS_250 + 1] = 133158,
17 /* 500 dps == 0.000266316 rad/s per LSB */
18 [2 * INV_ICM20948_GYRO_FS_500] = 0,
19 [2 * INV_ICM20948_GYRO_FS_500 + 1] = 266316,
20 /* 1000 dps == 0.000532632 rad/s per LSB */
> 21 [2 * INV_ICM20948_GYRO_FS_1000] = 0,
22 [2 * INV_ICM20948_GYRO_FS_1000 + 1] = 532632,
23 /* 2000 dps == 0.001065264 rad/s per LSB */
24 [2 * INV_ICM20948_GYRO_FS_1000] = 0,
25 [2 * INV_ICM20948_GYRO_FS_1000 + 1] = 1065264,
26 };
27
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists