Thread (30 messages) 30 messages, 5 authors, 2021-07-08

Re: [dpdk-dev] [PATCH v2 2/2] power: refactor pstate and acpi code

From: David Hunt <hidden>
Date: 2021-06-22 13:00:35

On 22/6/2021 1:43 PM, David Hunt wrote:
From: Anatoly Burakov <redacted>

Currently, ACPI and PSTATE modes have lots of code duplication,
confusing logic, and a bunch of other issues that can, and have, led to
various bugs and resource leaks.

This commit factors out the common parts of sysfs reading/writing for
ACPI and PSTATE drivers.

Signed-off-by: Anatoly Burakov <redacted>
Signed-off-by: David Hunt <redacted>

---
changes in v2
* fixed bugs raised by Richael Zhuang in review - open file rw+, etc.
* removed FOPS* and FOPEN* macros, which contained control statements.
* fixed some checkpatch warnings.



Please ignore, should have been sent as v5.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help