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, Apr 20, 5:58 PM
Unknown Object (File)
Tue, Apr 8, 5:28 PM
Unknown Object (File)
Mar 25 2025, 12:11 PM
Unknown Object (File)
Feb 28 2025, 1:34 PM
Unknown Object (File)
Feb 25 2025, 7:03 PM
Unknown Object (File)
Jan 17 2025, 12:17 PM
Unknown Object (File)
Jan 11 2025, 7:53 AM
Unknown Object (File)
Dec 3 2024, 5:42 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