Page MenuHomeFreeBSD

new-bus: Remove the 'rid' and 'type' arguments from BUS_RELEASE_RESOURCE
ClosedPublic

Authored by jhb on Feb 27 2024, 7:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 28, 11:47 AM
Unknown Object (File)
Tue, Nov 25, 9:47 PM
Unknown Object (File)
Tue, Nov 25, 12:03 PM
Unknown Object (File)
Nov 17 2025, 11:17 AM
Unknown Object (File)
Nov 9 2025, 12:10 AM
Unknown Object (File)
Nov 5 2025, 5:35 AM
Unknown Object (File)
Nov 4 2025, 3:34 AM
Unknown Object (File)
Nov 2 2025, 4:02 AM

Details

Summary

The public bus_release_resource() API still accepts both forms, but
the internal kobj method no longer passes the arguments.
Implementations which need the rid or type now use rman_get_rid() or
rman_get_type() to fetch the value from the allocated resource.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 56304
Build 53192: arc lint + arc unit