Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 18 Feb 2001 09:27:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 18 Feb 2001 09:27:13 -0500 Received: from ns.suse.de ([213.95.15.193]:18442 "HELO Cantor.suse.de") by vger.kernel.org with SMTP id ; Sun, 18 Feb 2001 09:27:04 -0500 To: Keith Owens Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] a more efficient BUG() macro In-Reply-To: <18856.982454476@ocs3.ocs-net> From: Andi Kleen Date: 18 Feb 2001 15:27:01 +0100 In-Reply-To: Keith Owens's message of "18 Feb 2001 01:03:35 +0100" Message-ID: Lines: 12 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Keith Owens writes: > > Would people prefer the C/ASM filename in BUG() messages instead of the > include header? If so I will add it to my todo list for the makefile > rewrite. Of course you can still use __FILE__ and __LINE_ if you > really want to report the error against the include file. I think include file name makes more sense, otherwise you'll have a hard time to find the actual BUG check. If someone wants more they can decode the oops. -Andi - 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/