commit | d5702162f85526319c848c667df49ee1754dccef | [log] [tgz] |
---|---|---|
author | Christine Spang <christine.spang@oracle.com> | Mon Mar 04 17:02:59 2013 -0500 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Mar 11 09:33:34 2013 +0100 |
tree | 15285b7b5a202a7f5629080fc3224a358378d0f1 | |
parent | 8ba955cef30921417dffba901a8af5a2662a1dec [diff] |
ALSA: Make snd_BUG_ON() always evaluate and return the conditional expression Having snd_BUG_ON() only evaluate its conditional when CONFIG_SND_DEBUG is set leads to frequent bugs, since other similar macros in the kernel have different behavior. Let's make snd_BUG_ON() act like those macros so it will stop being accidentally misused. Signed-off-by: Christine Spang <christine.spang@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>