Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d5702162 authored by Christine Spang's avatar Christine Spang Committed by Takashi Iwai
Browse files

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: default avatarChristine Spang <christine.spang@oracle.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 8ba955ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment