All of lore.kernel.org
 help / color / mirror / Atom feed
* [rcu:dev.2021.08.25a 98/115] kernel/time/hrtimer.c:1631:6: warning: no previous prototype for 'hrtimer_interrupt_get_debug'
@ 2021-09-03  0:04 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-03  0:04 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 3137 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2021.08.25a
head:   2ba1d046d9bc5b4496027d120e3ddcdfbb2fe9f4
commit: cf9fcdcca72481c55d41aa2fbe276a79db5f62ec [98/115] EXP cpu: Print out hrtimer_interrupt() information
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/commit/?id=cf9fcdcca72481c55d41aa2fbe276a79db5f62ec
        git remote add rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
        git fetch --no-tags rcu dev.2021.08.25a
        git checkout cf9fcdcca72481c55d41aa2fbe276a79db5f62ec
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=powerpc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   kernel/time/hrtimer.c:120:35: warning: initialized field overwritten [-Woverride-init]
     120 |         [CLOCK_REALTIME]        = HRTIMER_BASE_REALTIME,
         |                                   ^~~~~~~~~~~~~~~~~~~~~
   kernel/time/hrtimer.c:120:35: note: (near initialization for 'hrtimer_clock_to_base_table[0]')
   kernel/time/hrtimer.c:121:35: warning: initialized field overwritten [-Woverride-init]
     121 |         [CLOCK_MONOTONIC]       = HRTIMER_BASE_MONOTONIC,
         |                                   ^~~~~~~~~~~~~~~~~~~~~~
   kernel/time/hrtimer.c:121:35: note: (near initialization for 'hrtimer_clock_to_base_table[1]')
   kernel/time/hrtimer.c:122:35: warning: initialized field overwritten [-Woverride-init]
     122 |         [CLOCK_BOOTTIME]        = HRTIMER_BASE_BOOTTIME,
         |                                   ^~~~~~~~~~~~~~~~~~~~~
   kernel/time/hrtimer.c:122:35: note: (near initialization for 'hrtimer_clock_to_base_table[7]')
   kernel/time/hrtimer.c:123:35: warning: initialized field overwritten [-Woverride-init]
     123 |         [CLOCK_TAI]             = HRTIMER_BASE_TAI,
         |                                   ^~~~~~~~~~~~~~~~
   kernel/time/hrtimer.c:123:35: note: (near initialization for 'hrtimer_clock_to_base_table[11]')
>> kernel/time/hrtimer.c:1631:6: warning: no previous prototype for 'hrtimer_interrupt_get_debug' [-Wmissing-prototypes]
    1631 | void hrtimer_interrupt_get_debug(int cpu, unsigned short *nr_hangs, ktime_t *delta)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/hrtimer_interrupt_get_debug +1631 kernel/time/hrtimer.c

  1630	
> 1631	void hrtimer_interrupt_get_debug(int cpu, unsigned short *nr_hangs, ktime_t *delta)
  1632	{
  1633		*nr_hangs = READ_ONCE(per_cpu(hrtimer_bases, cpu).nr_hangs);
  1634		*delta = READ_ONCE(per_cpu(hrtimer_interrupt_delta, cpu));
  1635	}
  1636	

---
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: 73346 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [rcu:dev.2021.08.25a 98/115] kernel/time/hrtimer.c:1631:6: warning: no previous prototype for 'hrtimer_interrupt_get_debug'
@ 2021-09-03  0:04 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-03  0:04 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3193 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2021.08.25a
head:   2ba1d046d9bc5b4496027d120e3ddcdfbb2fe9f4
commit: cf9fcdcca72481c55d41aa2fbe276a79db5f62ec [98/115] EXP cpu: Print out hrtimer_interrupt() information
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/commit/?id=cf9fcdcca72481c55d41aa2fbe276a79db5f62ec
        git remote add rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
        git fetch --no-tags rcu dev.2021.08.25a
        git checkout cf9fcdcca72481c55d41aa2fbe276a79db5f62ec
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=powerpc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   kernel/time/hrtimer.c:120:35: warning: initialized field overwritten [-Woverride-init]
     120 |         [CLOCK_REALTIME]        = HRTIMER_BASE_REALTIME,
         |                                   ^~~~~~~~~~~~~~~~~~~~~
   kernel/time/hrtimer.c:120:35: note: (near initialization for 'hrtimer_clock_to_base_table[0]')
   kernel/time/hrtimer.c:121:35: warning: initialized field overwritten [-Woverride-init]
     121 |         [CLOCK_MONOTONIC]       = HRTIMER_BASE_MONOTONIC,
         |                                   ^~~~~~~~~~~~~~~~~~~~~~
   kernel/time/hrtimer.c:121:35: note: (near initialization for 'hrtimer_clock_to_base_table[1]')
   kernel/time/hrtimer.c:122:35: warning: initialized field overwritten [-Woverride-init]
     122 |         [CLOCK_BOOTTIME]        = HRTIMER_BASE_BOOTTIME,
         |                                   ^~~~~~~~~~~~~~~~~~~~~
   kernel/time/hrtimer.c:122:35: note: (near initialization for 'hrtimer_clock_to_base_table[7]')
   kernel/time/hrtimer.c:123:35: warning: initialized field overwritten [-Woverride-init]
     123 |         [CLOCK_TAI]             = HRTIMER_BASE_TAI,
         |                                   ^~~~~~~~~~~~~~~~
   kernel/time/hrtimer.c:123:35: note: (near initialization for 'hrtimer_clock_to_base_table[11]')
>> kernel/time/hrtimer.c:1631:6: warning: no previous prototype for 'hrtimer_interrupt_get_debug' [-Wmissing-prototypes]
    1631 | void hrtimer_interrupt_get_debug(int cpu, unsigned short *nr_hangs, ktime_t *delta)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/hrtimer_interrupt_get_debug +1631 kernel/time/hrtimer.c

  1630	
> 1631	void hrtimer_interrupt_get_debug(int cpu, unsigned short *nr_hangs, ktime_t *delta)
  1632	{
  1633		*nr_hangs = READ_ONCE(per_cpu(hrtimer_bases, cpu).nr_hangs);
  1634		*delta = READ_ONCE(per_cpu(hrtimer_interrupt_delta, cpu));
  1635	}
  1636	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 73346 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-03  0:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-03  0:04 [rcu:dev.2021.08.25a 98/115] kernel/time/hrtimer.c:1631:6: warning: no previous prototype for 'hrtimer_interrupt_get_debug' kernel test robot
2021-09-03  0:04 ` 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.