[alsa-devel] [PATCH] hda-emu: Handle snd_BUG()
Signed-off-by: David Henningsson david.henningsson@canonical.com --- include/sound/core.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/include/sound/core.h b/include/sound/core.h index 57774ea..a749460 100644 --- a/include/sound/core.h +++ b/include/sound/core.h @@ -24,6 +24,7 @@ static inline int _snd_BUG_ON(int cond, const char *func, int line) return cond; } #define snd_BUG_ON(cond) _snd_BUG_ON(cond, __func__, __LINE__) +#define snd_BUG() snd_BUG_ON(1)
#include "asound.h" #include "codec_config.h"
At Wed, 17 Oct 2012 12:59:32 +0200, David Henningsson wrote:
Signed-off-by: David Henningsson david.henningsson@canonical.com
Thanks, applied.
Takashi
include/sound/core.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/include/sound/core.h b/include/sound/core.h index 57774ea..a749460 100644 --- a/include/sound/core.h +++ b/include/sound/core.h @@ -24,6 +24,7 @@ static inline int _snd_BUG_ON(int cond, const char *func, int line) return cond; } #define snd_BUG_ON(cond) _snd_BUG_ON(cond, __func__, __LINE__) +#define snd_BUG() snd_BUG_ON(1)
#include "asound.h"
#include "codec_config.h"
1.7.9.5
participants (2)
-
David Henningsson
-
Takashi Iwai