commit | 6906598f1ce93761716d780b6e3f171e13f0f4ce | [log] [tgz] |
---|---|---|
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | Sun Jan 29 14:14:36 2023 +0100 |
committer | Nick Terrell <terrelln@fb.com> | Mon Mar 06 15:54:54 2023 -0800 |
tree | 35b69a9a62e0ec85af14d667b84d85aedd236a95 | |
parent | 038505c41f0aad26ef101f4f7f6e111531c3914f [diff] |
zstd: Fix definition of assert() 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>