Re: [PATCH] locking/lockdep: Fix lock IRQ usage initialization bug

From: Qian Cai
Date: Mon Jun 10 2019 - 11:40:18 EST


On Mon, 2019-06-10 at 13:52 +0800, Yuyang Du wrote:
> The commit:
>
> Â 091806515124b20 ("locking/lockdep: Consolidate lock usage bit
> initialization")
>
> misses marking LOCK_USED flag at IRQ usage initialization when
> CONFIG_TRACE_IRQFLAGS
> or CONFIG_PROVE_LOCKING is not defined. Fix it.
>
> Reported-by: Qian Cai <cai@xxxxxx>
> Signed-off-by: Yuyang Du <duyuyang@xxxxxxxxx>

It works fine.