From: kernel test robot <lkp@intel.com>
To: Frank Wunderlich <frank-w@public-files.de>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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
Date: Tue, 17 Sep 2024 09:07:09 +0800 [thread overview]
Message-ID: <202409170957.WHIL4sLA-lkp@intel.com> (raw)
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
reply other threads:[~2024-09-17 1:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202409170957.WHIL4sLA-lkp@intel.com \
--to=lkp@intel.com \
--cc=frank-w@public-files.de \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.