Skip to content
Snippets Groups Projects
Commit cfc03eab authored by Dan Carpenter's avatar Dan Carpenter Committed by Jens Axboe
Browse files

pf: fix error codes in pf_init_unit()


Return a negative error code instead of success on these error paths.

Fixes: fb367e6b ("pf: cleanup initialization")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20211001122654.GB2283@kili


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent d0ac7a30
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment