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)
Sun, Nov 9, 12:10 AM
Unknown Object (File)
Wed, Nov 5, 5:35 AM
Unknown Object (File)
Tue, Nov 4, 3:34 AM
Unknown Object (File)
Sun, Nov 2, 4:02 AM
Unknown Object (File)
Fri, Oct 31, 12:58 AM
Unknown Object (File)
Fri, Oct 31, 12:58 AM
Unknown Object (File)
Thu, Oct 30, 7:58 PM
Unknown Object (File)
Mon, Oct 27, 11:41 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