From: Mike Frysinger Date: Thu, 23 Jun 2011 19:03:04 -0400 Subject: [U-Boot] [PATCH] Add assert() for debug assertions In-Reply-To: References: <1308776689-28115-1-git-send-email-sjg@chromium.org> Message-ID: <201106231903.05611.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday, June 23, 2011 17:39:12 Simon Glass wrote: > - BUG_ON: halt/reset even in production code, used for production code > and critical faults where continued execution is certainly pointless > or counterproductive. Like your ASSERT_ALWAYS I think. if we're going to go this route, then we should just take the API linux already has. that means WARN/WARN_ON/BUG/BUG_ON. we've got more in common with linux than we'll ever have with symbian. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20110623/f5b2ef45/attachment.pgp