linux-stable/lib/zstd
Jonathan Neuschäfer 78b342f0cd zstd: Fix definition of assert()
[ Upstream commit 6906598f1c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-06 12:10:38 +02:00
..
common zstd: Fix definition of assert() 2023-04-06 12:10:38 +02:00
compress lib: zstd: Don't inline functions in zstd_opt.c 2021-11-18 13:15:33 -08:00
decompress lib: zstd: Add cast to silence clang's -Wbitwise-instead-of-logical 2021-11-08 16:55:38 -08:00
Makefile zstd: Fixing mixed module-builtin objects 2022-10-03 03:52:58 +09:00
decompress_sources.h lib: zstd: Upgrade to latest upstream zstd version 1.4.10 2021-11-08 16:55:32 -08:00
zstd_compress_module.c lib: zstd: Upgrade to latest upstream zstd version 1.4.10 2021-11-08 16:55:32 -08:00
zstd_decompress_module.c lib: zstd: Upgrade to latest upstream zstd version 1.4.10 2021-11-08 16:55:32 -08:00