lockdep: handle chains involving classes defined in modules
[deliverable/linux.git] / kernel / lockdep_proc.c
index 6252ff799d19c35237023362239a04789e80e576..fa19aee604c28233822701ac5f86bcb288ffe239 100644 (file)
@@ -201,6 +201,9 @@ static int lc_show(struct seq_file *m, void *v)
 
        for (i = 0; i < chain->depth; i++) {
                class = lock_chain_get_class(chain, i);
+               if (!class->key)
+                       continue;
+
                seq_printf(m, "[%p] ", class->key);
                print_name(m, class);
                seq_puts(m, "\n");
This page took 0.028438 seconds and 5 git commands to generate.