diff options
author | 2024-09-24 19:31:22 -0400 | |
---|---|---|
committer | 2024-09-27 21:46:34 -0400 | |
commit | b29c30ab48e0395a22ecf0b94443d16a8f493fb6 (patch) | |
tree | 543419a5b1692d6c21dfd154f9fa994cf7bbc00f /scripts/generate_rust_analyzer.py | |
parent | bcachefs: fix the memory leak in exception case (diff) | |
download | linux-rng-b29c30ab48e0395a22ecf0b94443d16a8f493fb6.tar.xz linux-rng-b29c30ab48e0395a22ecf0b94443d16a8f493fb6.zip |
bcachefs: Fix incorrect IS_ERR_OR_NULL usage
Returning a positive integer instead of an error code causes error paths
to become very confused.
Closes: syzbot+c0360e8367d6d8d04a66@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions