diff options
author | Qianqiang Liu <[email protected]> | 2024-09-11 07:39:24 +0800 |
---|---|---|
committer | Mario Limonciello <[email protected]> | 2024-09-11 10:53:03 -0500 |
commit | 93497752dfed196b41d2804503e80b9a04318adb (patch) | |
tree | eae4fc9fcf75995f666862ff4dc2418cfa1727e3 /mm/page_alloc.c | |
parent | 3e39e68dfbb6d4fe8c1943003d2f2a6f3255c902 (diff) |
cpufreq/amd-pstate-ut: Fix an "Uninitialized variables" issue
Using uninitialized value "mode2" when calling "amd_pstate_get_mode_string".
Set "mode2" to "AMD_PSTATE_DISABLE" by default.
Signed-off-by: Qianqiang Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Mario Limonciello <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions