Page MenuHomeFreeBSD

new-bus: Remove the 'type' argument from BUS_ADJUST_RESOURCE
ClosedPublic

Authored by jhb on Feb 27 2024, 7:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 18, 2:35 AM
Unknown Object (File)
Wed, Jan 8, 9:13 AM
Unknown Object (File)
Tue, Jan 7, 7:51 AM
Unknown Object (File)
Mon, Dec 30, 9:24 PM
Unknown Object (File)
Dec 27 2024, 12:33 AM
Unknown Object (File)
Nov 16 2024, 3:46 PM
Unknown Object (File)
Nov 3 2024, 1:41 PM
Unknown Object (File)
Oct 29 2024, 7:52 PM

Details

Summary

The public bus_adjust_resource() API still accepts both forms, but the
internal kobj method no longer passes the argument. Implementations
which need the type now use 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 56301
Build 53189: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Feb 27 2024, 7:47 PM
share/man/man9/bus_adjust_resource.9
28

bump on commit, of course

This revision is now accepted and ready to land.Mar 8 2024, 6:47 PM