Page MenuHomeFreeBSD

Fix ofw pcib when it rman_init fails
ClosedPublic

Authored by andrew on Jun 30 2022, 6:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 4, 9:27 PM
Unknown Object (File)
Tue, Sep 29, 11:14 AM
Unknown Object (File)
Wed, Sep 16, 1:07 AM
Unknown Object (File)
Fri, Sep 11, 12:09 AM
Unknown Object (File)
Thu, Sep 10, 10:17 PM
Unknown Object (File)
Wed, Sep 9, 10:02 PM
Unknown Object (File)
Wed, Sep 9, 12:22 AM
Unknown Object (File)
Sep 6 2026, 11:17 PM
Subscribers

Details

Summary

rman_fini assumes rman_init has been called successfully. Clean up
init faulure by only calling rman_fini when rman_init has succeeded.

While here add ofw_pcib_fini that can be used by a sub-class to clean
up.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable