diff options
| author | Mario Limonciello <[email protected]> | 2024-12-18 19:09:51 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2024-12-20 16:12:07 +0000 |
| commit | 3f2eb7606eee37aea630c4b7aa42497bc36ca157 (patch) | |
| tree | 00a7009a93df403190dc40d8edffe1ef99013388 /net/unix/unix_bpf.c | |
| parent | cpupower: Remove spurious return statement (diff) | |
| download | kernel-3f2eb7606eee37aea630c4b7aa42497bc36ca157.tar.gz kernel-3f2eb7606eee37aea630c4b7aa42497bc36ca157.zip | |
cpupower: Add support for parsing 'enabled' or 'disabled' strings from table
When cpufreq_get_sysfs_value_from_table() is passed a table with
kernel strings that report 'enabled' or 'disabled' it always returns 0
because these can't cleanly convert to integers.
Explicitly look for enabled or disabled strings from the kernel to handle
this.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
