Page MenuHomeFreeBSD

acpi_spmc(4): Rename functions parsing constraints
ClosedPublic

Authored by olce on Mon, May 4, 8:32 PM.
Tags
None
Referenced Files
F157960038: D56806.id.diff
Tue, May 26, 10:46 PM
F157924771: D56806.id177743.diff
Tue, May 26, 1:18 PM
F157924014: D56806.id177743.diff
Tue, May 26, 1:10 PM
Unknown Object (File)
Mon, May 25, 10:23 PM
Unknown Object (File)
Mon, May 25, 10:14 PM
Unknown Object (File)
Mon, May 25, 7:50 PM
Unknown Object (File)
Mon, May 25, 9:32 AM
Unknown Object (File)
Mon, May 25, 9:25 AM
Subscribers

Details

Summary

Rename acpi_spmc_get_constraints_intel() and
acpi_spmc_get_constraints_amd() ("get" => "parse") to reflect that they
are actually just parsing the constraints passed by
acpi_spmc_get_constraints().

No functional change (intended).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 73018
Build 69901: arc lint + arc unit

Event Timeline

olce requested review of this revision.Mon, May 4, 8:32 PM
This revision is now accepted and ready to land.Thu, May 7, 2:35 AM

(Context impact, nothing really changed.)

This revision now requires review to proceed.Thu, May 7, 7:57 PM

I mean, technically these functions aren't just parsing the constraints, they're also getting them... I don't know if I agree with this change

I mean, technically these functions aren't just parsing the constraints, they're also getting them... I don't know if I agree with this change

Maybe it's a question of words, but these functions do not "get" them in the sense they query the firmware, that is done only at start of acpi_spmc_get_constraints(), they just interpret/parse the result, building our own internal structures.

I mean, technically these functions aren't just parsing the constraints, they're also getting them... I don't know if I agree with this change

Maybe it's a question of words, but these functions do not "get" them in the sense they query the firmware, that is done only at start of acpi_spmc_get_constraints(), they just interpret/parse the result, building our own internal structures.

Ah no you are totally right. We are passing the object. I have no idea why I thought this function was the one getting the object too.

This revision is now accepted and ready to land.Mon, May 11, 11:27 AM

(Context impacts, no real changes.)

This revision now requires review to proceed.Tue, May 12, 1:29 PM
This revision is now accepted and ready to land.Tue, May 12, 2:05 PM