1SND_BUG_ON(9)               Miscellaneous Functions              SND_BUG_ON(9)
2
3
4

NAME

6       snd_BUG_ON - debugging check macro
7

SYNOPSIS

9       snd_BUG_ON(cond);
10

ARGUMENTS

12       cond
13           condition to evaluate
14

DESCRIPTION

16       When CONFIG_SND_DEBUG is set, this macro evaluates the given condition,
17       and call WARN and returns the value if it´s non-zero.
18
19       When CONFIG_SND_DEBUG is not set, this just returns zero, and the given
20       condition is ignored.
21

NOTE

23       the argument won´t be evaluated at all when CONFIG_SND_DEBUG=n. Thus,
24       don´t put any statement that influences on the code behavior, such as
25       pre/post increment, to the argument of this macro. If you want to
26       evaluate and give a warning, use standard WARN_ON.
27
29Kernel Hackers Manual 2.6.         June 2019                     SND_BUG_ON(9)
Impressum