linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [paulmck-rcu:dev.2022.01.04a 55/55] kernel/time/timer.c:1776:6: warning: no previous prototype for 'tick_setup_sched_timer_dump'
@ 2022-01-08  0:41 kernel test robot
  2022-01-08  4:28 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-01-08  0:41 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2022.01.04a
head:   64595d0dff992756e8c6d53c0e9f1e3e50c451f7
commit: 64595d0dff992756e8c6d53c0e9f1e3e50c451f7 [55/55] squash! EXP timers: Non-nohz_full last-resort jiffies update on IRQ entry
config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20220108/202201080834.rGuSv2SS-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/commit/?id=64595d0dff992756e8c6d53c0e9f1e3e50c451f7
        git remote add paulmck-rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
        git fetch --no-tags paulmck-rcu dev.2022.01.04a
        git checkout 64595d0dff992756e8c6d53c0e9f1e3e50c451f7
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=um SUBARCH=i386 SHELL=/bin/bash kernel/time/

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/timer.c:254:5: warning: no previous prototype for 'timer_migration_handler' [-Wmissing-prototypes]
     254 | int timer_migration_handler(struct ctl_table *table, int write,
         |     ^~~~~~~~~~~~~~~~~~~~~~~
>> kernel/time/timer.c:1776:6: warning: no previous prototype for 'tick_setup_sched_timer_dump' [-Wmissing-prototypes]
    1776 | void tick_setup_sched_timer_dump(void)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/tick_setup_sched_timer_dump +1776 kernel/time/timer.c

  1775	
> 1776	void tick_setup_sched_timer_dump(void)
  1777	{
  1778		int cpu;
  1779		int j = jiffies;
  1780	
  1781		pr_alert("%s state", __func__);
  1782		for_each_possible_cpu(cpu)
  1783			pr_cont(" j/c %x/%d %c",
  1784				(int)(j - per_cpu(tick_setup_sched_timer_jiffies, cpu)) & 0xfff,
  1785				per_cpu(tick_setup_sched_timer_jiffies_count, cpu),
  1786				".H"[per_cpu(tick_setup_sched_timer_help_needed, cpu)]);
  1787		pr_cont("\n");
  1788	}
  1789	

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

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

* Re: [paulmck-rcu:dev.2022.01.04a 55/55] kernel/time/timer.c:1776:6: warning: no previous prototype for 'tick_setup_sched_timer_dump'
  2022-01-08  0:41 [paulmck-rcu:dev.2022.01.04a 55/55] kernel/time/timer.c:1776:6: warning: no previous prototype for 'tick_setup_sched_timer_dump' kernel test robot
@ 2022-01-08  4:28 ` Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2022-01-08  4:28 UTC (permalink / raw)
  To: kernel test robot; +Cc: kbuild-all, linux-kernel

On Sat, Jan 08, 2022 at 08:41:32AM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2022.01.04a
> head:   64595d0dff992756e8c6d53c0e9f1e3e50c451f7
> commit: 64595d0dff992756e8c6d53c0e9f1e3e50c451f7 [55/55] squash! EXP timers: Non-nohz_full last-resort jiffies update on IRQ entry
> config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20220108/202201080834.rGuSv2SS-lkp@intel.com/config)
> compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
> reproduce (this is a W=1 build):
>         # https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/commit/?id=64595d0dff992756e8c6d53c0e9f1e3e50c451f7
>         git remote add paulmck-rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
>         git fetch --no-tags paulmck-rcu dev.2022.01.04a
>         git checkout 64595d0dff992756e8c6d53c0e9f1e3e50c451f7
>         # save the config file to linux build tree
>         mkdir build_dir
>         make W=1 O=build_dir ARCH=um SUBARCH=i386 SHELL=/bin/bash kernel/time/
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>

Good catch, but this was due to debug code that has since been removed.

							Thanx, Paul

> All warnings (new ones prefixed by >>):
> 
>    kernel/time/timer.c:254:5: warning: no previous prototype for 'timer_migration_handler' [-Wmissing-prototypes]
>      254 | int timer_migration_handler(struct ctl_table *table, int write,
>          |     ^~~~~~~~~~~~~~~~~~~~~~~
> >> kernel/time/timer.c:1776:6: warning: no previous prototype for 'tick_setup_sched_timer_dump' [-Wmissing-prototypes]
>     1776 | void tick_setup_sched_timer_dump(void)
>          |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
> vim +/tick_setup_sched_timer_dump +1776 kernel/time/timer.c
> 
>   1775	
> > 1776	void tick_setup_sched_timer_dump(void)
>   1777	{
>   1778		int cpu;
>   1779		int j = jiffies;
>   1780	
>   1781		pr_alert("%s state", __func__);
>   1782		for_each_possible_cpu(cpu)
>   1783			pr_cont(" j/c %x/%d %c",
>   1784				(int)(j - per_cpu(tick_setup_sched_timer_jiffies, cpu)) & 0xfff,
>   1785				per_cpu(tick_setup_sched_timer_jiffies_count, cpu),
>   1786				".H"[per_cpu(tick_setup_sched_timer_help_needed, cpu)]);
>   1787		pr_cont("\n");
>   1788	}
>   1789	
> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

end of thread, other threads:[~2022-01-08  4:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-08  0:41 [paulmck-rcu:dev.2022.01.04a 55/55] kernel/time/timer.c:1776:6: warning: no previous prototype for 'tick_setup_sched_timer_dump' kernel test robot
2022-01-08  4:28 ` Paul E. McKenney

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