From: Takashi Iwai Date: Fri, 8 Aug 2008 15:06:01 +0000 (+0200) Subject: ALSA: Introduce snd_BUG_ON() macro X-Git-Tag: v2.6.28-rc1~720^2~205 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ef03460a6ffc1d3ee6b6f2abc6765d3e224cf89;p=pandora-kernel.git ALSA: Introduce snd_BUG_ON() macro Introduced snd_BUG_ON() macro as a replacement of snd_assert() macro. snd_assert() is pretty ugly as it has the control flow in its argument. OTOH, snd_BUG_ON() behaves like a normal conditional, thus it's much easier to read the flow. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed