[alsa-devel] [PATCH] hda-emu: Handle snd_BUG()

Takashi Iwai tiwai at suse.de
Wed Oct 17 14:14:17 CEST 2012


At Wed, 17 Oct 2012 12:59:32 +0200,
David Henningsson wrote:
> 
> Signed-off-by: David Henningsson <david.henningsson at 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
> 


More information about the Alsa-devel mailing list