Re: [2.6 patch][3/3] mm/ BUG -> BUG_ON conversions

From: Adrian Bunk
Date: Sat Aug 28 2004 - 16:37:44 EST


On Sat, Aug 28, 2004 at 10:58:23PM +0200, Jens Axboe wrote:
>
> BUG_ON(1); must always BUG(). That said, it's never wise to put
> expressions with side-effects into macros.

The intention is, to add an option that lets BUG/BUG_ON/WARN_ON/PAGE_BUG
do nothing. This option should be hidden under EMBEDDED.

In some environments, this seems to be desirable.

> Jens Axboe

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/