diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-07-19 12:48:01 +0300 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2022-07-19 10:58:33 -0700 |
commit | 5f7ef4875f99538b741527963ffe09e869b49826 (patch) | |
tree | 0097e4bad8f7088c5401a6a71acd0ac05ee30fb9 /drivers/platform/surface/aggregator/ssh_request_layer.c | |
parent | 957a2b345cbcf41b4b25d471229f0e35262f066c (diff) |
md/raid5: missing error code in setup_conf()
Return -ENOMEM if the allocation fails. Don't return success.
Fixes: 8fbcba6b999b ("md/raid5: Cleanup setup_conf() error returns")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_request_layer.c')
0 files changed, 0 insertions, 0 deletions