commit | 5ef03460a6ffc1d3ee6b6f2abc6765d3e224cf89 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Fri Aug 08 17:06:01 2008 +0200 |
committer | Jaroslav Kysela <perex@perex.cz> | Wed Aug 13 11:46:32 2008 +0200 |
tree | 1947acad9b61fa80567fa1dd20c5b8c65ff8a46d | |
parent | 3caf8c080ef0bd0ccdc20bb57b150b6e40a86fd3 [diff] |
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 <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>