mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
assert(x) should emit a warning if x is false. WARN_ON(x) emits a warning if x is true. Thus, assert(x) should be defined as WARN_ON(!x) rather than WARN_ON(x). Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by: Nick Terrell <terrelln@fb.com> |
History
|
|
|---|---|---|
| .. | ||
| bitstream.h | ||
| compiler.h | ||
| cpu.h | ||
| debug.c | ||
| debug.h | ||
| entropy_common.c | ||
| error_private.c | ||
| error_private.h | ||
| fse.h | ||
| fse_decompress.c | ||
| huf.h | ||
| mem.h | ||
| portability_macros.h | ||
| zstd_common.c | ||
| zstd_deps.h | ||
| zstd_internal.h | ||