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: <202201081252.k0vPJH1N-lkp@intel.com>
Date:   Sat, 8 Jan 2022 12:35:45 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ingo Molnar <mingo@...nel.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [mingo-tip:sched/headers 1785/2372] kernel/sched/core.c:5331:20:
 warning: no previous prototype for 'task_sched_runtime'

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head:   67f8f45b4d0cf00f8e53fc1c2b50c67608ede063
commit: b0906e7a2f182e8f595888b41c1fc6f0c80c4f6d [1785/2372] headers/deps: Reorganize, clean up and optimize kernel/sched/sched.h dependencies
config: i386-tinyconfig (https://download.01.org/0day-ci/archive/20220108/202201081252.k0vPJH1N-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/mingo/tip.git/commit/?id=b0906e7a2f182e8f595888b41c1fc6f0c80c4f6d
        git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
        git fetch --no-tags mingo-tip sched/headers
        git checkout b0906e7a2f182e8f595888b41c1fc6f0c80c4f6d
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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/sched/core.c:5331:20: warning: no previous prototype for 'task_sched_runtime' [-Wmissing-prototypes]
    5331 | unsigned long long task_sched_runtime(struct task_struct *p)
         |                    ^~~~~~~~~~~~~~~~~~
>> kernel/sched/core.c:9450:13: warning: no previous prototype for 'sched_init_smp' [-Wmissing-prototypes]
    9450 | void __init sched_init_smp(void)
         |             ^~~~~~~~~~~~~~
   kernel/sched/core.c:9480:13: warning: no previous prototype for 'per_task_init' [-Wmissing-prototypes]
    9480 | void __init per_task_init(void)
         |             ^~~~~~~~~~~~~
>> kernel/sched/core.c:9489:13: warning: no previous prototype for 'sched_init' [-Wmissing-prototypes]
    9489 | void __init sched_init(void)
         |             ^~~~~~~~~~


vim +/task_sched_runtime +5331 kernel/sched/core.c

6075620b0590ea kernel/sched/core.c Giovanni Gherdovich 2016-08-05  5325  
c5f8d99585d7b5 kernel/sched.c      Hidetoshi Seto      2009-03-31  5326  /*
c5f8d99585d7b5 kernel/sched.c      Hidetoshi Seto      2009-03-31  5327   * Return accounted runtime for the task.
c5f8d99585d7b5 kernel/sched.c      Hidetoshi Seto      2009-03-31  5328   * In case the task is currently running, return the runtime plus current's
c5f8d99585d7b5 kernel/sched.c      Hidetoshi Seto      2009-03-31  5329   * pending runtime that have not been accounted yet.
c5f8d99585d7b5 kernel/sched.c      Hidetoshi Seto      2009-03-31  5330   */
c5f8d99585d7b5 kernel/sched.c      Hidetoshi Seto      2009-03-31 @5331  unsigned long long task_sched_runtime(struct task_struct *p)
c5f8d99585d7b5 kernel/sched.c      Hidetoshi Seto      2009-03-31  5332  {
eb58075149b7f0 kernel/sched/core.c Peter Zijlstra      2015-07-31  5333  	struct rq_flags rf;
c5f8d99585d7b5 kernel/sched.c      Hidetoshi Seto      2009-03-31  5334  	struct rq *rq;
6e998916dfe327 kernel/sched/core.c Stanislaw Gruszka   2014-11-12  5335  	u64 ns;
c5f8d99585d7b5 kernel/sched.c      Hidetoshi Seto      2009-03-31  5336  

:::::: The code at line 5331 was first introduced by commit
:::::: c5f8d99585d7b5b7e857fabf8aefd0174903a98c posixtimers, sched: Fix posix clock monotonicity

:::::: TO: Hidetoshi Seto <seto.hidetoshi@...fujitsu.com>
:::::: CC: Ingo Molnar <mingo@...e.hu>

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