tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge head: b8a1fe5b94254945ed28a3f519e8ecd60e288871 commit: 1fccea663914c7d8e334904525b6696eef0f6345 [154/159] thermal: netlink: Pass pointers to thermal_notify_tz_trip_change() config: i386-randconfig-005-20240102 (https://download.01.org/0day-ci/archive/20240103/202401030734.oCkQjI4z-lkp@xxxxxxxxx/config) compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240103/202401030734.oCkQjI4z-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/202401030734.oCkQjI4z-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): In file included from drivers/thermal/intel/intel_hfi.c:46:0: >> drivers/thermal/intel/../thermal_netlink.h:27:20: warning: 'struct thermal_trip' declared inside parameter list will not be visible outside of this definition or declaration const struct thermal_trip *trip); ^~~~~~~~~~~~ >> drivers/thermal/intel/../thermal_netlink.h:26:48: warning: 'struct thermal_zone_device' declared inside parameter list will not be visible outside of this definition or declaration int thermal_notify_tz_trip_change(const struct thermal_zone_device *tz, ^~~~~~~~~~~~~~~~~~~ vim +27 drivers/thermal/intel/../thermal_netlink.h 12 13 /* Netlink notification function */ 14 #ifdef CONFIG_THERMAL_NETLINK 15 int __init thermal_netlink_init(void); 16 void __init thermal_netlink_exit(void); 17 int thermal_notify_tz_create(int tz_id, const char *name); 18 int thermal_notify_tz_delete(int tz_id); 19 int thermal_notify_tz_enable(int tz_id); 20 int thermal_notify_tz_disable(int tz_id); 21 int thermal_notify_tz_trip_down(int tz_id, int id, int temp); 22 int thermal_notify_tz_trip_up(int tz_id, int id, int temp); 23 int thermal_notify_tz_trip_delete(int tz_id, int id); 24 int thermal_notify_tz_trip_add(int tz_id, int id, int type, 25 int temp, int hyst); > 26 int thermal_notify_tz_trip_change(const struct thermal_zone_device *tz, > 27 const struct thermal_trip *trip); 28 int thermal_notify_cdev_state_update(int cdev_id, int state); 29 int thermal_notify_cdev_add(int cdev_id, const char *name, int max_state); 30 int thermal_notify_cdev_delete(int cdev_id); 31 int thermal_notify_tz_gov_change(int tz_id, const char *name); 32 int thermal_genl_sampling_temp(int id, int temp); 33 int thermal_genl_cpu_capability_event(int count, 34 struct thermal_genl_cpu_caps *caps); 35 #else 36 static inline int thermal_netlink_init(void) 37 { 38 return 0; 39 } 40 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki