From: kernel test robot <lkp@intel.com>
To: Thomas Gleixner <tglx@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [tglx-devel:timers/cleanup 59/59] arch/s390/kernel/early.c:230:9: error: implicit declaration of function 'time_early_init'; did you mean 'kasan_early_init'?
Date: Sun, 12 Jul 2026 14:01:06 +0200 [thread overview]
Message-ID: <202607121308.vNT5DHZy-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git timers/cleanup
head: 0ad363c8e014568032d53fe2c7ab288de68373f4
commit: 0ad363c8e014568032d53fe2c7ab288de68373f4 [59/59] treewide: Remove asm/timex.h includes from generic code
config: s390-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260712/202607121308.vNT5DHZy-lkp@intel.com/config)
compiler: s390x-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260712/202607121308.vNT5DHZy-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/202607121308.vNT5DHZy-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
arch/s390/kernel/early.c: In function 'startup_init':
>> arch/s390/kernel/early.c:230:9: error: implicit declaration of function 'time_early_init'; did you mean 'kasan_early_init'? [-Wimplicit-function-declaration]
230 | time_early_init();
| ^~~~~~~~~~~~~~~
| kasan_early_init
--
arch/s390/kernel/debug.c: In function 'debug_finish_entry':
>> arch/s390/kernel/debug.c:1187:9: error: implicit declaration of function 'store_tod_clock_ext' [-Wimplicit-function-declaration]
1187 | store_tod_clock_ext(&clk);
| ^~~~~~~~~~~~~~~~~~~
>> arch/s390/kernel/debug.c:1189:22: error: 'TOD_UNIX_EPOCH' undeclared (first use in this function)
1189 | timestamp -= TOD_UNIX_EPOCH >> 12;
| ^~~~~~~~~~~~~~
arch/s390/kernel/debug.c:1189:22: note: each undeclared identifier is reported only once for each function it appears in
--
drivers/s390/cio/css.c: In function 'setup_css':
>> drivers/s390/cio/css.c:971:39: error: implicit declaration of function 'get_tod_clock'; did you mean 'dget_dlock'? [-Wimplicit-function-declaration]
971 | css_generate_pgid(css, (u32) (get_tod_clock() >> 32));
| ^~~~~~~~~~~~~
| dget_dlock
>> drivers/s390/cio/css.c:971:55: warning: right shift count >= width of type [-Wshift-count-overflow]
971 | css_generate_pgid(css, (u32) (get_tod_clock() >> 32));
| ^~
--
In file included from ./include/asm-generic/bug.h:31,
from ./arch/s390/include/asm/bug.h:139,
from ./include/linux/bug.h:5,
from ./include/linux/mmdebug.h:5,
from ./arch/s390/include/asm/cmpxchg.h:11,
from ./arch/s390/include/asm/atomic.h:16,
from ./include/linux/atomic.h:7,
from ./include/asm-generic/bitops/atomic.h:5,
from ./arch/s390/include/asm/bitops.h:75,
from ./include/linux/bitops.h:67,
from ./arch/s390/include/asm/machine.h:25,
from ./arch/s390/include/asm/lowcore.h:14,
from ./arch/s390/include/asm/current.h:13,
from ./arch/s390/include/asm/preempt.h:5,
from ./include/linux/preempt.h:79,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:18,
from drivers/s390/cio/device_fsm.c:11:
drivers/s390/cio/device_fsm.c: In function 'ccw_timeout_log':
>> drivers/s390/cio/device_fsm.c:53:41: error: implicit declaration of function 'get_tod_clock'; did you mean 'dget_dlock'? [-Wimplicit-function-declaration]
53 | "device information:\n", get_tod_clock());
| ^~~~~~~~~~~~~
./include/linux/printk.h:483:33: note: in definition of macro 'printk_index_wrap'
483 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~
drivers/s390/cio/device_fsm.c:52:9: note: in expansion of macro 'printk'
52 | printk(KERN_WARNING "cio: ccw device timeout occurred at %lx, "
| ^~~~~~
./include/linux/kern_levels.h:5:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
./include/linux/printk.h:483:25: note: in definition of macro 'printk_index_wrap'
483 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~
drivers/s390/cio/device_fsm.c:52:9: note: in expansion of macro 'printk'
52 | printk(KERN_WARNING "cio: ccw device timeout occurred at %lx, "
| ^~~~~~
./include/linux/kern_levels.h:12:25: note: in expansion of macro 'KERN_SOH'
12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */
| ^~~~~~~~
drivers/s390/cio/device_fsm.c:52:16: note: in expansion of macro 'KERN_WARNING'
52 | printk(KERN_WARNING "cio: ccw device timeout occurred at %lx, "
| ^~~~~~~~~~~~
--
drivers/s390/cio/cmf.c: In function 'cmf_copy_block':
>> drivers/s390/cio/cmf.c:290:33: error: implicit declaration of function 'get_tod_clock'; did you mean 'dget_dlock'? [-Wimplicit-function-declaration]
290 | cmb_data->last_update = get_tod_clock();
| ^~~~~~~~~~~~~
| dget_dlock
drivers/s390/cio/cmf.c: In function '__cmb_utilization':
>> drivers/s390/cio/cmf.c:589:24: error: implicit declaration of function 'tod_to_ns' [-Wimplicit-function-declaration]
589 | elapsed_time = tod_to_ns(elapsed_time);
| ^~~~~~~~~
--
drivers/s390/block/dasd.c: In function 'dasd_term_IO':
>> drivers/s390/block/dasd.c:1286:40: error: implicit declaration of function 'get_tod_clock'; did you mean 'dget_dlock'? [-Wimplicit-function-declaration]
1286 | cqr->stopclk = get_tod_clock();
| ^~~~~~~~~~~~~
| dget_dlock
--
drivers/s390/block/dasd_erp.c: In function 'dasd_default_erp_action':
>> drivers/s390/block/dasd_erp.c:102:32: error: implicit declaration of function 'get_tod_clock'; did you mean 'dget_dlock'? [-Wimplicit-function-declaration]
102 | cqr->stopclk = get_tod_clock();
| ^~~~~~~~~~~~~
| dget_dlock
--
drivers/s390/block/dasd_eer.c: In function 'dasd_eer_enable':
>> drivers/s390/block/dasd_eer.c:491:25: error: implicit declaration of function 'get_tod_clock'; did you mean 'dget_dlock'? [-Wimplicit-function-declaration]
491 | cqr->buildclk = get_tod_clock();
| ^~~~~~~~~~~~~
| dget_dlock
--
drivers/s390/block/dasd_diag.c: In function 'dasd_start_diag':
>> drivers/s390/block/dasd_diag.c:189:25: error: implicit declaration of function 'get_tod_clock'; did you mean 'dget_dlock'? [-Wimplicit-function-declaration]
189 | cqr->startclk = get_tod_clock();
| ^~~~~~~~~~~~~
| dget_dlock
--
drivers/s390/block/dasd_eckd.c: In function 'set_timestamp':
>> drivers/s390/block/dasd_eckd.c:252:14: error: implicit declaration of function 'get_phys_clock' [-Wimplicit-function-declaration]
252 | rc = get_phys_clock(&data->ep_sys_time);
| ^~~~~~~~~~~~~~
drivers/s390/block/dasd_eckd.c: In function 'dasd_eckd_fill_rcd_cqr':
>> drivers/s390/block/dasd_eckd.c:839:25: error: implicit declaration of function 'get_tod_clock'; did you mean 'dget_dlock'? [-Wimplicit-function-declaration]
839 | cqr->buildclk = get_tod_clock();
| ^~~~~~~~~~~~~
| dget_dlock
--
drivers/s390/block/dasd_3990_erp.c: In function 'dasd_3990_erp_DCTL':
>> drivers/s390/block/dasd_3990_erp.c:229:30: error: implicit declaration of function 'get_tod_clock'; did you mean 'dget_dlock'? [-Wimplicit-function-declaration]
229 | dctl_cqr->buildclk = get_tod_clock();
| ^~~~~~~~~~~~~
| dget_dlock
drivers/s390/block/dasd_3990_erp.c: In function 'dasd_3990_erp_account_error':
>> drivers/s390/block/dasd_3990_erp.c:2224:14: error: implicit declaration of function 'tod_to_ns' [-Wimplicit-function-declaration]
2224 | if ((tod_to_ns(clk - device->path[pos].errorclk) / NSEC_PER_SEC)
| ^~~~~~~~~
..
vim +230 arch/s390/kernel/early.c
a156f09c9063bc6 Heiko Carstens 2022-02-28 226
ab14de6c37fae22 Heiko Carstens 2007-02-05 227 void __init startup_init(void)
ab14de6c37fae22 Heiko Carstens 2007-02-05 228 {
557b19709da97bc Vasily Gorbik 2023-02-09 229 kasan_early_init();
b1c0854d168cc57 Martin Schwidefsky 2016-10-10 @230 time_early_init();
:::::: The code at line 230 was first introduced by commit
:::::: b1c0854d168cc5741e9568556e7d7cc3873c9cdc s390/time: refactor clock sync
:::::: TO: Martin Schwidefsky <schwidefsky@de.ibm.com>
:::::: CC: Martin Schwidefsky <schwidefsky@de.ibm.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-07-12 12:01 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=202607121308.vNT5DHZy-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tglx@kernel.org \
/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.