* [thomas-weissschuh:b4/auxclock-nanosleep 16/39] kernel/time/timekeeping.h:44:72: error: 'symbol' undeclared here (not in a function)
@ 2026-08-04 16:50 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-04 16:50 UTC (permalink / raw)
To: Thomas Weißschuh (Schneider Electric); +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/auxclock-nanosleep
head: 67005bd34e048d0f0fb4f5762d159093fac52cb7
commit: dcfa56542ac7fa99290449e0a2409b2d9e875e1c [16/39] timekeeping: time_test: Add a test for auxiliary to monotonic clock conversions
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20260805/202608050006.2IaipANw-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260805/202608050006.2IaipANw-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/202608050006.2IaipANw-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/linkage.h:7,
from include/linux/printk.h:8,
from include/asm-generic/bug.h:31,
from arch/powerpc/include/asm/bug.h:116,
from include/linux/bug.h:5,
from include/linux/fortify-string.h:5,
from include/linux/string.h:383,
from arch/powerpc/include/asm/paca.h:16,
from arch/powerpc/include/asm/current.h:13,
from include/linux/sched.h:12,
from include/linux/audit.h:12,
from kernel/time/timekeeping.c:6:
>> kernel/time/timekeeping.h:44:72: error: 'symbol' undeclared here (not in a function)
44 | #define EXPORT_SYMBOL_FOR_TIME_TEST(_symbol) EXPORT_SYMBOL_FOR_MODULES(symbol, "time_test");
| ^~~~~~
include/linux/export.h:76:23: note: in definition of macro '__EXPORT_SYMBOL'
76 | extern typeof(sym) sym; \
| ^~~
kernel/time/timekeeping.h:44:46: note: in expansion of macro 'EXPORT_SYMBOL_FOR_MODULES'
44 | #define EXPORT_SYMBOL_FOR_TIME_TEST(_symbol) EXPORT_SYMBOL_FOR_MODULES(symbol, "time_test");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
kernel/time/timekeeping.c:156:1: note: in expansion of macro 'EXPORT_SYMBOL_FOR_TIME_TEST'
156 | EXPORT_SYMBOL_FOR_TIME_TEST(tk_aux_capture_mono_conv);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/symbol +44 kernel/time/timekeeping.h
42
43 #if IS_MODULE(CONFIG_TIME_KUNIT_TEST)
> 44 #define EXPORT_SYMBOL_FOR_TIME_TEST(_symbol) EXPORT_SYMBOL_FOR_MODULES(symbol, "time_test");
45 #else
46 #define EXPORT_SYMBOL_FOR_TIME_TEST(_symbol)
47 #endif
48
--
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-08-04 16:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-04 16:50 [thomas-weissschuh:b4/auxclock-nanosleep 16/39] kernel/time/timekeeping.h:44:72: error: 'symbol' undeclared here (not in a function) 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.