lkml.org 
[lkml]   [2022]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[ammarfaizi2-block:paulmck/linux-rcu/dev 51/53] kernel/time/tick-sched.c:1455:6: warning: no previous prototype for 'tick_setup_sched_timer_dump'
tree:   https://github.com/ammarfaizi2/linux-block paulmck/linux-rcu/dev
head: 56b8a9dc5e8aa4d625a09ce87015016ae339d44d
commit: feba9f855e1f9231392df9e7c2ba94e2fe1bc822 [51/53] EXP timers: Debugging for last-resort jiffies update
config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20220107/202201071623.rIzxzZ6C-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/ammarfaizi2/linux-block/commit/feba9f855e1f9231392df9e7c2ba94e2fe1bc822
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block paulmck/linux-rcu/dev
git checkout feba9f855e1f9231392df9e7c2ba94e2fe1bc822
# 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/tick-sched.c:1455:6: warning: no previous prototype for 'tick_setup_sched_timer_dump' [-Wmissing-prototypes]
1455 | void tick_setup_sched_timer_dump(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/tick_setup_sched_timer_dump +1455 kernel/time/tick-sched.c

1454
> 1455 void tick_setup_sched_timer_dump(void)
1456 {
1457 int cpu;
1458 int j = jiffies;
1459
1460 pr_alert("%s state", __func__);
1461 for_each_possible_cpu(cpu)
1462 pr_cont(" j/c %x/%d %c",
1463 (int)(j - per_cpu(tick_setup_sched_timer_jiffies, cpu)) & 0xfff,
1464 per_cpu(tick_setup_sched_timer_jiffies_count, cpu),
1465 ".H"[per_cpu(tick_setup_sched_timer_help_needed, cpu)]);
1466 pr_cont("\n");
1467 }
1468

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

\
 
 \ /
  Last update: 2022-01-07 09:11    [W:0.039 / U:1.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site