Page MenuHomeFreeBSD

acpi: Use bus_generic_alloc_resource instead of duplicating it
ClosedPublic

Authored by jhb on Jan 31 2024, 7:48 PM.
Tags
None
Referenced Files
F131805446: D43686.diff
Sat, Oct 11, 7:45 AM
Unknown Object (File)
Tue, Sep 30, 1:54 AM
Unknown Object (File)
Wed, Sep 17, 9:01 PM
Unknown Object (File)
Fri, Sep 12, 1:23 PM
Unknown Object (File)
Aug 18 2025, 1:09 PM
Unknown Object (File)
Aug 14 2025, 11:56 PM
Unknown Object (File)
Jul 27 2025, 3:44 PM
Unknown Object (File)
Jul 26 2025, 9:37 PM
Subscribers
None

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Jan 31 2024, 7:48 PM
jhb created this revision.

This is the sort of commit that needs a one to three line 'why?' because I can guarantee in a year or five when someone looks at this they will ask themselves that.

This revision is now accepted and ready to land.Feb 8 2024, 11:20 PM
In D43686#998982, @imp wrote:

This is the sort of commit that needs a one to three line 'why?' because I can guarantee in a year or five when someone looks at this they will ask themselves that.

Hah, ok. I can add something like "No functional change, but it is cleaner to use the existing generic wrappers rather than KOBJ methods directly."

In D43686#999008, @jhb wrote:
In D43686#998982, @imp wrote:

This is the sort of commit that needs a one to three line 'why?' because I can guarantee in a year or five when someone looks at this they will ask themselves that.

Hah, ok. I can add something like "No functional change, but it is cleaner to use the existing generic wrappers rather than KOBJ methods directly."

Perfect. It's such a basic change in some ways, so it's hard to know if it's a cleanliness thing, or some subtle difference between wrappers and KOBJ_SHOUTING_VERSIONS.