Re: [PATCH] trace/irq: fix WARNING in check_flags while CONFIG_TRACE_IRQFLAGS opened

From: Peter Zijlstra
Date: Mon Feb 22 2016 - 07:26:59 EST


On Mon, Feb 22, 2016 at 06:06:45PM +0800, Wang Yufen wrote:
> if CONFIG_TRACE_IRQFLAGS opened, we got that warning:
> [ 214.078880] ------------[ cut here ]------------
>
> [ 214.083521] WARNING: CPU: 4 PID: 1 at kernel/locking/lockdep.c:3557
> check_flags.part.40+0x1c0/0x1d0()

I'm not entirely sure how to open a CONFIG_ symbol, but when I have it
enabled, I do not get this warning.

So your report is missing some critical information.