drivers/iio/imu/bmi323/bmi323_i2c.c:69:28: sparse: sparse: symbol 'bmi323_i2c_regmap_config' was not declared. Should it be static?
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 3ff7a5781ceee3befb9224d29cef6e6a4766c5fe commit: b512c767e7bcef308ee5b038405debf9baa9c579 [10351/16504] iio: imu: Add driver for BMI323 IMU config: sh-randconfig-r111-20231106 (https://download.01.org/0day-ci/archive/20231107/[email protected]/config) compiler: sh4-linux-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20231107/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
sparse warnings: (new ones prefixed by >>)
>> drivers/iio/imu/bmi323/bmi323_i2c.c:69:28: sparse: sparse: symbol 'bmi323_i2c_regmap_config' was not declared. Should it be static?
vim +/bmi323_i2c_regmap_config +69 drivers/iio/imu/bmi323/bmi323_i2c.c
68
> 69 const struct regmap_config bmi323_i2c_regmap_config = {
70 .reg_bits = 8,
71 .val_bits = 16,
72 .max_register = BMI323_CFG_RES_REG,
73 .val_format_endian = REGMAP_ENDIAN_LITTLE,
74 };
75 Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki