[linux-next:master 10351/16504] drivers/iio/imu/bmi323/bmi323_i2c.c:69:28: sparse: sparse: symbol 'bmi323_i2c_regmap_config' was not declared. Should it be static?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   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/202311070530.qKhLTz1Y-lkp@xxxxxxxxx/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231107/202311070530.qKhLTz1Y-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/202311070530.qKhLTz1Y-lkp@xxxxxxxxx/

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	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux