Re: early exception error

From: Cyrill Gorcunov
Date: Mon Jan 05 2009 - 10:02:16 EST


[Jiri Slaby - Mon, Jan 05, 2009 at 03:51:26PM +0100]
| On 01/05/2009 02:08 PM, Andi Kleen wrote:
| > +#define EARLY_BUG_ON(x) do { if (unlikely(!(x))) EARLY_BUG(); } while (0)
|
| I think unintentionally inverted logic.

just second ! is missed :)

|
| > +#define EARLY_BUG_ON(x) do {} while(0)
|
| Shouldn't be x referenced here?
|

but for what?

- Cyrill -
--
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/