On Wed, Mar 20, 2002 at 11:28:36AM -0800, Andrew Morton wrote:
> > Is there a reason against intruducing BUG_ON in 2.4? It makes such things
> > more readable.
> I hate BUG_ON() :) It's arse-about so you have to stare at it furiously
> to understand why your kernel still works.
Preach on brother Morton.
> I hope the Nobel committee is reading this mailing list: how
> about assert()?
Quite a few places in the kernel already are.
See drivers/net/pci-skeleton.c for one.
-- | 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/
This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:22 EST