[PATCH] disable-lockdep-warn

Chris Wilson chris at chris-wilson.co.uk
Tue Oct 27 11:47:46 UTC 2020


---
 kernel/locking/lockdep_proc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/locking/lockdep_proc.c b/kernel/locking/lockdep_proc.c
index 02ef87f50df2..3a945958da41 100644
--- a/kernel/locking/lockdep_proc.c
+++ b/kernel/locking/lockdep_proc.c
@@ -252,7 +252,7 @@ static int lockdep_stats_show(struct seq_file *m, void *v)
 
 		sum_forward_deps += lockdep_count_forward_deps(class);
 	}
-#ifdef CONFIG_DEBUG_LOCKDEP
+#if defined(CONFIG_DEBUG_LOCKDEP) && 0
 	DEBUG_LOCKS_WARN_ON(debug_atomic_read(nr_unused_locks) != nr_unused);
 #endif
 
-- 
2.20.1



More information about the Intel-gfx-trybot mailing list