LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Carlos Bilbao <bilbao@vt.edu>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	0day robot <lkp@intel.com>
Subject: arch/m68k/atari/time.c:51:2: error: implicit declaration of function 'legacy_timer_tick'
Date: Sun, 1 Aug 2021 03:17:53 +0800	[thread overview]
Message-ID: <202108010344.oIjIwf0X-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-07-31 19:18 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=202108010344.oIjIwf0X-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bilbao@vt.edu \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: arch/m68k/atari/time.c:51:2: error: implicit declaration of function '\''legacy_timer_tick'\''' \
    /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

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).