* Mandeep Singh Baines <m...@chromium.org> wrote: > --- a/kernel/lockdep.c > +++ b/kernel/lockdep.c > @@ -4091,10 +4091,10 @@ static void print_held_locks_bug(struct task_struct > *curr) > return; > > printk("\n"); > - printk("=====================================\n"); > - printk("[ BUG: lock held at task exit time! ]\n"); > + printk("=======================================\n"); > + printk("[ BUG: lock held at exit/freeze time! ]\n");
Looks good, but to make it more apparent which case triggers, please pass in a 'msg' string that gets printed - and the msg is either "exit" or "freeze", depending on from where it's called. Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/