mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [ammarfaizi2-block:paulmck/linux-rcu/dev 51/53] kernel/time/tick-sched.c:1455:6: warning: no previous prototype for function 'tick_setup_sched_timer_dump'
@ 2022-01-07  7:08 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-07  7:08 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: llvm, kbuild-all, linux-kernel

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: i386-randconfig-r014-20220107 (https://download.01.org/0day-ci/archive/20220107/202201071538.1zOsvPzw-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 32167bfe64a4c5dd4eb3f7a58e24f4cba76f5ac2)
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/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
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kernel/ 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 function 'tick_setup_sched_timer_dump' [-Wmissing-prototypes]
   void tick_setup_sched_timer_dump(void)
        ^
   kernel/time/tick-sched.c:1455:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void tick_setup_sched_timer_dump(void)
   ^
   static 
   1 warning generated.


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-07  7:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-07  7:08 [ammarfaizi2-block:paulmck/linux-rcu/dev 51/53] kernel/time/tick-sched.c:1455:6: warning: no previous prototype for function 'tick_setup_sched_timer_dump' 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

all inboxes | Powered by JetHome®