[linux-next:master 10319/16858] drivers/iio/imu/bmi323/bmi323_spi.c:44:28: sparse: sparse: symbol 'bmi323_spi_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:   8728c14129df7a6e29188a2e737b4774fb200953
commit: b512c767e7bcef308ee5b038405debf9baa9c579 [10319/16858] iio: imu: Add driver for BMI323 IMU
config: i386-randconfig-063-20231111 (https://download.01.org/0day-ci/archive/20231111/202311110902.HjNmBOUN-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231111/202311110902.HjNmBOUN-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/202311110902.HjNmBOUN-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> drivers/iio/imu/bmi323/bmi323_spi.c:44:28: sparse: sparse: symbol 'bmi323_spi_regmap_config' was not declared. Should it be static?

vim +/bmi323_spi_regmap_config +44 drivers/iio/imu/bmi323/bmi323_spi.c

    43	
  > 44	const struct regmap_config bmi323_spi_regmap_config = {
    45		.reg_bits = 8,
    46		.val_bits = 16,
    47		.pad_bits = 8,
    48		.read_flag_mask = BIT(7),
    49		.max_register = BMI323_CFG_RES_REG,
    50		.val_format_endian = REGMAP_ENDIAN_LITTLE,
    51	};
    52	

-- 
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