Re: [PATCH] BUG() disassembly tweak

Dave Jones (davej@suse.de)
Sat, 11 May 2002 00:51:15 +0200


On Fri, May 10, 2002 at 03:10:04PM -0700, Linus Torvalds wrote:
> If it wants to be changed, I'd actually personally prefer it to be changed
> to take an explicit string instead of using the filename/linenr at all.

rather than fixing up the gazillions of existing BUG()'s we have
littered through the tree, maybe we could default to current behaviour
if no argument is passed ?

Failing that, resurrecting the k_assert() idea someone proposed
(jgarzik?) a few months back.

One reason for doing this would be to make it less painful for people
writing drivers that compile on 2.4/2.6

Dave.

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs
-
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/