[PATCH 20/34] mfd: sec: rework platform data and regmap instantiating

kernel test robot lkp at intel.com
Sun Mar 23 22:09:59 PDT 2025


Hi André,

kernel test robot noticed the following build warnings:

[auto build test WARNING on c4d4884b67802c41fd67399747165d65c770621a]

url:    https://github.com/intel-lab-lkp/linux/commits/Andr-Draszik/dt-bindings-mfd-samsung-s2mps11-add-s2mpg10/20250324-064418
base:   c4d4884b67802c41fd67399747165d65c770621a
patch link:    https://lore.kernel.org/r/20250323-s2mpg10-v1-20-d08943702707%40linaro.org
patch subject: [PATCH 20/34] mfd: sec: rework platform data and regmap instantiating
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20250324/202503241201.amdeUwuc-lkp@intel.com/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/20250324/202503241201.amdeUwuc-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202503241201.amdeUwuc-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/mfd/sec-i2c.c:206:48: warning: 's2mps14_data' defined but not used [-Wunused-const-variable=]
     206 | static const struct sec_pmic_i2c_platform_data s2mps14_data = {
         |                                                ^~~~~~~~~~~~


vim +/s2mps14_data +206 drivers/mfd/sec-i2c.c

   205	
 > 206	static const struct sec_pmic_i2c_platform_data s2mps14_data = {
   207		.regmap_cfg = &s2mps14_regmap_config,
   208		.device_type = S2MPS14X,
   209	};
   210	

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



More information about the linux-arm-kernel mailing list