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: <201702120831.C3usYS0N%fengguang.wu@intel.com>
Date:   Sun, 12 Feb 2017 08:38:35 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Ingo Molnar <mingo@...nel.org>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org, tipbuild@...or.com
Subject: [tip:sched/core 83/86] kernel/sched/core.c:199:25: error:
 'paravirt_steal_rq_enabled' undeclared

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core
head:   bb3bac2ca9a3a5b7fa601781adf70167a0449d75
commit: 004172bdad644327dc7a6543186b9d7b529ee944 [83/86] sched/core: Remove unnecessary #include headers
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 004172bdad644327dc7a6543186b9d7b529ee944
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   kernel/sched/core.c: In function 'update_rq_clock_task':
>> kernel/sched/core.c:199:25: error: 'paravirt_steal_rq_enabled' undeclared (first use in this function)
     if (static_key_false((&paravirt_steal_rq_enabled))) {
                            ^~~~~~~~~~~~~~~~~~~~~~~~~
   kernel/sched/core.c:199:25: note: each undeclared identifier is reported only once for each function it appears in
>> kernel/sched/core.c:200:11: error: implicit declaration of function 'paravirt_steal_clock' [-Werror=implicit-function-declaration]
      steal = paravirt_steal_clock(cpu_of(rq));
              ^~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/paravirt_steal_rq_enabled +199 kernel/sched/core.c

535b9552 Ingo Molnar 2017-02-01  193  		irq_delta = delta;
535b9552 Ingo Molnar 2017-02-01  194  
535b9552 Ingo Molnar 2017-02-01  195  	rq->prev_irq_time += irq_delta;
535b9552 Ingo Molnar 2017-02-01  196  	delta -= irq_delta;
535b9552 Ingo Molnar 2017-02-01  197  #endif
535b9552 Ingo Molnar 2017-02-01  198  #ifdef CONFIG_PARAVIRT_TIME_ACCOUNTING
535b9552 Ingo Molnar 2017-02-01 @199  	if (static_key_false((&paravirt_steal_rq_enabled))) {
535b9552 Ingo Molnar 2017-02-01 @200  		steal = paravirt_steal_clock(cpu_of(rq));
535b9552 Ingo Molnar 2017-02-01  201  		steal -= rq->prev_steal_time_rq;
535b9552 Ingo Molnar 2017-02-01  202  
535b9552 Ingo Molnar 2017-02-01  203  		if (unlikely(steal > delta))

:::::: The code at line 199 was first introduced by commit
:::::: 535b9552bb81eebe112ee7bd34ee498857b0c26b sched/rq_clock: Consolidate the ordering of the rq_clock methods

:::::: TO: Ingo Molnar <mingo@...nel.org>
:::::: CC: Ingo Molnar <mingo@...nel.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (59732 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ