diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-01-15 09:53:52 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-17 13:36:58 +0300 |
commit | d94af3b75f0e87fd64a65465f0ba9d81dd190671 (patch) | |
tree | 75e9f38a8d0c95dd7d404cbf0f8735876aedffc4 /tools/perf/scripts/python/stackcollapse.py | |
parent | ae2b0969aa780dfe8792b1539336d6a8b41d4d6c (diff) | |
download | linux-d94af3b75f0e87fd64a65465f0ba9d81dd190671.tar.xz |
md/md-linear: Fix a NULL vs IS_ERR() bug in linear_add()
commit 62c552070a980363d55a6082b432ebd1cade7a6e upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions