HomeFreeBSD

dpaa: Go to cleanup exit point on fman attach error

Description

dpaa: Go to cleanup exit point on fman attach error

If fman_init() fails it can leave things in a state where it cannot
attach at all in the future, because it would simply exit without
tearing down everything that was already set up. Go to the exit point
to clean up on error instead, so that it can try again later.

MFC after: 1 week

Details

Provenance
jhibbitsAuthored on Nov 6 2022, 12:01 AM
Parents
rG105019e0d6cb: bnxt: Remove from LINT
Branches
Unknown
Tags
Unknown