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)
Mon, Nov 11, 9:34 PM
Unknown Object (File)
Oct 16 2024, 8:43 PM
Unknown Object (File)
Oct 16 2024, 8:39 PM
Unknown Object (File)
Oct 16 2024, 8:21 PM
Unknown Object (File)
Sep 23 2024, 1:06 PM
Unknown Object (File)
Sep 22 2024, 11:26 PM
Unknown Object (File)
Sep 22 2024, 10:58 PM
Unknown Object (File)
Sep 21 2024, 4:46 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