diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-10-01 15:26:54 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 23:42:16 +0300 |
commit | cfc03eabda8224c681087a4c6c51d1cc595ebfaf (patch) | |
tree | d9bdb194a3d0919cb85a3e2d5e7b839ba5d9d54f /drivers/block/sx8.c | |
parent | d0ac7a30e41174c794fbfa53ea986d9555e5b9f4 (diff) | |
download | linux-cfc03eabda8224c681087a4c6c51d1cc595ebfaf.tar.xz |
pf: fix error codes in pf_init_unit()
Return a negative error code instead of success on these error paths.
Fixes: fb367e6baeb0 ("pf: cleanup initialization")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20211001122654.GB2283@kili
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/sx8.c')
0 files changed, 0 insertions, 0 deletions