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
Unknown Object (File)
Dec 3 2024, 10:19 PM
Unknown Object (File)
Dec 3 2024, 10:19 PM
Unknown Object (File)
Dec 3 2024, 10:18 PM
Unknown Object (File)
Dec 3 2024, 9:55 PM
Unknown Object (File)
Nov 18 2024, 1:52 AM
Unknown Object (File)
Oct 17 2024, 2:33 PM
Unknown Object (File)
Oct 7 2024, 7:05 AM
Unknown Object (File)
Sep 25 2024, 1:09 AM
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.