lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202201071538.1zOsvPzw-lkp@intel.com>
Date:   Fri, 7 Jan 2022 15:08:43 +0800
From:   kernel test robot <lkp@...el.com>
To:     "Paul E. McKenney" <paulmck@...nel.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [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'

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ