[PATCH 0/1] lockdep: fix warning: print_lock_trace defined but not used

From: John Hubbard
Date: Sun May 19 2019 - 13:52:28 EST


Hi,

I ran across this minor warning while building against today's linux.git.

The proposed trivial fix leaves it a little fragile from a "what if someone
adds a new call to print_lock_trace()" point of view, but I believe that it
makes the current combination of ifdefs accurate, anyway.

Cc: Frederic Weisbecker <frederic@xxxxxxxxxx>
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Will Deacon <will.deacon@xxxxxxx>

John Hubbard (1):
lockdep: fix warning: print_lock_trace defined but not used

kernel/locking/lockdep.c | 3 +++
1 file changed, 3 insertions(+)

--
2.21.0