Re: [PATCH v2] lockdep: fix warning: print_lock_trace defined but not used

2019-06-18 Thread Paul E. McKenney
On Sun, Jun 09, 2019 at 05:09:33PM -0700, john.hubb...@gmail.com wrote: > From: John Hubbard > > Commit 0d2cc3b34532 ("locking/lockdep: Move valid_state() inside > CONFIG_TRACE_IRQFLAGS && CONFIG_PROVE_LOCKING") moved the only usage of > print_lock_trace() that was originally outside of the

[PATCH v2] lockdep: fix warning: print_lock_trace defined but not used

2019-06-09 Thread john . hubbard
From: John Hubbard Commit 0d2cc3b34532 ("locking/lockdep: Move valid_state() inside CONFIG_TRACE_IRQFLAGS && CONFIG_PROVE_LOCKING") moved the only usage of print_lock_trace() that was originally outside of the CONFIG_PROVE_LOCKING case. It moved that usage into a different case: