]> err.no Git - linux-2.6/blobdiff - kernel/lockdep_proc.c
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
[linux-2.6] / 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");