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
F81335464: D44131.id.diff
Sun, Apr 14, 5:44 PM
Unknown Object (File)
Mon, Apr 8, 10:42 PM
Unknown Object (File)
Sat, Apr 6, 4:33 AM
Unknown Object (File)
Mar 13 2024, 11:33 PM
Unknown Object (File)
Mar 13 2024, 10:22 PM
Unknown Object (File)
Mar 2 2024, 8:50 PM
Unknown Object (File)
Feb 27 2024, 8:54 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