Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757221AbZCWUQj (ORCPT ); Mon, 23 Mar 2009 16:16:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753380AbZCWUQa (ORCPT ); Mon, 23 Mar 2009 16:16:30 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:41671 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752079AbZCWUQa (ORCPT ); Mon, 23 Mar 2009 16:16:30 -0400 Date: Mon, 23 Mar 2009 16:16:28 -0400 From: Kyle McMartin To: mingo@redhat.com Cc: linux-kernel@vger.kernel.org Subject: [PATCH] degrade severity of lockdep printk Message-ID: <20090323201628.GB19208@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1005 Lines: 27 From: Kyle McMartin While it means something is awry, the BUG prefix confuses users and possibly the kerneloops tool. It's also being trivially exhausted in normal use on my laptop and several other folks machines, but that will need another look. Signed-off-by: Kyle McMartin diff --git a/kernel/lockdep.c b/kernel/lockdep.c index 06b0c35..139a81a 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c @@ -368,7 +368,7 @@ static int save_trace(struct stack_trace *trace) if (!debug_locks_off_graph_unlock()) return 0; - printk("BUG: MAX_STACK_TRACE_ENTRIES too low!\n"); + printk("warning: MAX_STACK_TRACE_ENTRIES too low!\n"); printk("turning off the locking correctness validator.\n"); dump_stack(); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/