aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2023-01-29 14:14:36 +0100
committerNick Terrell <terrelln@fb.com>2023-03-06 15:54:54 -0800
commit6906598f1ce93761716d780b6e3f171e13f0f4ce (patch)
tree35b69a9a62e0ec85af14d667b84d85aedd236a95 /scripts/generate_rust_analyzer.py
parentlib: zstd: Backport fix for in-place decompression (diff)
downloadlinux-rng-6906598f1ce93761716d780b6e3f171e13f0f4ce.tar.xz
linux-rng-6906598f1ce93761716d780b6e3f171e13f0f4ce.zip
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>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions