* [groeck-staging:hwmon-next 26/29] include/linux/hwmon.h:498:26: error: expected identifier
@ 2026-05-14 1:58 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-14 1:58 UTC (permalink / raw)
To: Guenter Roeck; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
head: 7fb80897aad0a4da2e8ce77ac54af988605aae39
commit: aa3ec1484bdd619e8fa2ce569ec653d35fbf3615 [26/29] hwmon: Support guard() and scoped_guard for subsystem locks
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260514/202605140350.0bONp1Mf-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260514/202605140350.0bONp1Mf-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/202605140350.0bONp1Mf-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/thermal/thermal_hwmon.c:15:
>> include/linux/hwmon.h:498:26: error: expected identifier
498 | DEFINE_GUARD(hwmon_lock, struct device *, hwmon_lock(_T), hwmon_unlock(_T))
| ^
>> include/linux/hwmon.h:498:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
498 | DEFINE_GUARD(hwmon_lock, struct device *, hwmon_lock(_T), hwmon_unlock(_T))
| ^
| int
>> include/linux/hwmon.h:498:13: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
498 | DEFINE_GUARD(hwmon_lock, struct device *, hwmon_lock(_T), hwmon_unlock(_T))
| ^
| void
>> include/linux/hwmon.h:498:76: error: expected ';' after top level declarator
498 | DEFINE_GUARD(hwmon_lock, struct device *, hwmon_lock(_T), hwmon_unlock(_T))
| ^
| ;
4 errors generated.
vim +498 include/linux/hwmon.h
497
> 498 DEFINE_GUARD(hwmon_lock, struct device *, hwmon_lock(_T), hwmon_unlock(_T))
499
--
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:[~2026-05-14 1:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-14 1:58 [groeck-staging:hwmon-next 26/29] include/linux/hwmon.h:498:26: error: expected identifier 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