Hi Naresh, kernel test robot noticed the following build warnings: [auto build test WARNING on 1d4d6733594d407e54153b8e031ba6356ceba81e] url: https://github.com/intel-lab-lkp/linux/commits/Naresh-Solanki/hwmon-max6639-Use-regmap/20240503-024046 base: 1d4d6733594d407e54153b8e031ba6356ceba81e patch link: https://lore.kernel.org/r/20240502183604.1216576-1-naresh.solanki%409elements.com patch subject: [PATCH v3] hwmon (max6639): Use regmap config: i386-buildonly-randconfig-003-20240503 (https://download.01.org/0day-ci/archive/20240503/202405031504.sA1rmWDu-lkp@xxxxxxxxx/config) compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240503/202405031504.sA1rmWDu-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/202405031504.sA1rmWDu-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): drivers/hwmon/max6639.c: In function 'max6639_suspend': >> drivers/hwmon/max6639.c:540:13: warning: unused variable 'ret' [-Wunused-variable] 540 | int ret; | ^~~ vim +/ret +540 drivers/hwmon/max6639.c 536 537 static int max6639_suspend(struct device *dev) 538 { 539 struct max6639_data *data = dev_get_drvdata(dev); > 540 int ret; 541 542 if (data->reg) 543 regulator_disable(data->reg); 544 545 return regmap_write_bits(data->regmap, MAX6639_REG_GCONFIG, MAX6639_GCONFIG_STANDBY, 546 MAX6639_GCONFIG_STANDBY); 547 } 548 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki