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
F156572529: D44131.id135120.diff
Thu, May 14, 6:39 PM
F156572329: D44131.diff
Thu, May 14, 6:37 PM
Unknown Object (File)
Wed, May 6, 2:11 AM
Unknown Object (File)
Thu, Apr 30, 6:41 PM
Unknown Object (File)
Tue, Apr 28, 11:14 PM
Unknown Object (File)
Tue, Apr 28, 11:08 PM
Unknown Object (File)
Wed, Apr 22, 9:43 PM
Unknown Object (File)
Apr 6 2026, 2:38 PM

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