[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202509250829.OYI9IbAs-lkp@intel.com>
Date: Thu, 25 Sep 2025 08:34:47 +0800
From: kernel test robot <lkp@...el.com>
To: Remi Buisson via B4 Relay <devnull+remi.buisson.tdk.com@...nel.org>,
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: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org, Remi Buisson <remi.buisson@....com>
Subject: Re: [PATCH v6 7/9] iio: imu: inv_icm45600: add SPI driver for
inv_icm45600 driver
Hi Remi,
kernel test robot noticed the following build errors:
[auto build test ERROR on 411e8b72c181e4f49352c12ced0fd8426eb683aa]
url: https://github.com/intel-lab-lkp/linux/commits/Remi-Buisson-via-B4-Relay/dt-bindings-iio-imu-Add-inv_icm45600/20250924-172614
base: 411e8b72c181e4f49352c12ced0fd8426eb683aa
patch link: https://lore.kernel.org/r/20250924-add_newport_driver-v6-7-76687b9d8a6e%40tdk.com
patch subject: [PATCH v6 7/9] iio: imu: inv_icm45600: add SPI driver for inv_icm45600 driver
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20250925/202509250829.OYI9IbAs-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250925/202509250829.OYI9IbAs-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/202509250829.OYI9IbAs-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/iio/imu/inv_icm45600/inv_icm45600_spi.c:24:5: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
24 | FIELD_PREP(INV_ICM45600_DRIVE_CONFIG0_SPI_MASK,
| ^
1 error generated.
vim +/FIELD_PREP +24 drivers/iio/imu/inv_icm45600/inv_icm45600_spi.c
18
19 static int inv_icm45600_spi_bus_setup(struct inv_icm45600_state *st)
20 {
21 /* Set slew rates for SPI. */
22 return regmap_update_bits(st->map, INV_ICM45600_REG_DRIVE_CONFIG0,
23 INV_ICM45600_DRIVE_CONFIG0_SPI_MASK,
> 24 FIELD_PREP(INV_ICM45600_DRIVE_CONFIG0_SPI_MASK,
25 INV_ICM45600_SPI_SLEW_RATE_5NS));
26 }
27
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists