tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge head: 3013f879e8da5a4cf707cdb0dfa927f89b9374cd commit: 6c106aa9e0f7f8be4146c50bea5cd71052bebe3a [1/5] thermal: core: Clean up headers of thermal zone registration functions config: loongarch-allnoconfig (https://download.01.org/0day-ci/archive/20230906/202309060300.8TA9PBXT-lkp@xxxxxxxxx/config) compiler: loongarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230906/202309060300.8TA9PBXT-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/202309060300.8TA9PBXT-lkp@xxxxxxxxx/ All error/warnings (new ones prefixed by >>): In file included from include/acpi/processor.h:11, from drivers/acpi/acpi_processor.c:22: >> include/linux/thermal.h:378:1: error: expected identifier or '(' before '{' token 378 | { return ERR_PTR(-ENODEV); } | ^ >> include/linux/thermal.h:370:43: warning: 'thermal_zone_device_register_with_trips' declared 'static' but never defined [-Wunused-function] 370 | static inline struct thermal_zone_device *thermal_zone_device_register_with_trips( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +378 include/linux/thermal.h 369 > 370 static inline struct thermal_zone_device *thermal_zone_device_register_with_trips( 371 const char *type, 372 struct thermal_trip *trips, 373 int num_trips, int mask, 374 void *devdata, 375 struct thermal_zone_device_ops *ops, 376 const struct thermal_zone_params *tzp, 377 int passive_delay, int polling_delay); > 378 { return ERR_PTR(-ENODEV); } 379 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki