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)
Thu, Mar 19, 3:52 PM
Unknown Object (File)
Sun, Mar 15, 12:44 PM
Unknown Object (File)
Fri, Feb 27, 2:58 PM
Unknown Object (File)
Fri, Feb 27, 2:58 PM
Unknown Object (File)
Feb 9 2026, 6:09 PM
Unknown Object (File)
Feb 9 2026, 8:24 AM
Unknown Object (File)
Jan 23 2026, 1:19 PM
Unknown Object (File)
Jan 21 2026, 6:06 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