LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* arch/m68k/atari/time.c:51:2: error: implicit declaration of function 'legacy_timer_tick'
@ 2021-07-31 19:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-31 19:17 UTC (permalink / raw)
To: Carlos Bilbao; +Cc: kbuild-all, linux-kernel, 0day robot
[-- Attachment #1: Type: text/plain, Size: 5899 bytes --]
tree: https://github.com/0day-ci/linux/commits/UPDATE-20210801-003033/Carlos-Bilbao/include-linux-Reorganize-timekeeping-and-ktime-headers/20210722-233301
head: fb6876d6185db9db41efb455500de67da0937a36
commit: fb6876d6185db9db41efb455500de67da0937a36 include: linux: Reorganize timekeeping and ktime headers
date: 3 hours ago
config: m68k-buildonly-randconfig-r001-20210801 (attached as .config)
compiler: m68k-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/fb6876d6185db9db41efb455500de67da0937a36
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review UPDATE-20210801-003033/Carlos-Bilbao/include-linux-Reorganize-timekeeping-and-ktime-headers/20210722-233301
git checkout fb6876d6185db9db41efb455500de67da0937a36
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arch/m68k/atari/time.c: In function 'mfp_timer_c_handler':
>> arch/m68k/atari/time.c:51:2: error: implicit declaration of function 'legacy_timer_tick' [-Werror=implicit-function-declaration]
51 | legacy_timer_tick(1);
| ^~~~~~~~~~~~~~~~~
arch/m68k/atari/time.c: At top level:
arch/m68k/atari/time.c:59:1: warning: no previous prototype for 'atari_sched_init' [-Wmissing-prototypes]
59 | atari_sched_init(void)
| ^~~~~~~~~~~~~~~~
arch/m68k/atari/time.c:140:5: warning: no previous prototype for 'atari_mste_hwclk' [-Wmissing-prototypes]
140 | int atari_mste_hwclk( int op, struct rtc_time *t )
| ^~~~~~~~~~~~~~~~
arch/m68k/atari/time.c:199:5: warning: no previous prototype for 'atari_tt_hwclk' [-Wmissing-prototypes]
199 | int atari_tt_hwclk( int op, struct rtc_time *t )
| ^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
arch/m68k/hp300/time.c: In function 'hp300_tick':
>> arch/m68k/hp300/time.c:66:2: error: implicit declaration of function 'legacy_timer_tick' [-Werror=implicit-function-declaration]
66 | legacy_timer_tick(1);
| ^~~~~~~~~~~~~~~~~
arch/m68k/hp300/time.c: At top level:
arch/m68k/hp300/time.c:101:13: warning: no previous prototype for 'hp300_sched_init' [-Wmissing-prototypes]
101 | void __init hp300_sched_init(void)
| ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
arch/m68k/mac/via.c:111:13: warning: no previous prototype for 'via_init' [-Wmissing-prototypes]
111 | void __init via_init(void)
| ^~~~~~~~
arch/m68k/mac/via.c: In function 'via_timer_handler':
>> arch/m68k/mac/via.c:588:2: error: implicit declaration of function 'legacy_timer_tick' [-Werror=implicit-function-declaration]
588 | legacy_timer_tick(1);
| ^~~~~~~~~~~~~~~~~
arch/m68k/mac/via.c: At top level:
arch/m68k/mac/via.c:593:13: warning: no previous prototype for 'via_init_clock' [-Wmissing-prototypes]
593 | void __init via_init_clock(void)
| ^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
arch/m68k/mvme16x/config.c:57:12: warning: no previous prototype for 'mvme16x_parse_bootinfo' [-Wmissing-prototypes]
57 | int __init mvme16x_parse_bootinfo(const struct bi_record *bi)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/m68k/mvme16x/config.c:265:13: warning: no previous prototype for 'config_mvme16x' [-Wmissing-prototypes]
265 | void __init config_mvme16x(void)
| ^~~~~~~~~~~~~~
arch/m68k/mvme16x/config.c: In function 'mvme16x_timer_int':
>> arch/m68k/mvme16x/config.c:381:2: error: implicit declaration of function 'legacy_timer_tick' [-Werror=implicit-function-declaration]
381 | legacy_timer_tick(1);
| ^~~~~~~~~~~~~~~~~
arch/m68k/mvme16x/config.c: In function 'mvme16x_hwclk':
arch/m68k/mvme16x/config.c:439:2: warning: #warning check me! [-Wcpp]
439 | #warning check me!
| ^~~~~~~
cc1: some warnings being treated as errors
--
arch/m68k/sun3/sun3ints.c: In function 'sun3_int5':
>> arch/m68k/sun3/sun3ints.c:76:2: error: implicit declaration of function 'legacy_timer_tick' [-Werror=implicit-function-declaration]
76 | legacy_timer_tick(1);
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/legacy_timer_tick +51 arch/m68k/atari/time.c
26ccd2d376d9b7 Finn Thain 2018-12-01 41
1efdd4bd254311 Finn Thain 2018-12-01 42 static irqreturn_t mfp_timer_c_handler(int irq, void *dev_id)
1efdd4bd254311 Finn Thain 2018-12-01 43 {
1efdd4bd254311 Finn Thain 2018-12-01 44 unsigned long flags;
1efdd4bd254311 Finn Thain 2018-12-01 45
1efdd4bd254311 Finn Thain 2018-12-01 46 local_irq_save(flags);
26ccd2d376d9b7 Finn Thain 2018-12-01 47 do {
26ccd2d376d9b7 Finn Thain 2018-12-01 48 last_timer_count = st_mfp.tim_dt_c;
26ccd2d376d9b7 Finn Thain 2018-12-01 49 } while (last_timer_count == 1);
26ccd2d376d9b7 Finn Thain 2018-12-01 50 clk_total += INT_TICKS;
42f1d57f055064 Arnd Bergmann 2020-09-24 @51 legacy_timer_tick(1);
d6444094042b4f Arnd Bergmann 2020-09-24 52 timer_heartbeat();
1efdd4bd254311 Finn Thain 2018-12-01 53 local_irq_restore(flags);
1efdd4bd254311 Finn Thain 2018-12-01 54
1efdd4bd254311 Finn Thain 2018-12-01 55 return IRQ_HANDLED;
1efdd4bd254311 Finn Thain 2018-12-01 56 }
1efdd4bd254311 Finn Thain 2018-12-01 57
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 19883 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-31 19:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-31 19:17 arch/m68k/atari/time.c:51:2: error: implicit declaration of function 'legacy_timer_tick' 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;
as well as URLs for NNTP newsgroup(s).