[alsa-devel] [PATCH] hda-emu: Handle snd_BUG()
David Henningsson
david.henningsson at canonical.com
Wed Oct 17 12:59:32 CEST 2012
Signed-off-by: David Henningsson <david.henningsson at 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"
--
1.7.9.5
More information about the Alsa-devel
mailing list