Re: how can we use assert in non-debug version kernel ?

From: Valdis . Kletnieks
Date: Fri Jan 05 2007 - 12:47:47 EST


On Fri, 05 Jan 2007 05:39:19 GMT, Seetharam Dharmosoth said:

> can you please give me hint that -
> "how can we use assert in non-debug version kernel ?"

BUG_ON(your_condition_here);

may be what you're looking for?

Attachment: pgp00000.pgp
Description: PGP signature