diff options
author | 2025-01-15 09:53:52 +0300 | |
---|---|---|
committer | 2025-01-16 09:31:25 -0800 | |
commit | 62c552070a980363d55a6082b432ebd1cade7a6e (patch) | |
tree | 8f83b6815beea7440fc1bc58b5f5376cd2d63d4c /scripts/generate_rust_analyzer.py | |
parent | block: limit disk max sectors to (LLONG_MAX >> 9) (diff) | |
download | wireguard-linux-62c552070a980363d55a6082b432ebd1cade7a6e.tar.xz wireguard-linux-62c552070a980363d55a6082b432ebd1cade7a6e.zip |
md/md-linear: Fix a NULL vs IS_ERR() bug in linear_add()
The linear_conf() returns error pointers, it doesn't return NULL. Update
the error checking to match.
Fixes: 127186cfb184 ("md: reintroduce md-linear")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/add654be-759f-4b2d-93ba-a3726dae380c@stanley.mountain
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions