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)
Nov 6 2025, 12:39 PM
Unknown Object (File)
Nov 5 2025, 10:57 PM
Unknown Object (File)
Oct 27 2025, 5:51 PM
Unknown Object (File)
Oct 26 2025, 10:58 PM
Unknown Object (File)
Sep 9 2025, 2:37 AM
Unknown Object (File)
Sep 6 2025, 11:14 PM
Unknown Object (File)
Sep 1 2025, 11:22 PM
Unknown Object (File)
Sep 1 2025, 5:40 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