LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Valdis.Kletnieks@vt.edu
To: Seetharam Dharmosoth <seetharam_kernel@yahoo.co.in>
Cc: linux-kernel@vger.kernel.org
Subject: Re: how can we use assert in non-debug version kernel ?
Date: Fri, 05 Jan 2007 12:47:24 -0500	[thread overview]
Message-ID: <200701051747.l05HlOpX010735@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Fri, 05 Jan 2007 05:39:19 GMT." <20070105053919.75196.qmail@web7703.mail.in.yahoo.com>

[-- 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 --]

      reply	other threads:[~2007-01-05 17:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-05  5:39 Seetharam Dharmosoth
2007-01-05 17:47 ` Valdis.Kletnieks [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200701051747.l05HlOpX010735@turing-police.cc.vt.edu \
    --to=valdis.kletnieks@vt.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=seetharam_kernel@yahoo.co.in \
    --subject='Re: how can we use assert in non-debug version kernel ?' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).