From: David Brownell Date: Tue, 6 Jan 2009 22:41:01 +0000 (-0800) Subject: documentation: when to BUG(), and when to not BUG() X-Git-Tag: v2.6.29-rc1~371 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af9379c7121d5543722c00bbd1adf7dcaa0b6448;p=pandora-kernel.git documentation: when to BUG(), and when to not BUG() Provide some basic advice about when to use BUG()/BUG_ON(): never, unless there's really no better option. This matches my understanding of the standard policy ... which seems not to be written down so far, outside of LKML messages that I haven't bookmarked. Signed-off-by: David Brownell Cc: Hans Verkuil Cc: Ingo Molnar Cc: Arjan van de Ven Cc: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed