diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-10-01 15:27:22 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 14:42:30 -0600 |
| commit | 5deae20c552aec0750cc7b95e84ca94121aac3b3 (patch) | |
| tree | bff68cb2fe0b3288be66c885f737009d067dd8ca /lib/mpi/mpi-sub-ui.c | |
| parent | cfc03eabda8224c681087a4c6c51d1cc595ebfaf (diff) | |
sx8: fix an error code in carm_init_one()
Return a negative error code here on this error path instead of
returning success.
Fixes: 637208e74a86 ("block/sx8: add error handling support for add_disk()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20211001122722.GC2283@kili
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
