diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-10-01 15:26:23 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 14:41:59 -0600 |
| commit | d0ac7a30e41174c794fbfa53ea986d9555e5b9f4 (patch) | |
| tree | b6e17471c4bba8a8f380fecab34fd861561bf511 /lib/mpi/mpi-sub-ui.c | |
| parent | db8eda9c43361023678aa23eb0dceb0a411af0f3 (diff) | |
pcd: fix error codes in pcd_init_unit()
Return -ENODEV on these error paths instead of returning success.
Fixes: af761f277b7f ("pcd: cleanup initialization")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20211001122623.GA2283@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
