* [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
@ 2024-01-20 2:01 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-20 2:01 UTC (permalink / raw)
To: charles.park; +Cc: llvm, oe-kbuild-all, Dongjin Kim
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-20 2:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-20 2:01 [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 kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox