Re: [PATCH 22/28] locking/lockdep: Adjust new bit cases in mark_lock
From: Yuyang Du
Date: Fri Apr 26 2019 - 02:48:13 EST
Thanks for review.
On Fri, 26 Apr 2019 at 03:52, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> > + if (new_bit >= LOCK_USAGE_STATES) {
> > + WARN_ON(1);
>
> Does that want to be DEBUG_LOCKS_WARN_ON() ?
Indeed, it was.