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, Jul 31, 10:11 PM
Unknown Object (File)
Wed, Jul 29, 10:56 AM
Unknown Object (File)
Sat, Jul 18, 8:26 PM
Unknown Object (File)
Jul 5 2026, 6:43 AM
Unknown Object (File)
Jul 1 2026, 4:34 PM
Unknown Object (File)
Jul 1 2026, 4:34 PM
Unknown Object (File)
Jun 28 2026, 11:48 AM
Unknown Object (File)
Jun 27 2026, 1:15 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