diff options
| author | Mario Limonciello (AMD) <superm1@kernel.org> | 2025-10-09 11:17:53 -0500 |
|---|---|---|
| committer | Mario Limonciello (AMD) <superm1@kernel.org> | 2025-11-10 23:35:20 -0600 |
| commit | baf106f3a7ba8bf317e1f9d32ee88955723cbc71 (patch) | |
| tree | 065d1bd61563f961dd7a9854934bc3c0560243a6 /tools/docs/parse-headers.py | |
| parent | 06791bc017ea0793dae71553163c9107e91c415b (diff) | |
cpufreq/amd-pstate: Make amd_pstate_get_mode_string() never return NULL
amd_pstate_get_mode_string() is only used by amd-pstate-ut. Set the
failure path to use AMD_PSTATE_UNDEFINED ("undefined") to avoid showing
"(null)" as a string when running test suite.
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions
