[soc:board-remove 167/217] Warning: drivers/regulator/max8998.c:59 cannot understand function prototype: 'struct max8998_regulator_data'

kernel test robot lkp at intel.com
Mon Aug 17 09:54:20 PDT 2026


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git board-remove
head:   057394422bc04420585b2790b230d8a1f350ace8
commit: 2a3be8c163ae1aac1daaa8a851aac755698ac63d [167/217] mfd: max8998: remove pdata based probing
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20260818/202608180027.jXWV7RZS-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260818/202608180027.jXWV7RZS-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/202608180027.jXWV7RZS-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> Warning: drivers/regulator/max8998.c:59 cannot understand function prototype: 'struct max8998_regulator_data'
--
   drivers/power/supply/max8998_charger.c: In function 'max8998_battery_probe':
>> drivers/power/supply/max8998_charger.c:95:28: warning: variable 'i2c' set but not used [-Wunused-but-set-variable=]
      95 |         struct i2c_client *i2c;
         |                            ^~~

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



More information about the linux-arm-kernel mailing list