From: kernel test robot <lkp@intel.com>
To: "charles.park" <charles.park@hardkernel.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Dongjin Kim <tobetter@gmail.com>
Subject: [tobetter:odroid-5.15.y 32/204] drivers/thermal/thermal_helpers.c:79: warning: expecting prototype for thermal_zone_get_temp(). Prototype was for CRITICAL_TEMP() instead
Date: Sat, 20 Jan 2024 10:01:59 +0800 [thread overview]
Message-ID: <202401200935.e4c5rbTN-lkp@intel.com> (raw)
Hi charles.park,
FYI, the error/warning still remains.
tree: https://github.com/tobetter/linux odroid-5.15.y
head: abb0d3e05ad22d863c174be2eec4e27812205317
commit: 80ab63aad57c0100e5277218c03ce79f4256d8c4 [32/204] ODROID-XU4: Update hack avoiding the invalid temperature by TMU broken
config: i386-buildonly-randconfig-002-20240120 (https://download.01.org/0day-ci/archive/20240120/202401200935.e4c5rbTN-lkp@intel.com/config)
compiler: ClangBuiltLinux clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240120/202401200935.e4c5rbTN-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/202401200935.e4c5rbTN-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/thermal/thermal_helpers.c:79: warning: expecting prototype for thermal_zone_get_temp(). Prototype was for CRITICAL_TEMP() instead
vim +79 drivers/thermal/thermal_helpers.c
67
68 /**
69 * thermal_zone_get_temp() - returns the temperature of a thermal zone
70 * @tz: a valid pointer to a struct thermal_zone_device
71 * @temp: a valid pointer to where to store the resulting temperature.
72 *
73 * When a valid thermal zone reference is passed, it will fetch its
74 * temperature and fill @temp.
75 *
76 * Return: On success returns 0, an error code otherwise
77 */
78
> 79 #define CRITICAL_TEMP 120000
80 int thermal_zone_data[4] = { 0, };
81
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-01-20 2:02 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=202401200935.e4c5rbTN-lkp@intel.com \
--to=lkp@intel.com \
--cc=charles.park@hardkernel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tobetter@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox