LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* how can we use assert in non-debug version kernel ?
@ 2007-01-05  5:39 Seetharam Dharmosoth
  2007-01-05 17:47 ` Valdis.Kletnieks
  0 siblings, 1 reply; 2+ messages in thread
From: Seetharam Dharmosoth @ 2007-01-05  5:39 UTC (permalink / raw)
  To: linux-kernel

Hi all,

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

Thanks
Seetharam


Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how can we use assert in non-debug version kernel ?
  2007-01-05  5:39 how can we use assert in non-debug version kernel ? Seetharam Dharmosoth
@ 2007-01-05 17:47 ` Valdis.Kletnieks
  0 siblings, 0 replies; 2+ messages in thread
From: Valdis.Kletnieks @ 2007-01-05 17:47 UTC (permalink / raw)
  To: Seetharam Dharmosoth; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 219 bytes --]

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 #2: Type: application/pgp-signature, Size: 226 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-05 17:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-05  5:39 how can we use assert in non-debug version kernel ? Seetharam Dharmosoth
2007-01-05 17:47 ` Valdis.Kletnieks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).