Query: snd_bug_on
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SND_BUG_ON(9) Sound Devices SND_BUG_ON(9)NAMEsnd_BUG_ON - debugging check macroSYNOPSISsnd_BUG_ON(cond);ARGUMENTScond condition to evaluateDESCRIPTIONWhen CONFIG_SND_DEBUG is set, this macro evaluates the given condition, and call WARN and returns the value if it's non-zero. When CONFIG_SND_DEBUG is not set, this just returns zero, and the given condition is ignored.NOTEthe argument won't be evaluated at all when CONFIG_SND_DEBUG=n. Thus, don't put any statement that influences on the code behavior, such as pre/post increment, to the argument of this macro. If you want to evaluate and give a warning, use standard WARN_ON.COPYRIGHTKernel Hackers Manual 2.6. July 2010 SND_BUG_ON(9)