* [frank-w-bpi-r2-4.14:5.10-main 15/28756] drivers/thermal/mtk_thermal.c:988:13: warning: 'mtk_thermal_hwmon_action' defined but not used
@ 2024-09-17 1:07 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-17 1:07 UTC (permalink / raw)
To: Frank Wunderlich; +Cc: oe-kbuild-all
tree: https://github.com/frank-w/BPI-R2-4.14 5.10-main
head: 4d13745abe4629d6e29e9ccdac56e071a6f630f8
commit: 5036602823ce2d4ad8b7122b19afa16f7f5f0742 [15/28756] thermal: mediatek: execute hwmon-code only if hwmon_thermal is set
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20240917/202409170957.WHIL4sLA-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240917/202409170957.WHIL4sLA-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409170957.WHIL4sLA-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/thermal/mtk_thermal.c:988:13: warning: 'mtk_thermal_hwmon_action' defined but not used [-Wunused-function]
988 | static void mtk_thermal_hwmon_action(void *data)
| ^~~~~~~~~~~~~~~~~~~~~~~~
vim +/mtk_thermal_hwmon_action +988 drivers/thermal/mtk_thermal.c
89945047b1666c Henry Yen 2020-04-30 987
eb9921de603c7b Frank Wunderlich 2020-01-31 @988 static void mtk_thermal_hwmon_action(void *data)
eb9921de603c7b Frank Wunderlich 2020-01-31 989 {
eb9921de603c7b Frank Wunderlich 2020-01-31 990 struct thermal_zone_device *zone = data;
eb9921de603c7b Frank Wunderlich 2020-01-31 991
eb9921de603c7b Frank Wunderlich 2020-01-31 992 thermal_remove_hwmon_sysfs(zone);
eb9921de603c7b Frank Wunderlich 2020-01-31 993 }
eb9921de603c7b Frank Wunderlich 2020-01-31 994
:::::: The code at line 988 was first introduced by commit
:::::: eb9921de603c7b48591d2bcadaad662d762a72ad thermal: mediatek: add sensors-support
:::::: TO: Frank Wunderlich <frank-w@public-files.de>
:::::: CC: Frank Wunderlich <frank-w@public-files.de>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-09-17 1:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-17 1:07 [frank-w-bpi-r2-4.14:5.10-main 15/28756] drivers/thermal/mtk_thermal.c:988:13: warning: 'mtk_thermal_hwmon_action' defined but not used kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.