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 10:05:47 +0100 |
| commit | 4c42502e905107da13396ee4bc4b94979059bf2f (patch) | |
| tree | a99244f4e20c17e8bbaf6e2469cdf120a6c521af /scripts/objdiff | |
| parent | eb03ebb34873149815629ff6ec4e8d7aa2250cb4 (diff) | |
| download | linux-4c42502e905107da13396ee4bc4b94979059bf2f.tar.gz linux-4c42502e905107da13396ee4bc4b94979059bf2f.tar.bz2 linux-4c42502e905107da13396ee4bc4b94979059bf2f.zip | |
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 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
