tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge head: 2cff74feed4a2a3a1c220e0ee2838b85b08d4999 commit: 88af8b66ffedcad8c5a1522f6a9c02bf8129a951 [48/94] thermal: amlogic: Convert to platform remove callback returning void config: arm-randconfig-004-20230929 (https://download.01.org/0day-ci/archive/20230929/202309291214.Hjn3gJ94-lkp@xxxxxxxxx/config) compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230929/202309291214.Hjn3gJ94-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/202309291214.Hjn3gJ94-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): drivers/thermal/amlogic_thermal.c: In function 'amlogic_thermal_suspend': >> drivers/thermal/amlogic_thermal.c:303:16: error: void value not ignored as it ought to be 303 | return amlogic_thermal_disable(data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +303 drivers/thermal/amlogic_thermal.c 421eda108e6c63a Guillaume La Roque 2019-10-04 298 421eda108e6c63a Guillaume La Roque 2019-10-04 299 static int __maybe_unused amlogic_thermal_suspend(struct device *dev) 421eda108e6c63a Guillaume La Roque 2019-10-04 300 { 421eda108e6c63a Guillaume La Roque 2019-10-04 301 struct amlogic_thermal *data = dev_get_drvdata(dev); 421eda108e6c63a Guillaume La Roque 2019-10-04 302 421eda108e6c63a Guillaume La Roque 2019-10-04 @303 return amlogic_thermal_disable(data); 421eda108e6c63a Guillaume La Roque 2019-10-04 304 } 421eda108e6c63a Guillaume La Roque 2019-10-04 305 :::::: The code at line 303 was first introduced by commit :::::: 421eda108e6c63a72feb178c441bb769d4076836 thermal: amlogic: Add thermal driver to support G12 SoCs :::::: TO: Guillaume La Roque <glaroque@xxxxxxxxxxxx> :::::: CC: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki