mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: kbuild-all@01.org,
	Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Ingo Molnar <mingo@kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Petr Mladek <pmladek@suse.com>,
	Sergey Senozhatsky <sergey.senozhatsky@gmail.com>,
	"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Subject: Re: locking/lockdep: Fix NMI handling
Date: Mon, 10 Sep 2018 13:32:06 +0800	[thread overview]
Message-ID: <201809101310.17hvOni1%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180907074531.GM24106@hirez.programming.kicks-ass.net>

[-- Attachment #1: Type: text/plain, Size: 1759 bytes --]

Hi Peter,

I love your patch! Yet something to improve:

[auto build test ERROR on tip/locking/core]
[also build test ERROR on v4.19-rc2 next-20180906]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Peter-Zijlstra/locking-lockdep-Fix-NMI-handling/20180910-124306
config: i386-randconfig-x009-09101226 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from include/linux/spinlock_types.h:18:0,
                    from kernel/bounds.c:14:
   include/linux/lockdep.h: In function 'lockdep_off':
>> include/linux/lockdep.h:277:2: error: 'current' undeclared (first use in this function)
     current->lockdep_recursion++;
     ^~~~~~~
   include/linux/lockdep.h:277:2: note: each undeclared identifier is reported only once for each function it appears in
   include/linux/lockdep.h: In function 'lockdep_on':
   include/linux/lockdep.h:282:2: error: 'current' undeclared (first use in this function)
     current->lockdep_recursion--;
     ^~~~~~~
   make[2]: *** [kernel/bounds.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2

vim +/current +277 include/linux/lockdep.h

   274	
   275	static inline void lockdep_off(void)
   276	{
 > 277		current->lockdep_recursion++;
   278	}
   279	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27329 bytes --]

  parent reply	other threads:[~2018-09-10  5:32 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-06  1:33 [PATCH] printk/tracing: Do not trace printk_nmi_enter() Steven Rostedt
2018-09-06  2:31 ` Sergey Senozhatsky
2018-09-06  9:04   ` Petr Mladek
2018-09-06 15:22   ` Steven Rostedt
2018-09-07  7:45   ` Peter Zijlstra
2018-09-07  8:28     ` Petr Mladek
2018-09-07  8:35       ` Sergey Senozhatsky
2018-09-07 13:47         ` Steven Rostedt
2018-09-07  9:30       ` Peter Zijlstra
2018-09-07 13:53         ` Steven Rostedt
2018-09-10  5:32     ` kbuild test robot [this message]
2018-09-07  7:34 ` Peter Zijlstra
2018-09-07 13:41   ` Steven Rostedt
2018-09-07 13:45     ` Peter Zijlstra
2018-09-07 13:55       ` Steven Rostedt
2018-09-07 14:01         ` Steven Rostedt
2018-09-07 14:03           ` Peter Zijlstra
2018-09-07 14:52             ` Sergey Senozhatsky
2018-09-07 14:02         ` Peter Zijlstra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201809101310.17hvOni1%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=peterz@infradead.org \
    --cc=pmladek@suse.com \
    --cc=rostedt@goodmis.org \
    --cc=sergey.senozhatsky.work@gmail.com \
    --cc=sergey.senozhatsky@gmail.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®