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 <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Paul E. McKenney <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Will Deacon <[email protected]> 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

