commit | cfc03eabda8224c681087a4c6c51d1cc595ebfaf | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Oct 01 15:26:54 2021 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Oct 18 14:42:16 2021 -0600 |
tree | d9bdb194a3d0919cb85a3e2d5e7b839ba5d9d54f | |
parent | d0ac7a30e41174c794fbfa53ea986d9555e5b9f4 [diff] |
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>