Messages in this thread |  | | Subject | Re: [linux-usb-devel] Re: [BK PATCH] USB changes for 2.5.34 | From | Alan Cox <> | Date | 10 Sep 2002 01:40:39 +0100 |
| |
On Tue, 2002-09-10 at 01:30, Linus Torvalds wrote: > We might want to add some "weaker" form of BUG_ON() for sanity checks that > aren't life-threatening (ie a "CHECK(a == b)" kind of debug facility) that > would be prettier than doing printk's and show_trace(), and that would > also be easier to disable for production kernels (not that I personally > much believe in disabling debugging like that - if it really isn't needed > it should be removed, not disabled).
I'd have thought you may well want the reverse. If the user didnt pick the kernel debugging, don't die on software check option you want to blow up. If they are debugging or its < 2.6.0-rc1 you want it to show the stack and keep going
- 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/
|  |